[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: Problem building 1.5 branch on FreeBSD 6.1/amd64
From:       "Aron Stansvik" <elvstone () gmail ! com>
Date:       2006-04-10 21:18:55
Message-ID: 751a4f870604101418n23606d67r48e13a05c8ff8c43 () mail ! gmail ! com
[Download RAW message or body]

On 4/4/06, Aron Stansvik <elvstone@gmail.com> wrote:
> Hello KOffice users!
>
> This is my first mail to the list. I've just finished setting up my
> new computer, a beefy Opteron, and I thought I'd give the 1.5 branch a
> spin before the release. I'm having trouble building it though. The
> system is running FreeBSD 6.1-PRERELEASE/amd64 with KDE 3.5.2
> installed from ports (KOffice 1.4.2 _not_ installed). Below is a
> transcript of the commands I ran to checkout and build the 1.5 branch,
> as well as the 'gmake' output. I'm also attaching my config.log.
>
> $ svn co svn://anonsvn.kde.org/home/kde/branches/koffice/1.5/koffice
> koffice
> $ cd koffice
> $ gmake -f Makefile.cvs
> $ ./configure --prefix=/usr/home/elvis/.inst
> --with-extra-includes=/usr/local/include
> --with-extra-libs=/usr/local/lib
> $ gmake
> gmake  all-recursive
> gmake[1]: Entering directory `/usr/home/elvis/Nedladdat/koffice'
> Making all in lib
> gmake[2]: Entering directory `/usr/home/elvis/Nedladdat/koffice/lib'
> Making all in store
> gmake[3]: Entering directory `/usr/home/elvis/Nedladdat/koffice/lib/store'
> Making all in .
> gmake[4]: Entering directory `/usr/home/elvis/Nedladdat/koffice/lib/store'
> if /usr/local/bin/bash ../../libtool --silent --tag=CXX --mode=compile
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/kofficecore
> -I../../lib/kofficecore -I/usr/local/include -I/usr/X11R6/include
> -I/usr/local/include  -DQT_THREAD_SUPPORT  -D_THREAD_SAFE
> -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF  -MT KoStore.lo -MD -MP -MF
> ".deps/KoStore.Tpo" -c -o KoStore.lo KoStore.cpp; \
> then mv -f ".deps/KoStore.Tpo" ".deps/KoStore.Plo"; else rm -f
> ".deps/KoStore.Tpo"; exit 1; fi
> if /usr/local/bin/bash ../../libtool --silent --tag=CXX --mode=compile
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/kofficecore
> -I../../lib/kofficecore -I/usr/local/include -I/usr/X11R6/include
> -I/usr/local/include  -DQT_THREAD_SUPPORT  -D_THREAD_SAFE
> -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF  -MT KoTarStore.lo -MD -MP -MF
> ".deps/KoTarStore.Tpo" -c -o KoTarStore.lo KoTarStore.cpp; \
> then mv -f ".deps/KoTarStore.Tpo" ".deps/KoTarStore.Plo"; else rm -f
> ".deps/KoTarStore.Tpo"; exit 1; fi
> if /usr/local/bin/bash ../../libtool --silent --tag=CXX --mode=compile
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/kofficecore
> -I../../lib/kofficecore -I/usr/local/include -I/usr/X11R6/include
> -I/usr/local/include  -DQT_THREAD_SUPPORT  -D_THREAD_SAFE
> -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF  -MT KoDirectoryStore.lo -MD -MP
> -MF ".deps/KoDirectoryStore.Tpo" -c -o KoDirectoryStore.lo
> KoDirectoryStore.cpp; \
> then mv -f ".deps/KoDirectoryStore.Tpo" ".deps/KoDirectoryStore.Plo";
> else rm -f ".deps/KoDirectoryStore.Tpo"; exit 1; fi
> if /usr/local/bin/bash ../../libtool --silent --tag=CXX --mode=compile
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/kofficecore
> -I../../lib/kofficecore -I/usr/local/include -I/usr/X11R6/include
> -I/usr/local/include  -DQT_THREAD_SUPPORT  -D_THREAD_SAFE
> -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF  -MT KoZipStore.lo -MD -MP -MF
> ".deps/KoZipStore.Tpo" -c -o KoZipStore.lo KoZipStore.cpp; \
> then mv -f ".deps/KoZipStore.Tpo" ".deps/KoZipStore.Plo"; else rm -f
> ".deps/KoZipStore.Tpo"; exit 1; fi
> if /usr/local/bin/bash ../../libtool --silent --tag=CXX --mode=compile
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/kofficecore
> -I../../lib/kofficecore -I/usr/local/include -I/usr/X11R6/include
> -I/usr/local/include  -DQT_THREAD_SUPPORT  -D_THREAD_SAFE
> -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF  -MT KoStoreDrag.lo -MD -MP -MF
> ".deps/KoStoreDrag.Tpo" -c -o KoStoreDrag.lo KoStoreDrag.cpp; \
> then mv -f ".deps/KoStoreDrag.Tpo" ".deps/KoStoreDrag.Plo"; else rm -f
> ".deps/KoStoreDrag.Tpo"; exit 1; fi
> if /usr/local/bin/bash ../../libtool --silent --tag=CXX --mode=compile
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/kofficecore
> -I../../lib/kofficecore -I/usr/local/include -I/usr/X11R6/include
> -I/usr/local/include  -DQT_THREAD_SUPPORT  -D_THREAD_SAFE
> -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF  -MT KoStoreBase.lo -MD -MP -MF
> ".deps/KoStoreBase.Tpo" -c -o KoStoreBase.lo KoStoreBase.cpp; \
> then mv -f ".deps/KoStoreBase.Tpo" ".deps/KoStoreBase.Plo"; else rm -f
> ".deps/KoStoreBase.Tpo"; exit 1; fi
> if /usr/local/bin/bash ../../libtool --silent --tag=CXX --mode=compile
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/kofficecore
> -I../../lib/kofficecore -I/usr/local/include -I/usr/X11R6/include
> -I/usr/local/include  -DQT_THREAD_SUPPORT  -D_THREAD_SAFE
> -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF  -MT KoXmlWriter.lo -MD -MP -MF
> ".deps/KoXmlWriter.Tpo" -c -o KoXmlWriter.lo KoXmlWriter.cpp; \
> then mv -f ".deps/KoXmlWriter.Tpo" ".deps/KoXmlWriter.Plo"; else rm -f
> ".deps/KoXmlWriter.Tpo"; exit 1; fi
> /usr/local/bin/bash ../../libtool --silent --tag=CXX --mode=link g++
> -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF    -o libkstore.la -rpath
> /usr/home/elvis/.inst/lib -L/usr/local/lib -L/usr/X11R6/lib
> -L/usr/local/lib -version-info 3:0:0 -L/usr/local/lib -no-undefined
> KoStore.lo KoTarStore.lo KoDirectoryStore.lo KoZipStore.lo
> KoStoreDrag.lo KoStoreBase.lo KoXmlWriter.lo -lkio
> libtool: link: cannot find the library `'
> gmake[4]: *** [libkstore.la] Error 1
> gmake[4]: Leaving directory `/usr/home/elvis/Nedladdat/koffice/lib/store'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/usr/home/elvis/Nedladdat/koffice/lib/store'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/usr/home/elvis/Nedladdat/koffice/lib'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/home/elvis/Nedladdat/koffice'
> gmake: *** [all] Error 2
>
> You see the "libtool: link: cannot find the library `'" is very
> mysterious. Googling I came up with another fellow back in '04 who had
> the same problem building koffice-1.3.1 on FreeBSD 4.10 [1]. I also
> found a guy who had a similar problem when trying to build Subversion
> [2], and he was advised to replace the ltmain.sh in the tree with a
> newer one from /usr/share/libtool. I tried the same approach, and the
> build was successful, but got my self a different problem during the
> 'gmake install' step:
>
> $ svn co svn://anonsvn.kde.org/home/kde/branches/koffice/1.5/koffice
> koffice
> $ cd koffice
> $ cp /usr/local/share/libtool/ltmain.sh admin/
> $ gmake -f Makefile.cvs
> $ ./configure --prefix=/usr/home/elvis/.inst
> --with-extra-includes=/usr/local/include
> --with-extra-libs=/usr/local/lib
> $ gmake
> $ su
> # gmake install
> Making install in lib
> gmake[1]: Entering directory `/usr/home/elvis/Nedladdat/koffice/lib'
> Making install in store
> gmake[2]: Entering directory `/usr/home/elvis/Nedladdat/koffice/lib/store'
> Making install in .
> gmake[3]: Entering directory `/usr/home/elvis/Nedladdat/koffice/lib/store'
> gmake[4]: Entering directory `/usr/home/elvis/Nedladdat/koffice/lib/store'
> test -z "/usr/home/elvis/.inst/lib" || /usr/local/bin/bash
> ../../admin/mkinstalldirs "/usr/home/elvis/.inst/lib"
> mkdir /usr/home/elvis/.inst/lib
>  /usr/local/bin/bash ../../libtool --silent --mode=install
> /usr/bin/install -c -p  'libkstore.la'
> '/usr/home/elvis/.it/lib/libkstore.la'
> test -z "/usr/home/elvis/.inst/include" || /usr/local/bin/bash
> ../../admin/mkinstalldirs "/usr/home/elvis/.inst/inclu"
> mkdir /usr/home/elvis/.inst/include
>  /usr/bin/install -c -p -m 644 'KoStore.h'
> '/usr/home/elvis/.inst/include/KoStore.h'
>  /usr/bin/install -c -p -m 644 'KoStoreDevice.h'
> '/usr/home/elvis/.inst/include/KoStoreDevice.h'
>  /usr/bin/install -c -p -m 644 'KoXmlWriter.h'
> '/usr/home/elvis/.inst/include/KoXmlWriter.h'
> gmake[4]: Leaving directory `/usr/home/elvis/Nedladdat/koffice/lib/store'
> gmake[3]: Leaving directory `/usr/home/elvis/Nedladdat/koffice/lib/store'
> Making install in tests
> gmake[3]: Entering directory
> `/usr/home/elvis/Nedladdat/koffice/lib/store/tests'
> gmake[4]: Entering directory
> `/usr/home/elvis/Nedladdat/koffice/lib/store/tests'
> gmake[4]: Nothing to be done for `install-exec-am'.
> gmake[4]: Nothing to be done for `install-data-am'.
> gmake[4]: Leaving directory
> `/usr/home/elvis/Nedladdat/koffice/lib/store/tests'
> gmake[3]: Leaving directory
> `/usr/home/elvis/Nedladdat/koffice/lib/store/tests'
> gmake[2]: Leaving directory `/usr/home/elvis/Nedladdat/koffice/lib/store'
> Making install in kwmf
> gmake[2]: Entering directory `/usr/home/elvis/Nedladdat/koffice/lib/kwmf'
> gmake[3]: Entering directory `/usr/home/elvis/Nedladdat/koffice/lib/kwmf'
> test -z "/usr/home/elvis/.inst/lib" || /usr/local/bin/bash
> ../../admin/mkinstalldirs "/usr/home/elvis/.inst/lib"
>  /usr/local/bin/bash ../../libtool --silent --mode=install
> /usr/bin/install -c -p  'libkwmf.la'
> '/usr/home/elvis/.inslib/libkwmf.la'
>  /usr/local/bin/bash ../../libtool --silent --mode=install
> /usr/bin/install -c -p  'libkowmf.la'
> '/usr/home/elvis/.in/lib/libkowmf.la'
> gmake[3]: Nothing to be done for `install-data-am'.
> gmake[3]: Leaving directory `/usr/home/elvis/Nedladdat/koffice/lib/kwmf'
> gmake[2]: Leaving directory `/usr/home/elvis/Nedladdat/koffice/lib/kwmf'
> Making install in kofficecore
> gmake[2]: Entering directory
> `/usr/home/elvis/Nedladdat/koffice/lib/kofficecore'
> Making install in .
> gmake[3]: Entering directory
> `/usr/home/elvis/Nedladdat/koffice/lib/kofficecore'
> gmake[4]: Entering directory
> `/usr/home/elvis/Nedladdat/koffice/lib/kofficecore'
> test -z "/usr/home/elvis/.inst/lib" || /usr/local/bin/bash
> ../../admin/mkinstalldirs "/usr/home/elvis/.inst/lib"
>  /usr/local/bin/bash ../../libtool --silent --mode=install
> /usr/bin/install -c -p  'libkofficecore.la'
> '/usr/home/elv/.inst/lib/libkofficecore.la'
> libtool: install: warning: relinking `libkofficecore.la'
> /usr/bin/ld: cannot find -lkstore
> libtool: install: error: relink `libkofficecore.la' with the above
> command before installing it
> gmake[4]: *** [install-libLTLIBRARIES] Error 1
> gmake[4]: Leaving directory
> `/usr/home/elvis/Nedladdat/koffice/lib/kofficecore'
> gmake[3]: *** [install-am] Error 2
> gmake[3]: Leaving directory
> `/usr/home/elvis/Nedladdat/koffice/lib/kofficecore'
> gmake[2]: *** [install-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/home/elvis/Nedladdat/koffice/lib/kofficecore'
> gmake[1]: *** [install-recursive] Error 1
> gmake[1]: Leaving directory `/usr/home/elvis/Nedladdat/koffice/lib'
> gmake: *** [install-recursive] Error 1
>
> This relinking is unwanted, right? I don't know why it happens :(
>
> Any thoughts and help on this would be greatly appriciated. I know
> 1.5.0 is right around the corner, but I'd really like to get to the
> bottom of this. In addition to config.log, I've also attached two
> files that shows the environment I'm running these commands in. One of
> them showing the environment for the regular user I'm using to build,
> and the other for the environment of the root user running the 'gmake
> install' command.
>
> Thanks in advance.
>
> Best regards,
> Aron Stansvik

Noone has any idea what this might be? :/

Desperate regards,
Aron
____________________________________
koffice mailing list
koffice@kde.org
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic