User forums > Using Code::Blocks

Gentoo Install: libtool Error::cannot install `libastyle.la'

(1/1)

Dark_Ebola:
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

--- End code ---

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 !

mandrav:
The binaries have already been built for a different prefix (specifically /usr). You need to run make clean-bins and then make again.

Dark_Ebola:
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
--- End code ---

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 :)

Navigation

[0] Message Index

Go to full version