[kde-linux] Force libtool to search alternate directory during kdevelop compile?

Rod Butcher rbutcher at hyenainternet.com
Thu Mar 15 03:16:45 UTC 2007


On Wed, 2007-03-14 at 13:39 -0600, Martin.Fuhrer at cggveritas.com wrote:
> Hi all,
> 
> I'm trying to use konstruct (latest stable version, KDE 3.5.6) to build
> kdevelop 3.4.0 in my home directory on a Red Hat Enterprise Linux 4
> workstation.  Compilation and installation of all dependencies works fine,
> but while kdevelop itself is being built, libtool complains about not being
> able to find /lib64/libacl.la.  On my workstation, this library is
> installed in /usr/lib64/libacl.la
My understanding is that libacl is a system library and hence ought to
reside in /lib/lib64, hence libacl.la should also reside there. You can
just copy them to /lib64 and edit /lib64/libacl.la to point to /lib64,
or just create links in /lib64 pointing to /usr/lib64.
cheers
Rod
cheers
Rod
> 
> I have tried editing the konstruct Makefile in the kdevelop directory,
> adding "--with-extra-libs=/usr/lib64" to CONFIGURE_ARGS and rebuilding, but
> to no avail.  How can I force libtool to recognize that libacl.la is in
> /usr/lib64?  I have added the console output below, and am happy to provide
> any additional info.  Thanks!
> 
> Martin
> 
> 
> % make
> [===== NOW BUILDING:     kdevelop-3.4.0 =====]
>         [fetch] complete for kdevelop.
>         [checksum] complete for kdevelop.
>         [extract] complete for kdevelop.
>         [patch] complete for kdevelop.
>  ==> Building kde/kdelibs as a dependency
>  ==> Building misc/graphviz as a dependency
>         [configure] complete for kdevelop.
>  ==> Running make in work/kdevelop-3.4.0
> make[1]: Entering directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0'
> make  all-recursive
> make[2]: Entering directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0'
> Making all in lib
> make[3]: Entering directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib'
> Making all in util
> make[4]: Entering directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib/util'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib/util'
> Making all in interfaces
> make[4]: Entering directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib/interfaces'
> Making all in extensions
> make[5]: Entering directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib/interfaces/extensions'
> Making all in dcop
> make[6]: Entering directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib/interfaces/extensions/dcop'
> make[6]: Nothing to be done for `all'.
> make[6]: Leaving directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib/interfaces/extensions/dcop'
> make[6]: Entering directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib/interfaces/extensions'
> make[6]: Nothing to be done for `all-am'.
> make[6]: Leaving directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib/interfaces/extensions'
> make[5]: Leaving directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib/interfaces/extensions'
> Making all in external
> make[5]: Entering directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib/interfaces/external'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib/interfaces/external'
> Making all in extras
> make[5]: Entering directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib/interfaces/extras'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib/interfaces/extras'
> make[5]: Entering directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib/interfaces'
> /bin/sh ../../libtool --silent --tag=CXX --mode=link g++  -Wno-long-long
> -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> -Wchar-subscripts -Wall -W -Wpointer-arith -O2
> -I/home/mfuhrer/sw/linux/opt/kde3.5.6/include -I/usr/X11R6/include
> -L/home/mfuhrer/sw/linux/opt/kde3.5.6/lib64 -L/usr/X11R6/lib64 -m64 -fPIC
> -O2 -pipe -Wformat-security -Wmissing-format-attribute
> -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   -L/home/mfuhrer/sw/linux/opt/kde3.5.6/lib64
> -L/usr/X11R6/lib64 -o libkdevinterfaces.la  -no-undefined
> -Wl,--no-undefined -Wl,--allow-shlib-undefined
> -L/home/mfuhrer/sw/linux/opt/kde3.5.6/lib64 -L/usr/X11R6/lib64
> kdevcore.lo kdevproject.lo kdevlanguagesupport.lo kdevpartcontroller.lo
> kdevapi.lo kdevmainwindow.lo kdevplugin.lo kdevcoderepository.lo
> codemodel.lo codemodel_treeparser.lo codemodel_utils.lo
> kdevdesignerintegration.lo kdevplugincontroller.lo kdevplugininfo.lo
> KDevCoreIface.lo KDevPartControllerIface.lo katedocumentmanagerinterface.lo
> kdevprojectiface.lo kdevdesignerintegrationiface.lo hashedstring.lo
> KDevCoreIface_skel.lo KDevPartControllerIface_skel.lo
> katedocumentmanagerinterface_skel.lo kdevprojectiface_skel.lo
> kdevdesignerintegrationiface_skel.lo
> ../../lib/interfaces/external/libkinterfacedesigner.la
> ../../lib/util/libkdevutil.la -lkdeui -lkhtml -lkparts -lktexteditor
> -lkscript
> grep: /lib64/libacl.la: No such file or directory
> /bin/sed: can't read /lib64/libacl.la: No such file or directory
> libtool: link: `/lib64/libacl.la' is not a valid libtool archive
> make[5]: *** [libkdevinterfaces.la] Error 1
> make[5]: Leaving directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib/interfaces'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib/interfaces'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0
> /lib'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/mnt/io/home/mfuhrer/sw/src/konstruct/apps/development/kdevelop/work/kdevelop-3.4.0'
> make: *** [build-work/kdevelop-3.4.0/Makefile] Error 2
> 
> 
> ___________________________________________________
> This message is from the kde-linux mailing list.
> Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.




More information about the kde-linux mailing list