lr_config aborts with local installation on Solaris 9

Robert_G_Kennington at notes.tcs.treas.gov Robert_G_Kennington at notes.tcs.treas.gov
Tue Jul 29 16:13:20 CEST 2003



Hi Again,

Since system installation failed for me (see below), despite my grit and
determination, I opted for local installation and lire compiled without a
hitch.  In the long run, I'd like to be able to complete a system
installation.   If I succeed, the outcome of this will be very detailed
Solaris 9 installation instructions I'd be glad to share.

In the mean time, lr_config aborts.  Here's what happened.

isbld2br>pwd
/rkenning

isbld2br>env
_=/usr/bin/env
HZ=100
LC_MONETARY=en_US.ISO8859-15
LC_TIME=en_US.ISO8859-15
PATH=/usr/local/bin:/etc:/usr/ccs/bin:/usr/bin:/rkenning/lire/bin:.
EDITOR=vi
LOGNAME=rkenning
MAIL=/var/mail/rkenning
PS1=isbld2br>
LC_MESSAGES=C
LC_CTYPE=en_US.ISO8859-15
SHELL=/bin/ksh
HOME=/rkenning
LC_COLLATE=en_US.ISO8859-15
LC_NUMERIC=en_US.ISO8859-15
TERM=xterm
PWD=/rkenning
TZ=US/Eastern

isbld2br>lr_config
Can't locate XML/Parser.pm in at INC (@INC contains:
/rkenning/lire/share/perl5 /usr/perl5/5.6.1/lib/sun4-solaris-64int
/usr/perl5/5.6.1/lib /usr/perl5/site_perl/5.6.1/sun4-solaris-64int
/usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl
/usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int
/usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at
/rkenning/lire/share/perl5/Lire/DlfSchema.pm line 7.
BEGIN failed--compilation aborted at
/rkenning/lire/share/perl5/Lire/DlfSchema.pm line 7.
Compilation failed in require at
/rkenning/lire/share/perl5/Lire/OldDlfAdapter.pm line 9.
BEGIN failed--compilation aborted at
/rkenning/lire/share/perl5/Lire/OldDlfAdapter.pm line 9.
Compilation failed in require at
/rkenning/lire/share/perl5/Lire/DlfConverterManager.pm line 8.
BEGIN failed--compilation aborted at
/rkenning/lire/share/perl5/Lire/DlfConverterManager.pm line 8.
Compilation failed in require at
/rkenning/lire/share/perl5/Lire/Config/Spec.pm line 582.
BEGIN failed--compilation aborted at
/rkenning/lire/share/perl5/Lire/Config/Spec.pm line 582.
Compilation failed in require at
/rkenning/lire/share/perl5/Lire/Config/Parser.pm line 7.
BEGIN failed--compilation aborted at
/rkenning/lire/share/perl5/Lire/Config/Parser.pm line 7.
Compilation failed in require at /rkenning/lire/share/perl5/Lire/Config.pm
line 235.
BEGIN failed--compilation aborted at
/rkenning/lire/share/perl5/Lire/Config.pm line 235.
Compilation failed in require at /rkenning/lire/bin/lr_config line 9.
BEGIN failed--compilation aborted at /rkenning/lire/bin/lr_config line 9.

isbld2br>

Any suggestions would be greatly appreaciated.

Regards, Bob K.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
Date: 7/23/2003
From: Bob K (Robert.G.Kennington at notes.tcs.treas.gov
To: questions at logreport.org
Subj: Building Lire on Solaris 9 as root: make aborting after cc -c
-I/rkenning/lire-1.3/extras/expat/lib

Hi,

I'm attempting to compile and install lire-full-1.3.tar and can't get past
the following despite installing GNU Solaris freeware (sunfreeware.com)
autoconf-2.57, automake-1.7.2, gcc-3.3, make-3.80:

# uname -a
SunOS isbld2br 5.9 Generic_112233-04 sun4u sparc SUNW,Sun-Blade-100

# make
...
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
/usr/bin/perl -I/usr/perl5/5.6.1/lib/sun4-solaris-64int
-I/usr/perl5/5.6.1/lib /usr/perl5/5.6.1/lib/ExtUtils/xsubpp -noprototypes
-typemap /usr/perl5/5.6.1/lib/ExtUtils/typemap -typemap typemap Expat.xs >
Expat.xsc && mv Expat.xsc Expat.c
cc -c -I/rkenning/lire-1.3/extras/expat/lib -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -xO3 -xdepend   -DVERSION=\"2.31\" -DXS_VERSION
=\"2.31\" -KPIC -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE  Expat.c
make[4]: cc: Command not found
make[4]: *** [Expat.o] Error 127
make[4]: Leaving directory `/rkenning/lire-1.3/extras/XML-Parser/Expat'
make[3]: *** [subdirs] Error 2
make[3]: Leaving directory `/rkenning/lire-1.3/extras/XML-Parser'
make[2]: *** [stamp-xml-parser] Error 2
make[2]: Leaving directory `/rkenning/lire-1.3/extras'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/rkenning/lire-1.3/extras'
make: *** [all-recursive] Error 1
#

By the way, I initially headed advice about not using configure and make as
root, but ran into other problem 'cp: cannot create
/usr/local/lib/#inst.25001#: Permission denied' and make aborted.  My
account, 'rkenning', has only 'staff' priviledges.  Is that enough?

Do I need cc?  I thought gcc compiles c code.  My gut/intuition tells me
after reading all somewhat related messages at logreport.org indicate that
I don't have GNU setup properly on Solaris 9?

Also, during './configure', it indicates certain things are missing, such
as automake, which I installed.  Do I need an earlier version of automake?

# ./configure
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) no
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking if building from CVS... no
checking if I should ignore builing from CVS requirements... no
checking for mawk... (cached) nawk
checking for a BSD compatible install... ./install-sh -c
checking whether ln -s works... (cached) yes
checking whether make sets ${MAKE}... (cached) no
checking for perl... (cached) yes
checking for perl... (cached) /usr/bin/perl
checking for pod2man... (cached) yes
checking for sendmail... (cached) yes
checking for sendmail... (cached) /usr/lib/sendmail
checking for logger... (cached) yes
checking for logger... (cached) /usr/bin/logger
checking for tar... (cached) /usr/bin/tar
checking for gzip... (cached) /usr/bin/gzip
checking for zip... (cached) /usr/bin/zip
checking for tai64nlocal... (cached) tai64nlocal
checking for ploticus... no
checking for pl... no
checking for gs... (cached) no
checking for XML::Parser... no (will install included version)
checking for GD::Graph... no (you can install it later)
checking for SpreadSheet::WriteExcel... no (you can install it later)
checking for MIME::Entity... no (you can install it later)
checking for Time::Timezone... no (will install included version)
checking for jade... no
checking for openjade... no
checking for pdfjadetex... (cached) no
checking for pdfxmltex... (cached) no
checking for xsltproc... (cached) no
checking for xmlcatalog... (cached) /usr/bin/xmlcatalog
checking default xslt processor... none
checking for lynx... (cached) no
checking for SGML/XML trees...  /usr/lib/sgml
checking for DocBook XML DTD... no
checking for DocBook DSSSL stylesheets... no
checking for DocBook XSL stylesheets... no
checking for dia... (cached) no
checking for epsffit... (cached) no
checking for convert... (cached) no
checking for epstopdf... (cached) no
checking for xmllint... (cached) yes
checking for xmllint... (cached) /usr/bin/xmllint
checking xmllint version >= 2.4.19... no (20412)
configure: warning: xmllint from libxml 2.4.19 is advised for building from
CVS
creating ./config.status
^C
#

Finally, using 'MAKE=gmake ./configure' and then make, as recommended in
'building Lire from CVS on Solaris 8 (was: Re: Problem: make: Fatal error:
Don't know how to make target `all-redirect')' does not appear to work
either.  It aborts make earlier as follows:

# make
Making all in all
/bin/sh: gmake: not found
make: *** [all-recursive] Error 1
#

I guess my next fallback is to use common, however, I'd like to learn how
to work compile Lire in order to learn more about it's architecture.  We
lack a reporting capability for Directory LDAP logs and I look forward to
plans you all have for this.  Anything I can do to support this effort,
just let me know.  I'm a java developer with strong SQL skills but less
experience with SUN and c, and medium perl and unix skills.

Hope this helps.  I look forward to seeing what this thing can do.

Cheers,
Bob K



-- 
To UNSUBSCRIBE, email to questions-request at logreport.org with a subject of 
"unsubscribe". Trouble? Send an email with subject "help" to 
questions-request at logreport.org



More information about the Questions mailing list