If (g)make does not finish succesfully, you cannot run (g)make install
I don't know what is the problem with libtool, but try: Code:
gmake distclean |
Quote:
bash-3.00# gmake distclean gmake: *** No rule to make target `distclean'. Stop. i do notknow what is the problem here, i know that i have now all the files i need to edit, but the server is not running... so i guess the install did work for the files and directories to be created, but maybe there are problems in the configuration files of the server thats why it isnt running... i hope you have some other suggestions, and thank you for your useful helps! |
Quote:
Quote:
Try again to run "gmake distclean" in the sources directory and then rerun ./configure, gmake |
bash-3.00# cd freeradius-server-2.1.10
bash-3.00# ls COPYRIGHT Make.inc.in acinclude.m4 config.sub dialup_admin libtool.m4 missing share CREDITS Makefile aclocal.m4 configure doc ltmain.sh raddb src INSTALL README autogen.sh configure.in install-sh man redhat suse LICENSE VERSION config.guess debian libltdl mibs scripts todo bash-3.00# gmake distclean Makefile:10: Make.inc: No such file or directory gmake: *** No rule to make target `Make.inc'. Stop. |
i deleted the folder and did a tar -xvf **FILE**
just to test on new clean copy i couldnt run gmake distclean so i did ./configure the tried gmake distclean and it worked apparently but i cant do the "make" or "gmake" command now bash-3.00# gmake Makefile:10: Make.inc: No such file or directory gmake: *** No rule to make target `Make.inc'. Stop. bash-3.00# bash-3.00# gmake install Makefile:10: Make.inc: No such file or directory gmake: *** No rule to make target `Make.inc'. Stop. bash-3.00# |
Quote:
Let's start from the beginning. Delete the directory and extract again the tar.gz archive. Get into the directory created and run ./configure (maybe you should look at the output of ./configure --help to see if there are some specific options you want to enable/disable). After ./configure finishes, run gmake. If it ends without errors, then you can run gmake install to install the software |
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status gmake[6]: *** [rlm_perl.la] Error 1 gmake[6]: Leaving directory `/home/radius/freeradius-server-2.1.10/src/modules/rlm_perl' gmake[5]: *** [rlm_perl] Error 2 gmake[5]: Leaving directory `/home/radius/freeradius-server-2.1.10/src/modules' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/home/radius/freeradius-server-2.1.10/src/modules' gmake[3]: *** [modules] Error 2 gmake[3]: Leaving directory `/home/radius/freeradius-server-2.1.10/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/home/radius/freeradius-server-2.1.10/src' gmake[1]: *** [src] Error 2 gmake[1]: Leaving directory `/home/radius/freeradius-server-2.1.10' gmake: *** [all] Error 2 still got the same errors, im running as root, i dont understand why i get ld: fatal: relocations remain against allocatable but non-writable sections weird... |
Doh, what give the following commands:
Code:
which gcc |
bash-3.00# gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) ---------- Post added 01-20-11 at 03:05 PM ---------- bash-3.00# which gcc /usr/sfw/bin/gcc |
I cannot tell what's wrong now with ld (and previously with libtool)
Run Code:
gmake distclean I've tried to compile the same software on a sparc solaris 10 and it compiled just fine (same gcc version BTW) |
All times are GMT -5. The time now is 09:39 PM. |