Re: can't install on kubuntu

From: Dmitry Karasik <dmitry_at_karasik.eu.org>
Date: 05 Jan 2006 23:57:38 +0100
To: prima_at_prima.eu.org

        Hi vytautas!

 vytautas> ‘No’ cc -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
 vytautas> -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include
 vytautas> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Iinclude
 vytautas> -Iinclude/generic -I/usr/lib/perl/5.8/CORE -DHAVE_CONFIG_H=1 -o
 vytautas> /tmp/pmts0000 -L/usr/local/lib -L/lib -L/usr/lib
 vytautas> -L/usr/local/lib /tmp/pmts0000.c -lgdbm /usr/bin/ld: crt1.o: No
 vytautas> such file: No such file or directory collect2: ld returned 1

That is apparently the source of the error - Makefile.PL can't compile
because 'ld returned 1', which is probably because the cc command line
is bad (or there's indeed no crt1.o, but I don't believe that). Try
to compile the simplest C program, such as:

$ echo 'int main(){return 0;}' > a.c
$ cc a.c

see if that works, if yes, try to add the above flags ( -D_REENTRANT,
-D_GNU_SOURCE, etc), until it stops working. If you'll be able to
identify the showstopper switch, you can edit perl's Config.pm
accordingly and then re-run Makefile.PLfilf, on the contrary, even
cc a.c doesn't work, then there is definitely something wrong with
your system setup.

-- 
HTH,
	Dmitry Karasik
Received on Thu 05 Jan 2006 - 23:57:40 CET

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:06 CET