perl5-porters would have been a better list to ask this question on. I've
cc'd it, and set a reply-to to it.

On Fri, Nov 05, 2004 at 09:58:10AM -0500, jose isaias cabrera wrote:
> 
> Greetings!
> 
> I am trying to build the latest stable of perl on a sun4 system as a normal
> user.  Has anyone out there built perl as an user of a Unix system?  By a
> user I mean not having root access.  I want to build perl in my own

Yes, all the time.

> directory.  I am able to do configure to make and even start the make, but
> the make always ends up in:
> ...
> ...
> cos                                 libperl.a(pp.o)
> connect                             libperl.a(pp_sys.o)

This is the link stage:

> gcc  -o miniperl \
>     miniperlmain.o opmini.o libperl.a
> Undefined                       first referenced
>  symbol                             in file
> socket                              libperl.a(pp_sys.o)

It's not linking against any libraries. I'd expect to see a line something
like this:

gcc  -force_flat_namespace -o miniperl \
    miniperlmain.o opmini.o libperl.a -ldl -lm -lc

with something like -ldl -lm -lc at the end

> I've spent 2 days trying to find the problem and I can't...
> 
> Any help would be greatly appreciated.

What is the value for perllibs in config.sh

If I run

  $ grep perllibs= config.sh

I see

   perllibs='-ldl -lm -lc'

but I'm assuming that you have perllibs=''


How did you run the Configure script?

Nicholas Clark

Reply via email to