Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters

Compiling Perl - errors

 

 

Perl porters RSS feed   Index | Next | Previous | View Threaded


stownsen at zippy

Sep 19, 1995, 5:59 PM

Post #1 of 2 (73 views)
Permalink
Compiling Perl - errors

Hi there... I'm trying to install Perl on a SCO system. Its a intel '386
machine. I've gone through configure and left most all default. When I
run make I get an error dealing with the Sockets.

Any help on why I'm getting the error would be helpful.

Thanks much,
Scott<-
- - - - -

Here is the relevent output from "make"

While in /usr/local/src/perl5.001 I got the following after running "make":


# make
Dummy dependency for dumb parallel make
touch perly.h
`sh cflags libperl.a miniperlmain.o` miniperlmain.c
CCCMD = cc -c -W0 -U M_XENIX -O
miniperlmain.c
`sh cflags libperl.a perl.o` perl.c
CCCMD = cc -c -W0 -U M_XENIX -O
perl.c
`sh cflags libperl.a malloc.o` malloc.c
CCCMD = cc -c -W0 -U M_XENIX -O
malloc.c
`sh cflags libperl.a gv.o` gv.c
CCCMD = cc -c -W0 -U M_XENIX -O
gv.c
`sh cflags libperl.a toke.o` toke.c
CCCMD = cc -c -W0 -U M_XENIX -O
toke.c
`sh cflags libperl.a perly.o` perly.c
CCCMD = cc -c -W0 -U M_XENIX -O
perly.c
`sh cflags libperl.a op.o` op.c
CCCMD = cc -c -W0 -U M_XENIX -O
op.c
`sh cflags libperl.a regcomp.o` regcomp.c
CCCMD = cc -c -W0 -U M_XENIX -O
regcomp.c
`sh cflags libperl.a dump.o` dump.c
CCCMD = cc -c -W0 -U M_XENIX -O
dump.c
`sh cflags libperl.a util.o` util.c
CCCMD = cc -c -W0 -U M_XENIX -O
util.c
`sh cflags libperl.a mg.o` mg.c
CCCMD = cc -c -W0 -U M_XENIX -O
mg.c
`sh cflags libperl.a hv.o` hv.c
CCCMD = cc -c -W0 -U M_XENIX -O
hv.c
`sh cflags libperl.a av.o` av.c
CCCMD = cc -c -W0 -U M_XENIX -O
av.c
`sh cflags libperl.a run.o` run.c
CCCMD = cc -c -W0 -U M_XENIX -O
run.c
`sh cflags libperl.a pp_hot.o` pp_hot.c
CCCMD = cc -c -W0 -U M_XENIX -O
pp_hot.c
`sh cflags libperl.a sv.o` sv.c
CCCMD = cc -c -W0 -U M_XENIX -O
sv.c
`sh cflags libperl.a pp.o` pp.c
CCCMD = cc -c -W0 -U M_XENIX -O
pp.c
`sh cflags libperl.a scope.o` scope.c
CCCMD = cc -c -W0 -U M_XENIX -O
scope.c
`sh cflags libperl.a pp_ctl.o` pp_ctl.c
CCCMD = cc -c -W0 -U M_XENIX -O
pp_ctl.c
`sh cflags libperl.a pp_sys.o` pp_sys.c
CCCMD = cc -c -W0 -U M_XENIX -O
pp_sys.c
pp_sys.c(1453) : error C2079: 'saddr' uses undefined struct/union 'sockaddr_in'
*** Error code 1
[Acked]


tye at metronet

Sep 19, 1995, 6:35 PM

Post #2 of 2 (69 views)
Permalink
Re: Compiling Perl - errors [In reply to]

Excerpts from the mail message of The Smile Guy... [.-::
)
) Hi there... I'm trying to install Perl on a SCO system.
[...]
) pp_sys.c
) pp_sys.c(1453) : error C2079: 'saddr' uses undefined struct/union
)-'sockaddr_in'
) *** Error code 1

Move the offending line down two lines to just under the "#ifdef
HAS_SOCKET" line. This is a known bug. Based on the line number
I don't think you have perl5.001m so you should fetch a copy, from

ftp://ftp.metronet.com/pub/perl/source/perl5.001m.tar.gz

or find other locations via the Perl meta-FAQ:

http://www.khoros.unm.edu/staff/neilb/perl/metaFAQ/metaFAQ.html

--
Tye McQueen tye [at] metronet || tye [at] doober
Nothing is obvious unless you are overlooking something
http://www.metronet.com/~tye/ (scripts, links, nothing fancy)

Perl porters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.