PHP + MySQL + Firebird

  • Créateur du sujet Créateur du sujet olidev
  • Date de début Date de début

olidev

Membre actif
25 Octobre 2001
655
20
Dinant - Belgique
Quelqu'un a-t-il réussi à installer et configurer PHP pour qu'il fonctionne avec MySQL ET Firebird ?

En fait je gère plusieurs sites, certains fonctionnent avec MySQL et d'autes avec Interbase/Firebird.

Je n'arive pas à compiler Firebird. Des idées ?

Je posterai ce soir les messages d'erreurs exact, mais je suis pas chez moi pour le moment.
 
Message d'erreur lors de la compil de Firebird :


[Poudlard:/apps/firebird-1.0.2.908] olivier% make
sh -c 'cmp source/jrd/iberror.h source/interbase/include/iberror.h; if [ $? != 0 ]; then cp source/jrd/iberror.h source/interbase/include/iberror.h; fi'
Building GDS.H...
sh -c 'cd source/jrd; make CFLAGS="-ggdb -DDARWIN -w -Fsource/interbase " SYSTEM="builds" gds.h'
make[1]: `gds.h' is up to date.
Building the include directory...
cat source/jrd/ibase.h source/jrd/gdsold.h > source/interbase/include/gds.h
cp source/extlib/ib_util.h source/interbase/include/ib_util.h
cp source/jrd/gds.hxx source/interbase/include/gds.hxx
cp source/jrd/perf.h source/interbase/include/perf.h
cp source/jrd/ibase.h source/interbase/include/ibase.h
sh -c 'cmp source/jrd/iberror.h source/interbase/include/iberror.h; if [ $? != 0 ]; then cp source/jrd/iberror.h source/interbase/include/iberror.h; fi'
cp source/jrd/gds_sun.f source/interbase/include/gds.f
rm -f -rf source/interbase/Firebird.framework
mkdir -p source/interbase/Firebird.framework/Versions/A/Resources/English.lproj/var
ln -s Versions/Current/Firebird \
source/interbase/Firebird.framework/Firebird
ln -s Versions/Current/Resources \
source/interbase/Firebird.framework/Resources
ln -s Versions/Current/Headers \
source/interbase/Firebird.framework/Headers
ln -s A source/interbase/Firebird.framework/Versions/Current
sed "s/__VERSION__/`firebird/bellardo/darwin/fb_version.pl`/g" source/firebird/bellardo/darwin/FrameworkInfo.plist > source/interbase/Firebird.framework/Resources/Info.plist
ln -s ../../../include \
source/interbase/Firebird.framework/Versions/A/Headers
ln -s ../../../lib/gds.dylib \
source/interbase/Firebird.framework/Versions/A/Firebird
ln -s ../../../../../../interbase.msg \
source/interbase/Firebird.framework/Versions/A/Resources/English.lproj/var/interbase.msg
ln -s ../../../../../../bin source/interbase/Firebird.framework/Versions/A/Resources/English.lproj/var/bin
ln -s ../../../../../../UDF source/interbase/Firebird.framework/Versions/A/Resources/English.lproj/var/UDF
ln -s ../../../../../../intl source/interbase/Firebird.framework/Versions/A/Resources/English.lproj/var/intl
ln -s ../../../../../../isc4.gdb source/interbase/Firebird.framework/Versions/A/Resources/English.lproj/var/isc4.gdb
ln -s ../../../../../../help source/interbase/Firebird.framework/Versions/A/Resources/English.lproj/var/help
Building security.c ...
sh -c 'cd source/utilities; make CFLAGS="-ggdb -DDARWIN -w -Fsource/interbase " SYSTEM="builds" security.c'
make[1]: `security.c' is up to date.
Building DSQL OBJECTS...
sh -c 'cd source/dsql; make CFLAGS="-ggdb -DDARWIN -w -Fsource/interbase " SYSTEM="builds" dsql_objects'
cc -c -ggdb -DDARWIN -w -Fsource/interbase -DDEV_BUILD alld.c
/var/tmp//ccz37Hzj.s:1:Expected comma after segment-name
/var/tmp//ccz37Hzj.s:1:Rest of line ignored. 1st junk character valued 76 (L).
/var/tmp//ccz37Hzj.s:2:Expected comma after segment-name
/var/tmp//ccz37Hzj.s:2:Rest of line ignored. 1st junk character valued 76 (L).
/var/tmp//ccz37Hzj.s:3:Expected comma after segment-name
/var/tmp//ccz37Hzj.s:3:Rest of line ignored. 1st junk character valued 76 (L).
/var/tmp//ccz37Hzj.s:1821:Expected comma after segment-name
/var/tmp//ccz37Hzj.s:1821:Rest of line ignored. 1st junk character valued 95 (_).
/var/tmp//ccz37Hzj.s:2248:Expected comma after segment-name
/var/tmp//ccz37Hzj.s:2248:Rest of line ignored. 1st junk character valued 32 ( ).
/var/tmp//ccz37Hzj.s:3486:Expected comma after segment-name
/var/tmp//ccz37Hzj.s:3486:Rest of line ignored. 1st junk character valued 32 ( ).
/var/tmp//ccz37Hzj.s:10421:Expected comma after segment-name
/var/tmp//ccz37Hzj.s:10421:Rest of line ignored. 1st junk character valued 32 ( ).
/var/tmp//ccz37Hzj.s:11158:Expected comma after segment-name
/var/tmp//ccz37Hzj.s:11158:Rest of line ignored. 1st junk character valued 32 ( ).
/var/tmp//ccz37Hzj.s:11185:Expected comma after segment-name
/var/tmp//ccz37Hzj.s:11185:Rest of line ignored. 1st junk character valued 32 ( ).
/var/tmp//ccz37Hzj.s:11197:Expected comma after segment-name
/var/tmp//ccz37Hzj.s:11197:Rest of line ignored. 1st junk character valued 76 (L).
make[1]: *** [alld.o] Error 1
make: *** [dsql_objects] Error 2


Une idée ? Merci
wink.gif