Author Topic: Gentoo Install: libtool Error::cannot install `libastyle.la'  (Read 4029 times)

Dark_Ebola

  • Guest
Gentoo Install: libtool Error::cannot install `libastyle.la'
« on: January 01, 2006, 08:08:14 am »
i'm trying to emerge codeblocks-1.0_rc2 with the ebuld posted on the forums (+patch)

compiling goes fine ... but the installs fails ::

Code
libtool: install: error: cannot install `libastyle.la' to a directory not ending in /usr/share/codeblocks/plugins
make[5]: *** [install-libLTLIBRARIES] Error 1

as you can guess; i'm running gentoo x86_64 .

i don't really understand what happens (i don't really understand the whole portage thing)

so ... if someone got an idea ... i'd like to try codeblocks ... (fed up with anjuta  :()

note: i did a search and someone already posted for that but it hasn't been answered and was posted in : http://forums.codeblocks.org/index.php?topic=810.0
don't really know if it's more codeblocks related than portage related ...

note2: i'm going crazy with that forum showing me error 406 if i paste more of the error message !
« Last Edit: January 01, 2006, 08:17:13 am by Dark_Ebola »

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Gentoo Install: libtool Error::cannot install `libastyle.la'
« Reply #1 on: January 01, 2006, 10:21:04 am »
The binaries have already been built for a different prefix (specifically /usr). You need to run make clean-bins and then make again.
Be patient!
This bug will be fixed soon...

Dark_Ebola

  • Guest
Re: Gentoo Install: libtool Error::cannot install `libastyle.la'
« Reply #2 on: January 01, 2006, 11:37:21 am »
i added make clean-bin to the ebuild (before the emake...)

i now see that: (which correspond to the clean-bin rule in the Makefile.am)

Code
find . -name "*.la" | xargs rm -f
rm -f src/src/codeblocks

before the begining of the make, so i suppose it should be good.
the ebuild install still fails with the same error.

i tried a manual compile/install, it worked nicely ...
the gentoo ebuild is bugged i think...

thanks for your help :)