View previous topic :: View next topic |
Author |
Message |
feiticeir0 Apprentice
Joined: 13 Jul 2005 Posts: 288 Location: Castelo Branco, Portugal
|
Posted: Tue Nov 10, 2009 11:56 pm Post subject: OpenOffice 3.1.1 won't compile [ SOLVED ] |
|
|
Hi !
I'm having a problem compiling OpenOffice-3.1.1...
I've tried 3 times, done a revdep-rebuild and update my system with --newuse --update --deep and still i can't get it compiled...
I've changed the CFLAGS and MAKEOPTS to -j1 and still no luck...
here is part of my error:
Code: |
Compiling: ucb/source/ucp/ftp/ftpinpstr.cxx
/home/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/ucb/source/ucp/ftp/ftpinpstr.cxx: In member function 'virtual sal_Int32 ftp::FTPInputStream::readBytes(com::sun::star::uno::Sequence<signed char>&, sal_Int32)':
/home/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/ucb/source/ucp/ftp/ftpinpstr.cxx:122: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
Compiling: ucb/source/ucp/ftp/ftpdirp.cxx
Compiling: ucb/source/ucp/ftp/ftpcfunc.cxx
Compiling: ucb/source/ucp/ftp/ftpurl.cxx
Compiling: ucb/source/ucp/ftp/ftpintreq.cxx
Making: _ucpftp.lib
Making: libucpftp1.so
: ERROR: /usr/lib/libcurl.so.4: undefined symbol: clock_gettime
dmake: Error code 1, while making '../../../unxlngx6.pro/lib/libucpftp1.so'
ERROR: Error 65280 occurred while making /home/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/ucb/source/ucp/ftp
rmdir /tmp/4123
make: *** [stamp/build] Error 1
|
Here is my emerge --info
Code: |
emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4000+-with-gentoo-1.12.13
Timestamp of tree: Tue, 10 Nov 2009 11:45:01 +0000
app-shells/bash: 4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python: 2.6.2-r1
sys-apps/baselayout: 1.12.13
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8-sse3 -mtune=native -O2 -pipe -msse4.1 -fopenmp"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://cesium.di.uminho.pt/pub/gentoo/ ftp://cesium.di.uminho.pt/pub/gentoo/ http://ftp.dei.uc.pt/pub/linux/gentoo/ ftp://ftp.dei.uc.pt/pub/linux/gentoo/ "
LANG="en_US.UTF-8"
LC_ALL="pt_PT.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/x11 /usr/local/portage/layman/sunrise /usr/local/portage/layman/zen-sources /usr/local/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/x11 /usr/local/portage/layman/sunrise /usr/local/portage/layman/zen-sources /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 apm berkdb bluetooth branding bzip2 cairo cdparanoia cdr cli consolekit cracklib crypt css cups dbus dts dvd dvdr eds emboss encode evo fam ffmpeg firefox flac fortran fuse gdbm gif gimp gpm gstreamer gtk hal iconv ieee1394 imagemagick ipod java java6 jpeg lame ldap libnotify lm_sensors lock mad matroska mikmod mmx mmxext mng modules mono mp3 mp4 mpeg mplayer mudflap multilib mysql mysqli ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pda pdf perl png posix ppds pppd python qt3support quicktime rdesktop readline reflection rss samba scanner sdl session smp spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads thunar tidy tiff truetype unicode usb v4l v4l2 vnc vorbis x264 xcomposite xft xine xinerama xml xorg xpm xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" NETBEANS_MODULES="apisupport harness ide java nb websvccommon ergonomics groovy identity mobility php webcommon profiler cnd dlight enterprise" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
Any ideas ?
Cheers,
Bruno Santos _________________ Do It With Rhythm
Last edited by feiticeir0 on Thu Nov 19, 2009 11:12 pm; edited 1 time in total |
|
Back to top |
|
|
potatoface Guru
Joined: 18 Feb 2004 Posts: 542 Location: ::7F00:1
|
Posted: Wed Nov 11, 2009 12:44 am Post subject: |
|
|
you could try to remerge curl
regards,
potatoface _________________ The generation of random numbers is too important to be left to chance.
Adopt an unanswered post. |
|
Back to top |
|
|
feiticeir0 Apprentice
Joined: 13 Jul 2005 Posts: 288 Location: Castelo Branco, Portugal
|
Posted: Wed Nov 11, 2009 3:38 pm Post subject: |
|
|
Hi !
I've tried, but didn't work....
Here is a small part of the build.log
Code: |
Entering /home/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/writerperfect/util
Compiling: writerperfect/unxlngx6/misc/wpft_dflt_version.c
Compiling: writerperfect/unxlngx6/misc/msworks_dflt_version.c
Compiling: writerperfect/unxlngx6/misc/wpgimport_dflt_version.c
Making: wpft.lib
Making: msworks.lib
Making: wpgimport.lib
Making: libwpftlx.so
Making: libmsworkslx.so
Making: libwpgimportlx.so
Module 'writerperfect' delivered successfully. 4 files copied, 1 files unchanged
1 module(s):
ucb
need(s) to be rebuilt
Reason(s):
ERROR: error 65280 occurred while making /home/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/ucb/source/ucp/ftp
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from ucb"
rmdir /tmp/7001
make: *** [stamp/build] Error 1
|
Here are the parts that match ucp/ftp
Code: |
idlc: compile 'FTPContent.idl' ...
idlc: compile 'FTPContentProvider.idl' ...
idlc: compile 'FTPContent.idl' ...
idlc: compile 'FTPContentProvider.idl' ...
adding: ftpconnected.gif (stored 0%)
adding: ftpconnecting.gif (deflated 3%)
adding: ftperror.gif (stored 0%)
adding: ftpunknown.gif (deflated 11%)
Making: java dependencies for ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/AbstractErrorHandler.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/BackgroundsDialog.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/CallWizard.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/ErrorHandler.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/ExtensionVerifier.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/FTPDialog.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/FTPDialogResources.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/IconsDialog.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/ImageListDialog.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/LogTaskListener.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/Process.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/ProcessErrorHandler.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/ProcessErrors.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/ProcessStatusRenderer.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/StatusDialog.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/StylePreview.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/TOCPreview.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/WebWizard.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/WebWizardConst.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/WebWizardDialog.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/WebWizardDialogResources.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/WWD_Events.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/WWD_General.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/WWD_Startup.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/WWHID.class
Making: java dependencies for ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/AbstractErrorHandler.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/BackgroundsDialog.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/CallWizard.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/ErrorHandler.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/ExtensionVerifier.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/FTPDialog.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/FTPDialogResources.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/IconsDialog.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/ImageListDialog.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/LogTaskListener.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/Process.class ../../../../../unxlngx6.pro/class/com/sun/star/wizards/web/ProcessErrorHandler.class ../../../../../unxlngx6.pro/crebuilding zipfiles
adding: com/sun/star/wizards/web/FTPDialogResources.class (deflated 48%)
adding: com/sun/star/wizards/web/FTPDialog.class (deflated 54%)
Entering /home/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/ucb/source/ucp/ftp
Compiling: ucb/unxlngx6/misc/ucpftp1_version.c
Compiling: ucb/source/ucp/ftp/ftpservices.cxx
Compiling: ucb/source/ucp/ftp/ftpcontentprovider.cxx
Compiling: ucb/source/ucp/ftp/ftpcontent.cxx
Compiling: ucb/source/ucp/ftp/ftpcontentidentifier.cxx
Compiling: ucb/source/ucp/ftp/ftpcontentcaps.cxx
Compiling: ucb/source/ucp/ftp/ftpdynresultset.cxx
Compiling: ucb/source/ucp/ftp/ftpresultsetbase.cxx
Compiling: ucb/source/ucp/ftp/ftpresultsetI.cxx
Compiling: ucb/source/ucp/ftp/ftploaderthread.cxx
Compiling: ucb/source/ucp/ftp/ftpinpstr.cxx
/home/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/ucb/source/ucp/ftp/ftpinpstr.cxx: In member function 'virtual sal_Int32 ftp::FTPInputStream::readBytes(com::sun::star::uno::Sequence<signed char>&, sal_Int32)':
/home/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/ucb/source/ucp/ftp/ftpinpstr.cxx:122: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
Compiling: ucb/source/ucp/ftp/ftpdirp.cxx
Compiling: ucb/source/ucp/ftp/ftpcfunc.cxx
Compiling: ucb/source/ucp/ftp/ftpurl.cxx
Compiling: ucb/source/ucp/ftp/ftpintreq.cxx
Making: _ucpftp.lib
Making: libucpftp1.so
dmake: Error code 1, while making '../../../unxlngx6.pro/lib/libucpftp1.so'
AppletProps.java:40: warning: sun.net.ftp.FtpClient is Sun proprietary API and may be removed in a future release
import sun.net.ftp.FtpClient;
ERROR: error 65280 occurred while making /home/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/ucb/source/ucp/ftp
|
And my Java-config-2
Code: |
The following VMs are available for generation-2:
*) Sun JDK 1.6.0.17 [sun-jdk-1.6]
|
I really don't know what to do...
Help ? _________________ Do It With Rhythm |
|
Back to top |
|
|
Ahenobarbi Retired Dev
Joined: 02 Apr 2009 Posts: 345 Location: Warsaw, PL
|
|
Back to top |
|
|
feiticeir0 Apprentice
Joined: 13 Jul 2005 Posts: 288 Location: Castelo Branco, Portugal
|
Posted: Wed Nov 11, 2009 6:58 pm Post subject: |
|
|
Nopes ! I have fluxbox installed !
Thx anyway !! _________________ Do It With Rhythm |
|
Back to top |
|
|
feiticeir0 Apprentice
Joined: 13 Jul 2005 Posts: 288 Location: Castelo Branco, Portugal
|
Posted: Thu Nov 12, 2009 12:15 pm Post subject: |
|
|
Well, i've done a emerge --deep world and after an revdep-rebuild and after that a emerge -av openoffice and still no luck...
The error is the same:
Code: |
Compiling: ucb/source/ucp/file/filrec.cxx
/home/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/ucb/source/ucp/file/filrec.cxx: In member function 'osl::FileBase::RC fileaccess::ReconnectingFile::open(sal_uInt32)':
/home/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/ucb/source/ucp/file/filrec.cxx:67: warning: suggest parentheses around arithmetic in operand of |
Making: ucpfile.lib
Making: _ucpfile.lib
Making: libucpfile1.so
Entering /home/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/ucb/source/ucp/ftp
Compiling: ucb/unxlngx6/misc/ucpftp1_version.c
Compiling: ucb/source/ucp/ftp/ftpservices.cxx
Compiling: ucb/source/ucp/ftp/ftpcontentprovider.cxx
Compiling: ucb/source/ucp/ftp/ftpcontent.cxx
Compiling: ucb/source/ucp/ftp/ftpcontentidentifier.cxx
Compiling: ucb/source/ucp/ftp/ftpcontentcaps.cxx
Compiling: ucb/source/ucp/ftp/ftpdynresultset.cxx
Compiling: ucb/source/ucp/ftp/ftpresultsetbase.cxx
Compiling: ucb/source/ucp/ftp/ftpresultsetI.cxx
Compiling: ucb/source/ucp/ftp/ftploaderthread.cxx
Compiling: ucb/source/ucp/ftp/ftpinpstr.cxx
/home/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/ucb/source/ucp/ftp/ftpinpstr.cxx: In member function 'virtual sal_Int32 ftp::FTPInputStream::readBytes(com::sun::star::uno::Sequence<signed char>&, sal_Int32)':
/home/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/ucb/source/ucp/ftp/ftpinpstr.cxx:122: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
Compiling: ucb/source/ucp/ftp/ftpdirp.cxx
Compiling: ucb/source/ucp/ftp/ftpcfunc.cxx
Compiling: ucb/source/ucp/ftp/ftpurl.cxx
Compiling: ucb/source/ucp/ftp/ftpintreq.cxx
Making: _ucpftp.lib
Making: libucpftp1.so
: ERROR: /usr/lib/libcurl.so.4: undefined symbol: clock_gettime
dmake: Error code 1, while making '../../../unxlngx6.pro/lib/libucpftp1.so'
ERROR: Error 65280 occurred while making /home/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/ucb/source/ucp/ftp
rmdir /tmp/29608
make: *** [stamp/build] Error 1
*
* ERROR: app-office/openoffice-3.1.1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 5325: Called die
* The specific snippet of code:
* make || die "Build failed"
* The die message:
* Build failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/home/portage/app-office/openoffice-3.1.1/temp/build.log'.
* The ebuild environment file is located at '/home/portage/app-office/openoffice-3.1.1/temp/environment'.
|
No one has a clue what it could be ?
Java ?
Cheers _________________ Do It With Rhythm |
|
Back to top |
|
|
Ahenobarbi Retired Dev
Joined: 02 Apr 2009 Posts: 345 Location: Warsaw, PL
|
Posted: Thu Nov 12, 2009 4:58 pm Post subject: Re: OpenOffice 3.1.1 won't compile |
|
|
I don't think that causes your problem but CFLAGS and CXXFLAGS you use look strange:
feiticeir0 wrote: |
Code: |
CFLAGS="-march=k8-sse3 -mtune=native -O2 -pipe -msse4.1 -fopenmp"
CXXFLAGS="-O2 -pipe"
|
|
And chceck if you don't run out of diskspace/ indodes/ whatever that make it impossible to generate more files ( happend to me when I was bulding Open Office, I don't remeber if error was similar). |
|
Back to top |
|
|
feiticeir0 Apprentice
Joined: 13 Jul 2005 Posts: 288 Location: Castelo Branco, Portugal
|
Posted: Thu Nov 12, 2009 9:19 pm Post subject: |
|
|
Hi !
Thx for the call..
my CFLAGS you pointed out are my usual, but since OpenOffice is so picky about them, i've reduced just to -march=k8-sse3 when compiling it !
With your post it came to my attention that probably when copying and reducing the CFLAGS i accidentally remove my CXXFLAGS....
I've added now and at this moment OpenOffice is compiling... let's just wait and see
About the CFLAGS
-march=k8-sse3 is for my processor : AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ with sse3
-march=native : is for optimizations and for gcc above 4.3.3 (or something like that)
-02 : optimizations
-msse4.1 : is a typo... my processor doesn't support it
-fopenmp : i've read is for the applications that support it, for dual processing
probably isn't all right, but i've read it in gentoo wiki and some posts around the forum...
Cheers and thx for pointing out my mistake !!
OpenOffice is now compiling, let's just wait and see... _________________ Do It With Rhythm |
|
Back to top |
|
|
feiticeir0 Apprentice
Joined: 13 Jul 2005 Posts: 288 Location: Castelo Branco, Portugal
|
Posted: Thu Nov 19, 2009 11:11 pm Post subject: |
|
|
Didn't work...
But i've managed to compile openoffice.org using a small workaround such as export LDFLAGS=" -lrt " && emerge -av openoffice.org
Cheers,
Bruno Santos _________________ Do It With Rhythm |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|