php upgrade 5.2.8 and sqlite2 dependencies

Support/Development for PHP
mdtiberi
Forum Regular
Forum Regular
Posts: 124
Joined: Thu Jan 17, 2008 5:48 pm

Unread post by mdtiberi »

hostingguy wrote:I had this problem on one box, I removed sb-publish

rpm -e sb-publish

then upgraded php, and then reinstalled sb-publish
hostingguy, thanks for the work-around. How did you reinstall sb-publish exactly using rpm? rpm can't find it and yum gives me the same dependency issue on sqlite2.

Thanks much.
mdtiberi
Forum Regular
Forum Regular
Posts: 124
Joined: Thu Jan 17, 2008 5:48 pm

Unread post by mdtiberi »

Well I managed to find sb-publish on my server and reinstalled using:

rpm -ivh --nodeps sb-publish

worked fine but it griped about any-php-sqlite which is why the nodeps flag was set. Thanks all for helping out.
BerArt
Forum Regular
Forum Regular
Posts: 478
Joined: Tue Jan 15, 2008 3:57 am
Location: Netherlands

Unread post by BerArt »

I had this problem on one box, I removed sb-publish

rpm -e sb-publish

then upgraded php, and then reinstalled sb-publish
Thx! but do we have to do this every time with a PHP update? :(
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

nope, Ive never had sitebuilder installed so I never had to deal with any of this
ryanz
Forum User
Forum User
Posts: 68
Joined: Mon Dec 20, 2004 2:43 am

Unread post by ryanz »

Hi,

I now have the same problem with Sitebuilder 4.5 not publishing after the php upgrade.

Has anyone managed to get this working?

I tried this http://kb.parallels.com/en/5460 but make fails with errors as follows:

make
/bin/sh /home/SQLite-1.0.3/libtool --mode=compile gcc -I/home/SQLite-1.0.3/libsqlite/src -I. -I/home/SQLite-1.0.3 -DPHP_ATOM_INC -I/home/SQLite-1.0.3/include -I/home/SQLite-1.0.3/main -I/home/SQLite-1.0.3 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/php -DHAVE_CONFIG_H -g -O2 -c /home/SQLite-1.0.3/libsqlite/src/main.c -o libsqlite/src/main.lo
gcc -I/home/SQLite-1.0.3/libsqlite/src -I. -I/home/SQLite-1.0.3 -DPHP_ATOM_INC -I/home/SQLite-1.0.3/include -I/home/SQLite-1.0.3/main -I/home/SQLite-1.0.3 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/php -DHAVE_CONFIG_H -g -O2 -c /home/SQLite-1.0.3/libsqlite/src/main.c -fPIC -DPIC -o libsqlite/src/.libs/main.o
/home/SQLite-1.0.3/libsqlite/src/main.c:459:2: error: invalid preprocessing directive #const
make: *** [libsqlite/src/main.lo] Error 1


Any advice?

System: FC4 x86 (old I know)
PHP: 5.2.8-1.fc4.art
rwhirn
Forum User
Forum User
Posts: 14
Joined: Mon Mar 31, 2008 8:50 pm

Unread post by rwhirn »

Thanks hostingguy, that did the trick!
hostingguy wrote:I had this problem on one box, I removed sb-publish

rpm -e sb-publish

then upgraded php, and then reinstalled sb-publish
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Unread post by hostingguy »

ryanz wrote: /home/SQLite-1.0.3/libsqlite/src/main.c:459:2: error: invalid preprocessing directive #const
Can you post the SQLite-1.0.3/libsqlite/src/main.c file ?
GravuTrad
Forum User
Forum User
Posts: 38
Joined: Fri Feb 06, 2009 9:19 am

Unread post by GravuTrad »

rwhirn wrote:Thanks hostingguy, that did the trick!
hostingguy wrote:I had this problem on one box, I removed sb-publish

rpm -e sb-publish

then upgraded php, and then reinstalled sb-publish
same thing if the delete of php-sqlite2 has been already done?

thanks for your help hostingguy.
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Unread post by hostingguy »

you only have to remove it if yum complains about it
GravuTrad
Forum User
Forum User
Posts: 38
Joined: Fri Feb 06, 2009 9:19 am

Unread post by GravuTrad »

yes but it's needed for plesk and sitebuilder, for one example...
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Unread post by hostingguy »

You can always add it back when your done.
GravuTrad
Forum User
Forum User
Posts: 38
Joined: Fri Feb 06, 2009 9:19 am

Unread post by GravuTrad »

that's it which doesn't work. how to reput it?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: php upgrade 5.2.8 and sqlite2 dependencies

Unread post by scott »

php-sqlite2 was added to the [atomic] repo on feb 6th, which should address the problems you all have been experiencing with sitebuilder and 5.2.x
GravuTrad
Forum User
Forum User
Posts: 38
Joined: Fri Feb 06, 2009 9:19 am

Re: php upgrade 5.2.8 and sqlite2 dependencies

Unread post by GravuTrad »

scott wrote:php-sqlite2 was added to the [atomic] repo on feb 6th, which should address the problems you all have been experiencing with sitebuilder and 5.2.x
Problem solved, big thanks scott!
bartje333
New Forum User
New Forum User
Posts: 2
Joined: Sun Apr 19, 2009 11:15 pm

Re: php upgrade 5.2.8 and sqlite2 dependencies

Unread post by bartje333 »

Hi,

"php-sqlite2" is not in the [atomic] channel
See: http://www.atomicorp.com/channels/atomi ... 6_64/RPMS/

Was it removed, and if so, why ?

Regards,
Bart
Post Reply