Help - Search - Members - Calendar
Full Version: Help On Installing Apache
OESF Forums > General Forums > General Support and Discussion > Software
Blaise
hi,
I'm trying to install apache on a sl-5500 with OZ-3.5.2 and OPIE-1.2 .
As it seems to require dependencies, I'm trying to install these ones before apache. The first one is libdb4.1 .

#ipkg _d sd install /mnt/cf/dl_ipk/2/libdb4.1_4.1.25-10_arm.ipk
Installing libdb4.1 (...) to sd...
ERROR: Cannot satisfy dependencies for libdb4.1:
libgcc1 (>= 1:3.3.1-1)
An error occured, return value: 1.

But :
#ipkg info libgcc1
Package: libgcc1
Version: 3.4.2-r3
Depends: gcc-cross-locale*, libc6 (>= 2.3.2+cvs20040726)
Status: install ok installed
Architecture: arm

How come the libgcc1 is not found ? Am I missing a symbolic link somewhere ? Or do I have to makecompat something ?
Tks
blaise
Blaise
ok, it seems to work with -force-depends :

#ipkg -d sd -force-depends install /mnt/cf/dl_ipk/2/libdb4.1_4.1.25-10_arm.ipk
Installing libdb4.1 (...) to sd...
Warning: Cannot satisfy dependencies for libdb4.1:
libgcc1 (>= 1:3.3.1-1)
Configuring libdb4.1

I'll see if it'll work.
blaise
lardman
If you install from a feed (either on the web, or a local one on your CF/SD card) the dependencies will be handled for you automatically.

If you plan on using local feeds, make sure you have the Packages file from the feeds in question (I just copied the whole lot as was to /mnt/cf/feed...), then edit /etc/ipkg.conf to alter the 'src' lines to point to 'file:///mnt/cf/feed...' rather than 'http://www.openzaurus.org/...'

If you can have your Z up on the web, just use the standard feeds which are already in /etc/ipkg.conf

Makes life far easier.


Si
Blaise
I thought I had managed to install apache a few days ago. The server is serving basic html pages ok (text-buttons). I haven't try with more complex pages (images, links). But I can't run properly a cgi that I compiled, I don't know yet either it is because of apache orsomething else (compilation trouble ?).
However, I'm puzzling about apache install. lardman noticed it to me but I did not pay that much attention, believing apache was fine because simple html pages were served.
For apache, I have to install apache-common before, that runs fine :
#ipkg info apache-common
Package: apache-common
Version: 1.3.29-1
Depends: libdb4.1, libexpat1
Status: install user installed
Architecture: arm
Installed-Time: 1115452xxxxxxx

Now, when I install apache, I get this error :
#ipkg -d sd install apache_1.3.29-1_arm.ipk
Installing apache (...) to sd...
Configuring apache
addgroup: www-data: group already in use
postinst script returned status 1
ERROR: apache.postinst returned 1
#ipkg-link mount /mnt/card

And ipk info gives :
#ipkg info apache
Package: apache
Version: 1.3.29-1
Depends: libdb4.1, libexpat1, apache-common
Status: install user unpacked
Architecture: arm
Installed-Time: 1115452xxxxxxx

Status: install user unpacked --> ? ? ? What does that mean, unpacked ? Doesn't mean installed, does it ? Then how can I have apache well installed ? As the ipkg install is screaming about www-data group already in use, how could I remove this group before installing apache to see if it installs better ? (not familiar with user and group managing, moreover on Z).
tks in advance
Blaise
I found it: delgroup and deluser :

#delgroup www-data
#deluser www-data
deluser: www-data: User could not be removed from /etc/shadow

#ipkg -d sd install apache_1.3.29-1_arm.ipk
Installing apache (...) to sd...
Configuring apache
#ipkg-link mount /mnt/card

#ipkg info apache
Package: apache
Version: 1.3.29-1
Depends: libdb4.1, libexpat1, apache-common
Status: install user installed
Architecture: arm
Installed-Time: 1115452xxxxxxx

Very nice ! smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.