LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   everything asks for MPFR, complete madness (https://www.linuxquestions.org/questions/linux-newbie-8/everything-asks-for-mpfr-complete-madness-717136/)

nfsmw222 04-06-2009 05:42 AM

everything asks for MPFR, complete madness
 
whatever i'm triyng to install complains about libmpfr.so.1 which is not found even those which have nothing to do with mpfr
i can't install libmpfr.so.1 since mpfr itself also asks for libmpfr.so.1

what to do??????????????

jf.argentino 04-06-2009 06:08 AM

Are you using the package manager to get it?

nfsmw222 04-06-2009 06:19 AM

Quote:

Originally Posted by jf.argentino (Post 3499885)
Are you using the package manager to get it?

no, i'm installing from source, but i don't want to bother with apt-get because it depends on the internet, and if no internet, no install

TITiAN 04-06-2009 07:03 AM

You can still install *.deb packages with dpkg -i. You can search and download for packages here: http://packages.ubuntu.com/. (I guess you download software from another PC and then copy it to your Ubuntu box; then you won't need to expose your Ubuntu system to the internet). I personally think that installing from source is a harder way than installing packages (*.deb files or automatically with apt-get etc.).

BTW the package that contains the mentioned library is here, it seems that it's generally needed whenever you compile from source, yes, even when you want to compile libmpfr.

Does this help?

nfsmw222 04-06-2009 07:16 AM

Quote:

Originally Posted by TITiAN (Post 3499940)
BTW the package that contains the mentioned library is here, it seems that it's generally needed whenever you compile from source, yes, even when you want to compile libmpfr.

Does this help?

yes it solves the problem, but yields an other
now the file "crtbegin.o" is missing

knudfl 04-06-2009 07:38 AM

Example from Debian Lenny :
/usr/lib/gcc/i486-linux-gnu/4.3/crtbegin.o

You really should try using 'find' :
find /usr/lib/ -name crtbegin.o

And what strange gcc are you using, that can't
find it's own files ?
Or are you compiling buggy software ?
.....

nfsmw222 04-06-2009 07:43 AM

Quote:

Originally Posted by knudfl (Post 3499969)
And what strange gcc are you using, that can't
find it's own files ?
Or are you compiling buggy software ?
.....

ctrbegin.o does exist really where it should
gcc -v gives

Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)

if it helps
in case of linux its hard to tell if something is buggy XD
linux is complex, ive got headache

knudfl 04-06-2009 08:06 AM

So which version of Ubuntu is it ? ? ...
or Ubuntu based OS ?

Please show the output of the command
dpkg --get-selections | grep gcc

And what are you trying to compile ? ?
The name and version of the software, please.
.....


All times are GMT -5. The time now is 04:43 PM.