Results 1 to 5 of 5
Hi,
I am having real issues installing the build of gcc-4.4.2.
The configure and build were both successful. (compiled without ada, ppl or Gloop)
$make install
At first I had ...
- 01-19-2010 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 25
gcc-4.4.2 libtool issues
Hi,
I am having real issues installing the build of gcc-4.4.2.
The configure and build were both successful. (compiled without ada, ppl or Gloop)
$make install
At first I had an error with this linking
libtool: install: error: relink `libjvm.la'
Using a work around using a prefix /tmp/qq for the install and issuing this command worked.
find . -name "*.la" -exec rm -f "{}" ";"
then installing again.
After that hurdle, I cannot get past this error message below.
$make install
make[2]: Entering directory `/opt/gcc-4.4.2/objdir/x86_64-unknown-linux-gnu/libobjc'
/bin/sh ../../../libobjc/../mkinstalldirs /tmp/qq/lib/../lib64
/bin/sh ./libtool --mode=install /usr/local/bin/install -c libobjc.la /tmp/qq/lib/../lib64;
libtool: install: `libobjc.la' is not a valid libtool archive
libtool: install: Try `libtool --help --mode=install' for more information.
make[2]: *** [install-libs] Error 1
make[2]: Leaving directory `/opt/gcc-4.4.2/objdir/x86_64-unknown-linux-gnu/libobjc'
make[1]: *** [install-target-libobjc] Error 2
make[1]: Leaving directory `/opt/gcc-4.4.2/objdir'
make: *** [install] Error 2
I have installed the latest version of automake and autoconf and rebuilt each time and still no difference in the install.
Any help I'll be very grateful for.
Thanks
Will
- 01-19-2010 #2
Is there a reason why you don't install using your package manager?
Linux User #453176
- 01-19-2010 #3Just Joined!
- Join Date
- Nov 2006
- Posts
- 25
It is an aging webserver running Suse 10.1, though I have compiled a new kernel since, and I wish to do so again. Hence getting the latest version of gcc.
Because it is old, most of the Suse tools (and at the time 10.1 had terrible issues with automatic updates anyhow) are no longer working.
Even the rpm manager is in need of updating and I need to update the vitial libraries that come with gcc to install help install other necessary programs such as the latest rpm manager.
I thought I was there because the build went smoothly. Even when I run gcc --version at the prompt it points to gcc-4.4.2. Though the install wasn't complete. I just need to overcome this step so I can begin restoring this webserver without having to take it out and do a fresh install of a new distribution, difficulty being, not phyiscally there to do so. Ultimately that needs to be sone at some point. But for now, barring power cuts, the server continues to run.
Also I would like to know these things out of curiosity, I like to get my teeth into gritter side of computing.
- 01-26-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Did you do a make clean first, to be sure you built the required libraries? The error you are getting is clear enough to me - you are missing libobjc.la or it was previously built for another platform.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 01-26-2010 #5Just Joined!
- Join Date
- Nov 2006
- Posts
- 25
Hello,
I called upon a friend who simply softlinked the directory ../x86_64-unknown-linux-gnu/ where libojc.la was stored into the build directory (not too sure off the top of my head where he exactly softlinked it too.). Re-run make install. Then removed the softlink and ran "make install' again.
It appears to have installed properly. It just so happens that error occurred just before final completion. I always did "make distclean" before rebuilding again.
Thanks
Will


Reply With Quote