From: peppe@ipgaix.unipg.it (G. Vitillaro)
Subject: perl 4.035 under AIX/370 1.2.1 (Update Level 600)
Summary: Experience compiling perl under AIX/370
Keywords: perl, AIX/370
Organization: Universita' di Perugia
Date: Sat, 10 Oct 1992 09:37:47 GMT

 I compiled perl 4.035 under AIX/370 1.2.1 (Update Level 600).
 I run the tests without any errors, so I suppose it should be
 all right.

 I used the old 1.2.0 libraries after defined this new
 stanza in /etc/cc.cfg
 
bsd1.2:	use     = DEFLT
        hcpass1   = /lib/hc1com
        hcpass2   = /lib/hc2com
        hcopt     = ""
	hcflags   = "-Hon=PCC_msgs"
        hcansi    = /lib
        crt       = /1.2/lib/crt0.o
        mcrt      = /1.2/lib/mcrt0.o
        ld        = /bin/ld
        cpp       = /lib/cpp
        ldflags   = -L/1.2/lib,-L/1.2/usr/lib
        cppflags  = "-D_M=",-Ui386,-DXA370,-Du370,-D_AIX,-DAIX,-D_AIX370,-DNLS,-D_U370,-D_BSD
        libraries = -lrts,-lbsd,-lc
        ccom      = /lib/vsc
        cgen      = /lib/vspass2
	root	  = /1.2

and I run Configure (and make) with CCSTANZA=bsd1.2 defined and
exported.

Without this trick I got setpgrp multiple defined in 
libc.a and libbsd.a (anyone know how to avoid this problem 
I already had with emacs?).

Here is the config.sh files with the answers defined in Configure.
I would like to compare my experience with other people, just
to understand if I did all right.

G. Vitillaro

===
#!/bin/sh
# config.sh
# This file was produced by running the Configure script.
d_eunice='undef'
define='define'
eunicefix=':'
loclist='
cat
cp
echo
expr
grep
mkdir
mv
rm
sed
sort
tr
uniq
'
expr='/bin/expr'
sed='/bin/sed'
echo='/bin/echo'
cat='/bin/cat'
rm='/bin/rm'
mv='/bin/mv'
cp='/bin/cp'
tail=''
tr='/usr/ucb/tr'
mkdir='/bin/mkdir'
sort='/bin/sort'
uniq='/bin/uniq'
grep='/bin/grep'
trylist='
Mcc
bison
cpp
csh
egrep
line
nroff
perl
test
uname
yacc
'
test='test'
inews=''
egrep='/bin/egrep'
more=''
pg=''
Mcc='Mcc'
vi=''
mailx=''
mail=''
cpp='/lib/cpp'
perl='perl'
emacs=''
ls=''
rmail=''
sendmail=''
shar=''
smail=''
tbl=''
troff=''
nroff='/usr/bin/nroff'
uname='/bin/uname'
uuname=''
line='/bin/line'
chgrp=''
chmod=''
lint=''
sleep=''
pr=''
tar=''
ln=''
lpr=''
lp=''
touch=''
make=''
date=''
csh='/bin/csh'
bash=''
ksh=''
lex=''
flex=''
bison='bison'
Log='$Log'
Header='$Header'
Id='$Id'
lastuname='AIX ipgaix 1 2 XA370'
alignbytes='8'
bin='/usr/local/bin'
installbin='/usr/local/bin'
byteorder='4321'
contains='grep'
cppstdin='/lib/cpp'
cppminus=''
d_bcmp='define'
d_bcopy='define'
d_safebcpy='define'
d_bzero='define'
d_castneg='undef'
castflags='1'
d_charsprf='undef'
d_chsize='undef'
d_crypt='define'
cryptlib=''
d_csh='define'
d_dosuid='define'
d_dup2='define'
d_fchmod='define'
d_fchown='define'
d_fcntl='define'
d_flexfnam='define'
d_flock='define'
d_getgrps='define'
d_gethent='define'
d_getpgrp='define'
d_getpgrp2='undef'
d_getprior='define'
d_htonl='define'
d_index='define'
d_isascii='undef'
d_killpg='define'
d_lstat='define'
d_memcmp='define'
d_memcpy='define'
d_safemcpy='undef'
d_memmove='undef'
d_memset='define'
d_mkdir='define'
d_msg='define'
d_msgctl='define'
d_msgget='define'
d_msgrcv='define'
d_msgsnd='define'
d_ndbm='define'
d_odbm='define'
d_open3='define'
d_readdir='define'
d_rename='define'
d_rewindir='define'
d_rmdir='define'
d_seekdir='define'
d_select='define'
d_sem='define'
d_semctl='define'
d_semget='define'
d_semop='define'
d_setegid='define'
d_seteuid='define'
d_setpgrp='define'
d_setpgrp2='undef'
d_setprior='define'
d_setregid='define'
d_setresgid='undef'
d_setreuid='define'
d_setresuid='undef'
d_setrgid='define'
d_setruid='define'
d_shm='define'
d_shmat='define'
d_voidshmat='undef'
d_shmctl='define'
d_shmdt='define'
d_shmget='define'
d_socket='define'
d_sockpair='define'
d_oldsock='undef'
socketlib=''
d_statblks='define'
d_stdstdio='define'
d_strctcpy='define'
d_strerror='undef'
d_symlink='define'
d_syscall='define'
d_telldir='define'
d_truncate='define'
d_vfork='define'
d_voidsig='define'
d_tosignal='int'
d_volatile='define'
d_vprintf='define'
d_charvspr='undef'
d_wait4='undef'
d_waitpid='define'
gidtype='uid_t'
groupstype='int'
i_fcntl='undef'
i_gdbm='undef'
i_grp='define'
i_niin='define'
i_sysin='undef'
i_pwd='define'
d_pwquota='define'
d_pwage='define'
d_pwchange='undef'
d_pwclass='undef'
d_pwexpire='undef'
d_pwcomment='define'
i_sys_file='define'
i_sysioctl='define'
i_time='undef'
i_sys_time='define'
i_sys_select='undef'
d_systimekernel='undef'
i_utime='define'
i_varargs='define'
i_vfork='undef'
intsize='4'
libc='/1.2/lib/libc.a'
nm_opts=''
libndir=''
i_my_dir='undef'
i_ndir='undef'
i_sys_ndir='undef'
i_dirent='define'
i_sys_dir='undef'
d_dirnamlen='undef'
ndirc=''
ndiro=''
mallocsrc=''
mallocobj=''
d_mymalloc='undef'
mallocptrtype='void'
mansrc='/usr/local/man/manl'
manext='l'
models='none'
split=''
small=''
medium=''
large=''
huge=''
optimize='-O'
ccflags='-Hxa -Hon=Pointers_compatible_with_ints -Hon=Pointers_compatible'
cppflags=''
ldflags='-Hxa'
cc='cc'
nativegcc=''
libs='-ldbm -lPW -lmalloc -lm -lbsd'
n=''
c='\c'
package='perl'
randbits='31'
scriptdir='/usr/local/bin'
installscr='/usr/local/bin'
sig_name='ZERO HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM URG STOP TSTP CONT CLD TTIN TTOU IO XCPU XFSZ 26 MSG WINCH PWR USR1 USR2 SPERLONG DANGER VTALRM MIGRATE PRE'
spitshell='cat'
shsharp='true'
sharpbang='#!'
startsh='#!/bin/sh'
stdchar='unsigned char'
uidtype='uid_t'
usrinclude='/usr/include'
inclPath=''
void=''
voidhave='7'
voidwant='7'
w_localtim='1'
w_s_timevl='1'
w_s_tm='1'
yacc='/usr/bin/yacc'
lib=''
privlib='/usr/local/lib/perl'
installprivlib='/usr/local/lib/perl'
PATCHLEVEL=35
CONFIG=true
-- 
Giuseppe Vitillaro - IBM SEMEA      |  E-Mail : peppe@ipgaix.unipg.it 
University of Perugia Italy         |  06100 Perugia  Phone:+39.75.585-2200
---------------------------------------------------------------------------
All comments/opinions are mine and don't represent those of IBM
Newsgroups: comp.lang.perl