maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N9 - Apache+php (https://talk.maemo.org/showthread.php?t=93100)

zxcvbnm3230 2015-07-06 01:53

Re: N9 - Apache+php
 
When I'm trying to install pcre_8.33-1_armel.deb (kernel+), I get this error:
~ # AEGIS_FIXED_ORIGIN=com.nokia.maemo dpkg -i pcre_8.33-1_armel.deb
(Reading database ... 49672 files and directories currently installed.)
Unpacking pcre (from pcre_8.33-1_armel.deb) ...
dpkg: error processing pcre_8.33-1_armel.deb (--install):
trying to overwrite '/usr/share/man/man1/pcretest.1.gz', which is also in package libpcre3 8.12-3maemo1+0m6
dpkg-deb (subprocess): data: internal gzip write error: Broken pipe
dpkg-deb (subprocess): failed in write on buffer copy for failed to write to pipe in copy: Broken pipe
dpkg-deb: subprocess <decompress> returned error exit status 2
Errors were encountered while processing:
pcre_8.33-1_armel.deb
aegis-NOT-installing pcre (from 'com.nokia.maemo')

If there is somebody alive around here, I would appreciate help =)

nieldk 2015-07-06 06:53

Re: N9 - Apache+php
 
Quote:

Originally Posted by zxcvbnm3230 (Post 1475788)
When I'm trying to install pcre_8.33-1_armel.deb (kernel+), I get this error:
~ # AEGIS_FIXED_ORIGIN=com.nokia.maemo dpkg -i pcre_8.33-1_armel.deb
(Reading database ... 49672 files and directories currently installed.)
Unpacking pcre (from pcre_8.33-1_armel.deb) ...
dpkg: error processing pcre_8.33-1_armel.deb (--install):
trying to overwrite '/usr/share/man/man1/pcretest.1.gz', which is also in package libpcre3 8.12-3maemo1+0m6
dpkg-deb (subprocess): data: internal gzip write error: Broken pipe
dpkg-deb (subprocess): failed in write on buffer copy for failed to write to pipe in copy: Broken pipe
dpkg-deb: subprocess <decompress> returned error exit status 2
Errors were encountered while processing:
pcre_8.33-1_armel.deb
aegis-NOT-installing pcre (from 'com.nokia.maemo')

If there is somebody alive around here, I would appreciate help =)

Sorry for this inconvenience, its a mistake in the deb package, and unfortunately I no longer have the SDK for Harmattan.
You can install it by forcing install (it doesnt break anything)


Code:

AEGIS_FIXED_ORIGIN=com.nokia.maemo dpkg -i --force-all pcre_8.33-1_armel.deb

zxcvbnm3230 2015-07-17 17:51

Re: N9 - Apache+php
 
Unfortunately, now when I'm trying to start the server it says there is lib missing:
Code:

/usr/local/apache2/bin # ./apachectl start
/usr/local/apache2/bin/httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory

I've searched on openrepos but didn't find anything :(
Installed apr-util, but still nothing
Well, I installed apr-util and apr and it seems everything is ok more or less)

now it shows only:
Code:

/usr/local/apache2/bin # ./apachectl start
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message

I suppose I should change the /usr/local/apache2/conf/httpd.conf ?
Yes, I got 'It works!' message) Yay)

Now cannot make php work %)
Can't find libphp5.so or any php module anywhere on the device.


All times are GMT. The time now is 13:06.

vBulletin® Version 3.8.8