[ic] Solaris 10 install problems
Josh Johnson
jdj1971 at yahoo.com
Wed Dec 9 23:18:52 UTC 2009
________________________________
From: Stefan Hornburg (Racke) <racke at linuxia.de>
To: interchange-users at icdevgroup.org
Sent: Wed, December 9, 2009 2:13:31 AM
Subject: Re: [ic] Solaris 10 install problems
Josh Johnson wrote:
>
> Josh Johnson wrote:
>> /
> />/ I've been racking my brain on this one for 2 weeks now so I'm looking />/ for some experts. Here's what I've tried.
> />/ />/ Solaris 10 x86
> />/ />/ perl 5.8.8 (solaris installed)
> />/ perl 5.8.4 from sunfreeware
> />/ perl 5.10.1 (compiled myself)
> />/ />/ using gcc 3.4.6
> />/ />/ I install the CPAN Bundle::Interchange as well.
> />/ />/ I can compile interchange and install it just fine. Run makecat and />/ build the catalog etc etc just fine. I start up interchange and it />/ appears to start ok but when I try to to the admin interface (or />/ customer) I
> get
> />/ />/ />/ We're sorry, the Interchange server is unavailable...
> />/ />/ />/ So I try and run it in DEBUG mode and I get this.
> />/ # bin/interchange --DEBUG=1
> />/ />/ ##### DEBUG MODE, running in foreground #####
> />/ Low traffic settings.
> />/ Calling UI......UI is loaded...
> />/ Interchange V5.6.2
> />/ Running with old signals.
> />/ Configuring catalog rubs...Using PostgreSQL, />/ DSN=dbi:Pg:dbname=rubsdb;host=192.168.1.205...done.
> />/ Interchange server started (22742) (UNIX)
> />/ Interchange server started in UNIX mode(s) (process id 22742)
> />/ Running in foreground, OS=solaris, debug=1
> />/ />/ Importing ichelp table from />/ /d00/rubs/htdocs/interchange/catalogs/rubs/products/ichelp.txt
> />/ Died in
> server spawn: ichelp import into failed: sdbm store returned />/ -1, errno 22, key "kaccess.main" at />/ /d00/rubs/htdocs/interchange/lib/Vend/Table/Common.pm line 513, <IN> line 3.
> />/ /
> Please compile your Perl with GDBM support. First step is to install
> the GDBM development libraries on your system.
>
> Regards
> Racke
>
> I believe it already is compiled with GDBM support, the libraries are there as well. See output from perl -V
>
> ld='gcc', ldflags =' -L/usr/local/lib '
> libpth=/usr/local/lib /usr/lib /usr/ccs/lib /opt/csw/lib /usr/sfw/lib /opt/csw/bdb44/lib
> libs=-lsocket -lnsl -ldl -lm -lc -lgdbm -lcrypt -ldb
> perllibs=-lsocket -lnsl -ldl -lm -lc -lcrypt
>
>Are you sure that this is the perl binary which runs Interchange?
>
>Regards
> Racke
>
>-- LinuXia Systems => http://www.linuxia.de/
>Expert Interchange Consulting and System Administration
>ICDEVGROUP => http://www.icdevgroup.org/
>Interchange Development Team
Yes it's the perl that runs Interchange
# head interchange
#!/d00/rubs/perl/bin/perl
eval 'exec /d00/rubs/perl/bin/perl -S $0 ${1+"$@"}'
if 0; # not running under some shell
# /d00/rubs/perl/bin/perl -V
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.10, archname=i86pc-solaris
uname='sunos jjsbest 5.10 generic_137112-08 i86pc i386 i86pc '
config_args=''
hint=previous, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV',
optimize='-O',
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV'
ccversion='', gccversion='3.4.6', gccosandvers='solaris2.10'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib /opt/csw/lib /usr/sfw/lib /opt/csw/bdb44/lib
libs=-lsocket -lnsl -ldl -lm -lc -lgdbm -lcrypt -ldb
perllibs=-lsocket -lnsl -ldl -lm -lc -lcrypt
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
PERL_USE_SAFE_PUTENV USE_LARGE_FILES USE_PERLIO
Built under solaris
Compiled at Dec 7 2009 19:07:15
@INC:
/d00/rubs/perl/lib/5.10.1/i86pc-solaris
/d00/rubs/perl/lib/5.10.1
/d00/rubs/perl/lib/site_perl/5.10.1/i86pc-solaris
/d00/rubs/perl/lib/site_perl/5.10.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.icdevgroup.org/pipermail/interchange-users/attachments/20091209/94f6a0bd/attachment.htm>
More information about the interchange-users
mailing list