Re: re compiling kannel
On Freitag, Oktober 18, 2002, at 06:00 Uhr, [EMAIL PROTECTED] wrote: Hi, I am in the process of compiling kannel on redhat 7.2 after using ./ configure i have got error xmllib should be higer version ie 2.2.5 or above , I have added a 2.4.13 xml version then it was ok and configuring and crearting a make file make sure your include files found by the makefile are the ones of your version 2.4.13 and not the ones which came with RedHat 7.2 (which are an older version). I would thus recommend to do a ./configure --prefix=/usr while compiling libxml. Another thing you might have to do on some systems is to make a symbolic link from /usr/include/libxml to point to /usr/include/libxml2/libxml. Shouldnt really be a problem on RedHat 7 as I've tried on multiple versions but I always compiled libxml on it myself. Andreas Fink Global Networks, Inc. -- Tel: +41-61-6932730 Fax: +41-61-6932729 Mobile: +41-79-2457333 Global Networks, Inc. Schwarzwaldallee 16, 4058 Basel, Switzerland Web: http://www.global-networks.ch/ [EMAIL PROTECTED] -- Member of the GSM Association
re compiling kannel
Hi, I am in the process of compiling kannel on redhat 7.2 after using ./ configure i have got error xmllib should be higer version ie 2.2.5 or above , I have added a 2.4.13 xml version then it was ok and configuring and crearting a make file while make it reports the following errors in ota_compiler.c no membercalled children in structure and in gwlib so many files reports undifined reference to functions ( exp in function lock ) can any body acn help me telling me thease missing parameters i have to add my self otherwise some more library i should add. Thanks Dakshin
cross-compiling kannel
I'm gonna try to cross-compile kannel to ARM architecture and I'm having some problems so far. I need to know if someone has already cross-compiled it and need every info and note that could help me. I don't need the *box, probably only the fakewap to simulate a client on an iPaq. Besides, and this probably is a question to Paul: Is there any possibility to use wtls and do a CONNECT like we do with SSL and encapsulate other packets through it ? I'm trying to encapsulate a ppp connection through it to try to have a network connection over the wap gw ;) (don't ask why) With SSL, I can ask for a CONNECT and then put my ppp over it, trough ssh (like a ssh vpn connection) and I need to know if WTLS permits it and which kannel utils/libs should I look for.
Re: Facing problem compiling Kannel 1.1.6
u'll have to download a later version of gnome-xml... 'children' used to be 'childs', iirc :) Date: Thu, 6 Jun 2002 05:16:48 +0100 (BST) From: Ed Ng [EMAIL PROTECTED] Subject: Facing problem compiling Kannel 1.1.6 To: [EMAIL PROTECTED] Hi All, I am having difficulties compiling kannel ver 1.1.6. I am using Redhat 7.2, downloaded the development version on the web-site (gateway-1.1.6.tar.gz). here's the error message: gcc -D_REENTRANT=1 -I. -g -02 -DBROKEN_PTHREADS=1 -I/usr/include/gnome-xml -I/usr/include/openssl -o gw/ota_compiler.o -c gw/ota_compiler.c gw/ota_compiler.c: In function 'ota_compile': gw/ota_compiler.c:160: warning: assigment makes point from integer without a cast gw/ota_compiler.c: In function 'parse_code': gw/ota_compiler.c:243: structure has no member named 'children' gw/ota_compiler.c:244: structure has no member named 'children' gw/ota_compiler.c:248: structure has no member named 'children' gw/ota_compiler.c:249: structure has no member named 'children' gw/ota_compiler.c: In function 'parse_attribute': gw/ota_compiler.c:356: structure has no member named 'children' gw/ota_compiler.c:357: structure has no member named 'children' make: ***[gw/ota_compiler.o] Error1 Can someone help me with this. Thanks Eddie __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
Error compiling Kannel CVS Snapshot (docs)
Hi All, I'm experiencing errors compiling Kannel CVS Snapshot related to the documentation. I compiled with enabledocs. I attached the compiling errors. Anybody can help? Thanks. sed s/#FIGTYPE#/.png/;s/#VERSION#/cvs-/;s/#DATE#/`date +%Y.%m.%d`/;s/#DRAFTS#/IGNORE/ doc/alligata/alligata.xml doc/alligata/alligata.tmp jade -V nochunks -t sgml -d /usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl doc/alligata/alligata.tmp doc/alligata/alligata.html rm -f doc/alligata/alligata.tmp sed s/#FIGTYPE#/.png/;s/#VERSION#/cvs-/;s/#DATE#/`date +%Y.%m.%d`/;s/#DRAFTS#/IGNORE/ doc/arch/arch.xml doc/arch/arch.tmp jade -V nochunks -t sgml -d /usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl doc/arch/arch.tmp doc/arch/arch.html rm -f doc/arch/arch.tmp sed s/#FIGTYPE#/.png/;s/#VERSION#/cvs-/;s/#DATE#/`date +%Y.%m.%d`/;s/#DRAFTS#/IGNORE/ doc/userguide/userguide.xml doc/userguide/userguide.tmp jade -V nochunks -t sgml -d /usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl doc/userguide/userguide.tmp doc/userguide/userguide.html rm -f doc/userguide/userguide.tmp sed s/#FIGTYPE#/.png/;s/#VERSION#/cvs-/;s/#DATE#/`date +%Y.%m.%d`/;s/#DRAFTS#/IGNORE/ doc/wtls/wtls.xml doc/wtls/wtls.tmp jade -V nochunks -t sgml -d /usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl doc/wtls/wtls.tmp doc/wtls/wtls.html rm -f doc/wtls/wtls.tmp sed s/#FIGTYPE#/.ps/;s/#VERSION#/cvs-/;s/#DATE#/`date +%Y.%m.%d`/;s/#DRAFTS#/IGNORE/ doc/alligata/alligata.xml doc/alligata/alligata.tmp cd `dirname doc/alligata/alligata.xml` jade -o `basename doc/alligata/alligata`.rtf -t rtf -d /usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl `basename doc/alligata/alligata`.tmp jade:E: cannot find wapdiagsmall.ps; tried wapdiagsmall.ps, /usr/share/sgml/wapdiagsmall.ps jade:E: cannot find licences.ps; tried licences.ps, /usr/share/sgml/licences.ps jade:E: cannot find maininst.ps; tried maininst.ps, /usr/share/sgml/maininst.ps jade:E: cannot find nearlydone.ps; tried nearlydone.ps, /usr/share/sgml/nearlydone.ps jade:E: cannot find done.ps; tried done.ps, /usr/share/sgml/done.ps jade:E: cannot find 11-1.ps; tried 11-1.ps, /usr/share/sgml/11-1.ps jade:E: cannot find 11-3.ps; tried 11-3.ps, /usr/share/sgml/11-3.ps jade:E: cannot find 11-4.ps; tried 11-4.ps, /usr/share/sgml/11-4.ps jade:E: cannot find 11-5.ps; tried 11-5.ps, /usr/share/sgml/11-5.ps jade:E: cannot find 12-2.ps; tried 12-2.ps, /usr/share/sgml/12-2.ps jade:E: cannot find 12-3.ps; tried 12-3.ps, /usr/share/sgml/12-3.ps jade:E: cannot find 12-4.ps; tried 12-4.ps, /usr/share/sgml/12-4.ps jade:E: cannot find 12-5.ps; tried 12-5.ps, /usr/share/sgml/12-5.ps jade:E: cannot find 12-6.ps; tried 12-6.ps, /usr/share/sgml/12-6.ps jade:E: cannot find 12-7.ps; tried 12-7.ps, /usr/share/sgml/12-7.ps jade:E: cannot find 12-8.ps; tried 12-8.ps, /usr/share/sgml/12-8.ps jade:E: cannot find 12-9.ps; tried 12-9.ps, /usr/share/sgml/12-9.ps jade:E: cannot find 12-10.ps; tried 12-10.ps, /usr/share/sgml/12-10.ps jade:E: cannot find 12-11.ps; tried 12-11.ps, /usr/share/sgml/12-11.ps jade:E: cannot find 12-12.ps; tried 12-12.ps, /usr/share/sgml/12-12.ps jade:E: cannot find 12-13.ps; tried 12-13.ps, /usr/share/sgml/12-13.ps jade:E: cannot find 13-5.ps; tried 13-5.ps, /usr/share/sgml/13-5.ps rm -f doc/alligata/alligata.tmp sed s/#FIGTYPE#/.ps/;s/#VERSION#/cvs-/;s/#DATE#/`date +%Y.%m.%d`/;s/#DRAFTS#/IGNORE/ doc/arch/arch.xml doc/arch/arch.tmp cd `dirname doc/arch/arch.xml` jade -o `basename doc/arch/arch`.rtf -t rtf -d /usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl `basename doc/arch/arch`.tmp jade:E: cannot find wap-arch.ps; tried wap-arch.ps, /usr/share/sgml/wap-arch.ps jade:E: cannot find wap-session.ps; tried wap-session.ps, /usr/share/sgml/wap-session.ps jade:E: cannot find conf-push-session.ps; tried conf-push-session.ps, /usr/share/sgml/conf-push-session.ps jade:E: cannot find external-interfaces.ps; tried external-interfaces.ps, /usr/share/sgml/external-interfaces.ps jade:E: cannot find kannel-boxes.ps; tried kannel-boxes.ps, /usr/share/sgml/kannel-boxes.ps jade:E: cannot find kannel-push-boxes.ps; tried kannel-push-boxes.ps, /usr/share/sgml/kannel-push-boxes.ps jade:E: cannot find bearerbox-arch.ps; tried bearerbox-arch.ps, /usr/share/sgml/bearerbox-arch.ps jade:E: cannot find wapbox-threads.ps; tried wapbox-threads.ps, /usr/share/sgml/wapbox-threads.ps jade:E: cannot find pushbox-threads.ps; tried pushbox-threads.ps, /usr/share/sgml/pushbox-threads.ps rm -f doc/arch/arch.tmp sed s/#FIGTYPE#/.ps/;s/#VERSION#/cvs-/;s/#DATE#/`date +%Y.%m.%d`/;s/#DRAFTS#/IGNORE/ doc/userguide/userguide.xml doc/userguide/userguide.tmp cd `dirname doc/userguide/userguide.xml` jade -o `basename doc/userguide/userguide`.rtf -t rtf -d /usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl `basename doc/userguide/userguide`.tmp jade:E: cannot find wap-gateway.ps; tried wap-gateway.ps, /usr/share/sgml/wap-gateway.ps jade:E: cannot find sms-gateway.ps; tried sms-gateway.ps, /usr/share
Facing problem compiling Kannel 1.1.6
Hi All, I am having difficulties compiling kannel ver 1.1.6. I am using Redhat 7.2, downloaded the development version on the web-site (gateway-1.1.6.tar.gz). here's the error message: gcc -D_REENTRANT=1 -I. -g -02 -DBROKEN_PTHREADS=1 -I/usr/include/gnome-xml -I/usr/include/openssl -o gw/ota_compiler.o -c gw/ota_compiler.c gw/ota_compiler.c: In function 'ota_compile': gw/ota_compiler.c:160: warning: assigment makes point from integer without a cast gw/ota_compiler.c: In function 'parse_code': gw/ota_compiler.c:243: structure has no member named 'children' gw/ota_compiler.c:244: structure has no member named 'children' gw/ota_compiler.c:248: structure has no member named 'children' gw/ota_compiler.c:249: structure has no member named 'children' gw/ota_compiler.c: In function 'parse_attribute': gw/ota_compiler.c:356: structure has no member named 'children' gw/ota_compiler.c:357: structure has no member named 'children' make: ***[gw/ota_compiler.o] Error1 Can someone help me with this. Thanks Eddie __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
problems compiling kannel with mySQL.
Hi list. I'm trying to compile kannel with mySQL support for dlr, and I'm having some problems with the include files. I've configured kannel with --with-mysql=/usr/local/mysql (where mysql is installed in our system - which is pretty standard for a /usr/local installation). now configure builds the include switch as -I/usr/local/mysql/include/mysql which seems apropriate to me. looking at the code I found to places that reference mysql : in gw/dlr.c and gw/shared.c . while the latter #include mysql_version.h (note: no relative path - should work) the former #include mysql/mysql.h which doesn't work since the relative path prefix makes gcc look for the file at /usr/local/mysql/include/mysql/mysql/mysql.h which doesn't exists of course. I always have to correct dlr.c by removing the prefix before I compile. I would be gratefull if someone can fix it in the CVS. Thanks Oded Arbel m-Wise ltd.
Re: problems compiling kannel with mySQL.
Hi list. I'm trying to compile kannel with mySQL support for dlr, and I'm having some problems with the include files. I've configured kannel with --with-mysql=/usr/local/mysql (where mysql is installed in our system - which is pretty standard for a /usr/local installation). now configure builds the include switch as -I/usr/local/mysql/include/mysql which seems apropriate to me. looking at the code I found to places that reference mysql : in gw/dlr.c and gw/shared.c . while the latter #include mysql_version.h (note: no relative path - should work) the former #include mysql/mysql.h which doesn't work since the relative path prefix makes gcc look for the file at /usr/local/mysql/include/mysql/mysql/mysql.h which doesn't exists of course. I think what you need to do is a make install of your mysql installation. That should put the files into the places where they belong. include files should be in /usr/local/include/mysql/*.h and library in /usr/local/lib or for other installations (like my RedHat 7.1) in /usr/include/mysql and /usr/lib depending on what you have set as PATH. in the worst case a simple symbolic link from /usr/include/mysql pointing to your include files directory should do the trick. -- Andreas Fink Fink-Consulting -- Tel: +41-61-6932730 Fax: +41-61-6932729 Mobile: +41-79-2457333 Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland E-Mail: [EMAIL PROTECTED] Homepage: http://www.finkconsulting.com -- Something urgent? Try http://www.smsrelay.com/ Nickname afink
RE: problems compiling kannel with mySQL.
I think you missed the point. my files are where they are supposed to be. all the include files are at /usr/local/mysql/include/mysql/*.h which is where they're supposed to be in a --prefix=/usr/local/mysql installation of mySQL.. you refer to a --prefix=/usr/local installation, which is not the case here - note the kannel configuration switch I used. I simply claim that the two files that include mySQL headers don't agree with each other where those headers are supposed to be, and one of them does not agree with the configure script - in which case one of those should be fixed : either the configure script and gw/shared.c or gw/dlr.c. [oded@superion gateway]$./configure --with-mysql=/usr/local/mysql --enable-mysql-dlr [oded@superion gateway]$ make snip gcc -D_REENTRANT=1 -I. -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -DBROKEN_PTHREADS=1 -I/usr/local/mysql/include/mysql -o gw/dlr.o -c gw/dlr.c gw/dlr.c:47: mysql/mysql.h: No such file or directory make: *** [gw/dlr.o] Error 1 [oded@superion gateway]$ rgrep '#include.*mysql' * gw/dlr.c:#include mysql/mysql.h gw/shared.c:#include mysql_version.h [oded@superion gateway]$ locate mysql_version.h /usr/local/mysql/include/mysql/mysql_version.h [oded@superion gateway]$ locate mysql.h /usr/local/mysql/include/mysql/mysql.h mysql_version.h and mysql.h are located at the same directory, but the sources expect them to be at a different location. Please state if you do not wish to fix the sources, in which case I'll have to submit for mySQL AB to fix their installation script to copy the files based on where Kannel expects them to be. Thanks Oded Arbel m-Wise ltd. -Original Message- From: Andreas Fink [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 2:58 PM To: Oded Arbel Cc: [EMAIL PROTECTED] Subject: Re: problems compiling kannel with mySQL. Hi list. I'm trying to compile kannel with mySQL support for dlr, and I'm having some problems with the include files. I've configured kannel with --with-mysql=/usr/local/mysql (where mysql is installed in our system - which is pretty standard for a /usr/local installation). now configure builds the include switch as -I/usr/local/mysql/include/mysql which seems apropriate to me. looking at the code I found to places that reference mysql : in gw/dlr.c and gw/shared.c . while the latter #include mysql_version.h (note: no relative path - should work) the former #include mysql/mysql.h which doesn't work since the relative path prefix makes gcc look for the file at /usr/local/mysql/include/mysql/mysql/mysql.h which doesn't exists of course. I think what you need to do is a make install of your mysql installation. That should put the files into the places where they belong. include files should be in /usr/local/include/mysql/*.h and library in /usr/local/lib or for other installations (like my RedHat 7.1) in /usr/include/mysql and /usr/lib depending on what you have set as PATH. in the worst case a simple symbolic link from /usr/include/mysql pointing to your include files directory should do the trick. -- Andreas Fink Fink-Consulting -- Tel: +41-61-6932730 Fax: +41-61-6932729 Mobile: +41-79-2457333 Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland E-Mail: [EMAIL PROTECTED] Homepage: http://www.finkconsulting.com -- Something urgent? Try http://www.smsrelay.com/ Nickname afink
RE: problems compiling kannel with mySQL.
I think you missed the point. my files are where they are supposed to be. all the include files are at /usr/local/mysql/include/mysql/*.h which is where they're supposed to be in a --prefix=/usr/local/mysql installation of mySQL.. you refer to a --prefix=/usr/local installation, which is not the case here - note the kannel configuration switch I used. I simply claim that the two files that include mySQL headers don't agree with each other where those headers are supposed to be, and one of them does not agree with the configure script - in which case one of those should be fixed : either the configure script and gw/shared.c or gw/dlr.c. well you say that the include files are supposed to be in /usr/local/mysql/include/mysql/*.h, well they arent in my mysql installations (Redhat 7.1, Cobalt Cube 6.2, MacOS X) and many others out there. ln -s /usr/local/mysql/include/mysql /usr/include/mysql And you're all set. For now and for the future. [oded@superion gateway]$./configure --with-mysql=/usr/local/mysql --enable-mysql-dlr [oded@superion gateway]$ make snip gcc -D_REENTRANT=1 -I. -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -DBROKEN_PTHREADS=1 -I/usr/local/mysql/include/mysql -o gw/dlr.o -c gw/dlr.c gw/dlr.c:47: mysql/mysql.h: No such file or directory make: *** [gw/dlr.o] Error 1 [oded@superion gateway]$ rgrep '#include.*mysql' * gw/dlr.c:#include mysql/mysql.h gw/shared.c:#include mysql_version.h [oded@superion gateway]$ locate mysql_version.h /usr/local/mysql/include/mysql/mysql_version.h [oded@superion gateway]$ locate mysql.h /usr/local/mysql/include/mysql/mysql.h mysql_version.h and mysql.h are located at the same directory, but the sources expect them to be at a different location. Please state if you do not wish to fix the sources, in which case I'll have to submit for mySQL AB to fix their installation script to copy the files based on where Kannel expects them to be. Well are you really sure those include files are not copied to /usr/include/mysql (or some other reasonable location) once you type make install in the mysql distribution? It would mean that EVERY standard application being compiled using mysql needs specific compile flags to find the include files and library files. I dont think so. In any case, kannel has to know where they are and in your case they seem to be not in a location where any kannel developer has found them before. -- Andreas Fink Fink-Consulting -- Tel: +41-61-6932730 Fax: +41-61-6932729 Mobile: +41-79-2457333 Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland E-Mail: [EMAIL PROTECTED] Homepage: http://www.finkconsulting.com -- Something urgent? Try http://www.smsrelay.com/ Nickname afink
RE: problems compiling kannel with mySQL.
Yaouch ! this will still not work - it doesn't matter where mySQL include files are, as long as mysql.h and mysql_version.h are on the same directory, kannel will not compile successful. check your installtion - my installation is default, so unless mySQL has changed the location of it's mysql_version.h file sometime and we have different versions, your's should be just the same as mine. Oded Arbel m-Wise ltd. -Original Message- From: Andreas Fink [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 3:34 PM To: Oded Arbel Cc: [EMAIL PROTECTED] Subject: RE: problems compiling kannel with mySQL. I think you missed the point. my files are where they are supposed to be. all the include files are at /usr/local/mysql/include/mysql/*.h which is where they're supposed to be in a --prefix=/usr/local/mysql installation of mySQL.. you refer to a --prefix=/usr/local installation, which is not the case here - note the kannel configuration switch I used. I simply claim that the two files that include mySQL headers don't agree with each other where those headers are supposed to be, and one of them does not agree with the configure script - in which case one of those should be fixed : either the configure script and gw/shared.c or gw/dlr.c. well you say that the include files are supposed to be in /usr/local/mysql/include/mysql/*.h, well they arent in my mysql installations (Redhat 7.1, Cobalt Cube 6.2, MacOS X) and many others out there. ln -s /usr/local/mysql/include/mysql /usr/include/mysql And you're all set. For now and for the future. [oded@superion gateway]$./configure --with-mysql=/usr/local/mysql --enable-mysql-dlr [oded@superion gateway]$ make snip gcc -D_REENTRANT=1 -I. -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -DBROKEN_PTHREADS=1 -I/usr/local/mysql/include/mysql -o gw/dlr.o -c gw/dlr.c gw/dlr.c:47: mysql/mysql.h: No such file or directory make: *** [gw/dlr.o] Error 1 [oded@superion gateway]$ rgrep '#include.*mysql' * gw/dlr.c:#include mysql/mysql.h gw/shared.c:#include mysql_version.h [oded@superion gateway]$ locate mysql_version.h /usr/local/mysql/include/mysql/mysql_version.h [oded@superion gateway]$ locate mysql.h /usr/local/mysql/include/mysql/mysql.h mysql_version.h and mysql.h are located at the same directory, but the sources expect them to be at a different location. Please state if you do not wish to fix the sources, in which case I'll have to submit for mySQL AB to fix their installation script to copy the files based on where Kannel expects them to be. Well are you really sure those include files are not copied to /usr/include/mysql (or some other reasonable location) once you type make install in the mysql distribution? It would mean that EVERY standard application being compiled using mysql needs specific compile flags to find the include files and library files. I dont think so. In any case, kannel has to know where they are and in your case they seem to be not in a location where any kannel developer has found them before. -- Andreas Fink Fink-Consulting -- Tel: +41-61-6932730 Fax: +41-61-6932729 Mobile: +41-79-2457333 Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland E-Mail: [EMAIL PROTECTED] Homepage: http://www.finkconsulting.com -- Something urgent? Try http://www.smsrelay.com/ Nickname afink
Re: problems compiling kannel with mySQL.
On Tue, Jan 08, 2002 at 03:40:54PM +0200, Oded Arbel wrote: Yaouch ! this will still not work - it doesn't matter where mySQL include files are, as long as mysql.h and mysql_version.h are on the same directory, kannel will not compile successful. Really? It works fine for me with them both in /usr/include/mysql: [dholland@geodude dholland]$ locate mysql.h /usr/include/mysql/mysql.h [dholland@geodude dholland]$ locate mysql_version.h /usr/include/mysql/mysql_version.h [dholland@geodude dholland]$ [dholland@geodude gateway]$ ./configure --with-mysql=/usr . checking for MySQL client support in... /usr checking for /usr/include/mysql/mysql.h... yes checking for mysql/mysql.h... yes checking for mysql/mysql_com.h... yes checking for mysql/mysql_version.h... yes . and the build succeeds. This is on Red Hat 7.1 with the mysql-devel-3.23.36-1 rpm. I am interested to know what the difference in file layouts is between the Red Hat packaged version and the default MySQL install. Dave -- David Holland =*= Systems Manager =*= tel: +44 01223 478900 http://www.3glab.com/ =*= 3G Lab, UK =*= fax: +44 01223 478901
RE: problems compiling kannel with mySQL.
You are right, sorry. by installing mySQL with --prefix=/usr it will compile while both files are in the same directory, because the configure script (when called with --with-mysql=/usr) will build a include switch for mysql by slapping /include/mysql on it's with-mysql dir, which will help gw/shared.c include mysql_version.h, and also - gcc always implicitly includes /usr/include which will allow gw/dlr.c to include mysql/mysql.h . I guess that a similar conicidence causes mySQL installation with --prefix=/usr/local to work also. but it still causes kannel to fail compilation with mysql installations to non-standard prefix (which does not mean that the installation is non standard - just that it's in a non-standard directory). the whole point of the --with-mysql switch to allow people to install mySQL to non-standard location, otherwise a simple search will do. Oded Arbel m-Wise ltd. -Original Message- From: David Holland [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 4:34 PM To: Oded Arbel Cc: [EMAIL PROTECTED] Subject: Re: problems compiling kannel with mySQL. On Tue, Jan 08, 2002 at 03:40:54PM +0200, Oded Arbel wrote: Yaouch ! this will still not work - it doesn't matter where mySQL include files are, as long as mysql.h and mysql_version.h are on the same directory, kannel will not compile successful. Really? It works fine for me with them both in /usr/include/mysql: [dholland@geodude dholland]$ locate mysql.h /usr/include/mysql/mysql.h [dholland@geodude dholland]$ locate mysql_version.h /usr/include/mysql/mysql_version.h [dholland@geodude dholland]$ [dholland@geodude gateway]$ ./configure --with-mysql=/usr . checking for MySQL client support in... /usr checking for /usr/include/mysql/mysql.h... yes checking for mysql/mysql.h... yes checking for mysql/mysql_com.h... yes checking for mysql/mysql_version.h... yes . and the build succeeds. This is on Red Hat 7.1 with the mysql-devel-3.23.36-1 rpm. I am interested to know what the difference in file layouts is between the Red Hat packaged version and the default MySQL install. Dave -- David Holland =*= Systems Manager =*= tel: +44 01223 478900 http://www.3glab.com/ =*= 3G Lab, UK =*= fax: +44 01223 478901