|Close, but not all. I finally worked through all of my problems and now
have a complete installation. Most of my issues involved setting up my
Solaris environment to work with the assumptions made by the gsdl
SunOS felix 5.9 Generic_118558-25 sun4u sparc SUNW,Sun-Blade-100
- I chose to install XML-Parser myself since I couldn't get it to happen
with the gsdl installation:
- Download and unpack XML-Parser-2.34 from CPAN's site
- My expat was installed from blastwave.org's pkg-get script, so I had
to add /opt/csw/lib and /opt/csw/include to the top of Makefile.PL
- perl Makefile.PL
- Edited Makefile and Expat/Makefile:
- changed all occurances of cc to /opt/sfw/gcc-3/bin/gcc
- removed all values for OPTIMIZE (my gcc didn't like those) on
lines 334 and 216, respectively
- gmake; gmake test; gmake install
- Use GNU tar to unpack gsdl-2.70.tar.gz (Sun puts it in /opt/sfw/bin
and galls it gtar). Solaris tar did not work.
- I installed gdbm via the blastwave.org pkg-get script, so I had to
edit Unix/Install.sh on line 1612 to add "--with-gdbm=/opt/csw"
- export CC=/opt/sfw/gcc-3/bin/gcc
- export CXX=/opt/sfw/gcc-3/bin/g++
- export LD_LIBRARY_PATH=/opt/sfw/gcc-3/lib
- export MAKE=/opt/sfw/bin/gmake
- Removed any mention of expat and XML-Parser from
src/packages/Makefile.in and src/packages/configure
- Make sure /usr/ccs/bin is in the PATH because that's where strip and
ar live (this is what was causing the end of Install.sh to fail and not
ask for an admin password)
- Finally, cd into Unix/ and run "bash Install.sh'. Relying on
#!/bin/sh will not work.
- I installed into /opt but chose the default answer for the rest of
- My resulting library binary failed to execute until I added
/opt/sfw/gcc-3/lib into the system's ld.config:
- crle -c /var/ld/ld.config -l /opt/sfw/gcc-3/lib
- Followed the instructions for modifying apache:
- Added /opt/gsdl/cgi-bin as a cgi dir
- Aliased /opt/gsdl to greenstone
After these steps I can access the default gsdl setup via
> -----Original Message-----
> From: Michael Dewsnip [mailto:email@example.com]
> Sent: Friday, June 09, 2006 12:31 AM
> To: Grimland, Courtney
> Cc: firstname.lastname@example.org
> Subject: Re: FW: [greenstone-users] Almost Successful Installation
> Hi Courtney,
> We don't make a binary distribution of Greenstone for
> Solaris, so you will need to compile Greenstone from source.
> To do this you need to:
> - Download and install the GDBM package, if you don't already have it
> - Download and unpack the Source version of Greenstone
> - Run "setenv CC gcc"
> - Run "setenv LD gcc"
> - Make sure you have GNU make installed and on your path
> - In the "gsdl" directory, run "./configure --with-gdbm=<gdbm-dir>"
> (where <gdbm-dir> is the location of the GDBM you installed above)
> - Run "make" (or "gmake")
> - Run "make install" (or "gmake install")
> Everything going well, you should now have the Greenstone
> binaries and can start configuring your webserver.
> Grimland, Courtney wrote:
> > I meant that the admin user *password* doesn't get created. I also
> >assume there's some other housekeeping not getting done after this
> >point in the script because cgi-bin/library was not set executable.
> >-----Original Message-----
> >From: email@example.com
> >[mailto:firstname.lastname@example.org] On
> Behalf Of
> >Grimland, Courtney
> >Sent: Wednesday, June 07, 2006 5:04 PM
> >To: email@example.com
> >Subject: [greenstone-users] Almost Successful Installation
> >I finally worked through all of my installation issues of Greenstone
> >2.70 on Solaris 9 (which I'll chronicle here later), until I
> get to the
> >very end and I get this (I installed into /opt):
> >In order to use end-user collection building or to access
> certain parts
> >of the administration pages you must have a password.
> >A user with the username "admin" will be created for you with the
> >password you provide (i.e. to enter any pages requiring user
> >authentication enter the "admin" username and the password you set
> >Install.sh: /opt/gsdl/bin/sunos/getpw: No such file or directory
> >Install.sh: /opt/gsdl/bin/sunos/txt2db: No such file or directory
> >rm: remove strings.rb (yes/no)? yes
> >Greenstone installation completed successfully.
> >I don't have a /opt/gsdl/bin/sunos directory and obviously the admin
> >user doesn't get created. The next output is the bit about
> >I'm having a difficult time wading through the various configure
> >scripts and makefiles to find out where this is supposed to get
> >created, so I'm asking the list for ideas.
> ># Courtney Grimland
> ># Software Systems Specialist
> ># University of Texas at Arlington
> ># 817.272.1479 - Office
> ># 817.272.7022 - Fax
> ># firstname.lastname@example.org
> >greenstone-users mailing list
> >greenstone-users mailing list