Hi Scott,

we recently installed Radiator on SCO Open Server. We used the precompiled gcc
and perl5 from the SCO skunkworks, and MD5 compiled fine after we added -melf
to the Makefile

(we did have a slight hiccup at first: we installed some gcc libraries in the
wrong place at first, and gcc couldnt find cpp until we fixed that.)

Is it possible that you dont have all the system header files installed? I
think  they are an optional extra during installation of Open Server. We
actually installed the development system, and then installed gcc afterwards.

Here is our system details:

happy:$ uname -a
SCO_SV happy 3.2 2 i386
happy:$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/i486-sco3.2v5.0/2.7.2.1/specs
gcc version 2.7.2.1
happy:$ perl -v

This is perl, version 5.005 built for i486-pc-sco3.2v5.0



Here is the transcript from our build:

happy:$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for MD5
happy:$ make
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/MD5
mkdir blib/lib/auto
mkdir blib/lib/auto/MD5
mkdir blib/man3
cp MD5.pm blib/lib/MD5.pm
AutoSplitting blib/lib/MD5.pm (blib/lib/auto/MD5)
/usr/local/bin/perl -I/usr/local/lib/perl5/5.005/i486-pc-sco3.2v5.0
-I/usr/local/lib/perl5/5.005 /usr/local/lib/perl5/5.005/ExtUtils/xsubpp
 -typemap /usr/local/lib/perl5/5.005/ExtUtils/typemap -typemap typemap MD5.xs
>MD5.tc && mv MD5.tc MD5.c
gcc -c  -I/usr/local/include -O6 -m486    -DVERSION=\"1.7\"
-DXS_VERSION=\"1.7\" -fPIC -I/usr/local/lib/perl5/5.005/i486-pc-sco3.2v5.0/CORE
-DPERL_BYTEORDER=1234 MD5.c
gcc: -fPIC is only valid with -melf
make: *** [MD5.o] Error 1
happy:$ more
happy:$ vi Makefile

        ADDED -melf to the CCCDLFLAGS line
happy:$ make
gcc -c  -I/usr/local/include -O6 -m486    -DVERSION=\"1.7\"
-DXS_VERSION=\"1.7\" -fPIC -melf
-I/usr/local/lib/perl5/5.005/i486-pc-sco3.2v5.0/CORE -DPERL_BYTEORDER=1234
MD5.c
gcc -c  -I/usr/local/include -O6 -m486    -DVERSION=\"1.7\"
-DXS_VERSION=\"1.7\" -fPIC -melf
-I/usr/local/lib/perl5/5.005/i486-pc-sco3.2v5.0/CORE -DPERL_BYTEORDER=1234
md5c.c
Running Mkbootstrap for MD5 ()
chmod 644 MD5.bs
LD_RUN_PATH="" ld -G -o blib/arch/auto/MD5/MD5.so  -L/usr/local/lib MD5.o
md5c.o
chmod 755 blib/arch/auto/MD5/MD5.so
cp MD5.bs blib/arch/auto/MD5/MD5.bs
chmod 644 blib/arch/auto/MD5/MD5.bs
Manifying blib/man3/MD5.3



The omly problem we had was that we incorrectly instl
On May 3,  6:59pm, Scott Medlock wrote:
> Subject: (RADIATOR) Compiling MD5 on SCO OpenServer
>
> Having a hell of a time compiling MD5 on SCO OpenServer...  Maybe I'm
> screwing up something basic here....  but:
>
> perl stuff is okay.  It seems to be building the Makefile okay (albeit
> with a couple errors that I corrected)....
>
> But...  no cpp on my system that will work with the Makefile in MD2
> (required)
>
> And the following is the trace of what's happening when I run a "make"
> after building the makefile with perl Makefile.PL:
>
> In file included from
> /usr/local/lib/perl5/5.005/i486-pc-sco3.2v5.0/CORE/iperlsy
> s.h:203,
>                  from
> /usr/local/lib/perl5/5.005/i486-pc-sco3.2v5.0/CORE/perl.h:
> 319,
>                  from MD2.xs:36:
> /usr/local/lib/perl5/5.005/i486-pc-sco3.2v5.0/CORE/perlsdio.h:5:
> stdio.h: No suc
> h file or directory
> In file included from MD2.xs:36:
> /usr/local/lib/perl5/5.005/i486-pc-sco3.2v5.0/CORE/perl.h:330: ctype.h:
> No such
> file or directory
> /usr/local/lib/perl5/5.005/i486-pc-sco3.2v5.0/CORE/perl.h:338: locale.h:
> No such
>  file or directory
> /usr/local/lib/perl5/5.005/i486-pc-sco3.2v5.0/CORE/perl.h:355: setjmp.h:
> No such
>  file or directory
> In file included from MD2.xs:36:
> /usr/local/lib/perl5/5.005/i486-pc-sco3.2v5.0/CORE/perl.h:427: string.h:
> No such
>  file or directory
> /usr/local/lib/perl5/5.005/i486-pc-sco3.2v5.0/CORE/perl.h:517:
> netinet/in.h: No
> such file or directory
> /usr/local/lib/perl5/5.005/i486-pc-sco3.2v5.0/CORE/perl.h:521:
> arpa/inet.h: No s
> uch file or directory
> In file included from MD2.xs:36:
> /usr/local/lib/perl5/5.005/i486-pc-sco3.2v5.0/CORE/perl.h:553: time.h:
> No such f
> ile or directory
>
> on....  and on.... and on.... and on....
>
> Although most of these things are in gcc's library, is it the same
> stuff??
>
> Appreciate all the help I can get at this point.
>
> scottm
>
>
> [ Attachment (text/x-vcard): "scottm.vcf" 302 bytes
>   Character set: us-ascii
>   Card for Scott Medlock ]
>-- End of excerpt from Scott Medlock



-- 
Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8, 
NT, Rhapsody
===
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to