php-install Digest 1 Sep 2001 03:47:07 -0000 Issue 438 Topics (messages 4135 through 4145): phg_get_error_ptr 4135 by: ron Re: Unable to initialize module 4136 by: Mauro Sandrini php 4.0.6, pdflib 4.0.1, mac osx 4137 by: Steve Cayford 4138 by: Jani Taskinen 4139 by: Steve Cayford 4140 by: Jani Taskinen 4141 by: Steve Cayford 4142 by: Steve Cayford 4144 by: Jim Thome Anyone else getting SMTP import error #-5 ? 4143 by: Steve Cayford Compiling problem on Solaris 8/Iplanet Webserver 6.0/Mysql 4145 by: Paul Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
Hi All, I try to start apache and get the error: Cannot load /usr/local/apache/libexec/libphp4.so into seerver: /usr/lib/libgd.so: undefined symbo: png_get_error_ptr can any of you give me a hint ? TIA Ron
Hi everybody! I was trying to install a debugger system on my php enviroment (win2k professional, apache 1.3.2.0, php 4.0.6., dbg last versione downloaded from dbg site). Unfortunately I was unable to make it work. I've tried to find on the php, dbg and apache reference some support materials but with no luck! Seems that everything runs ok for everybody (that make me more curious to try your application). Whent I start apache I get the message in the apache errors log file: PHP Warning: dbg: Unable to initialize module Module compiled with debug=0, thread-safety=1 module API=20001214 PHP compiled with debug=0, thread-safety=1 module API=20001222 These options need to match in Unknown on line 0 I'm pretty sure to have followed the installation procedure of dbg, php and apache literally. And to have download the latest version of dpg and php. Any idea about this? Thanks to everybody. Mauro Sandrini -- Faenza -- Italy
From browsing the archives, it looks like getting pdflib into php takes luck and persistence to achieve the magical configure options, and I'm running low on both. I'm trying to get pdflib 4.0.1 to work with php 4.0.6 and apache 1.3.20 on mac osx 10.0.3 php and apache work great and I'm eager to get pdflib up and running. It seems that my attempts fail in one of two ways: if I don't set the php configure option --with-pdflib=/usr/local/lib (with the complete directory like that), then configure stops at pdf_show_boxed with the error: "pdflib extension requires at least pdflib 3.x. You may also need libtiff and libjpeg." The config.log shows this error: "/usr/bin/ld: /usr/lib/libpdf.dylib is input for the dynamic link editor, is not relocatable by the static link editor again" (/usr/lib/libpdf.dylib is a symbolic link I made to /usr/local/lib/libpdf.dylib), which is odd, since it would seem to be finding the right directory. If I do set the option --with-pdflib=/usr/local/lib, then everything builds just fine, but there doesn't seem to be any pdflib functionality in php. I saw a couple references to listing libpdf_php.so in the php.ini file. On mac osx I would assume this to be libpdf_php.dylib instead, but I don't find either of these anywhere. Another reference said to download this file as a binary and install it manually, but there is no binary pdflib with php support listed for mac osx. Hmm. There it is. Any ideas, suggestions? Here are my latest configure options for pdflib: ./configure --enable-php --enable-cxx --enable-shared-pdflib --enable-static --enable-shared and my latest attempt for php: ./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs --with-openssl --enable-trans-sid --with-pdflib=/usr/local/lib --enable-shared=pdflib --with-mysql=/usr/local --with-jpeg- dir=/usr/local --with-tiff-dir=/usr/local
By using the correct configure options you would succeed: --with-pdflib=/usr/local You might also need to use --with-jpeg-dir , --with-png-dir , --with-tiff-dir if these libraries are not in your libpath. --Jani On Fri, 31 Aug 2001, Steve Cayford wrote: > From browsing the archives, it looks like getting pdflib into php takes >luck and persistence to achieve the magical configure options, and I'm >running low on both. > >I'm trying to get pdflib 4.0.1 to work with php 4.0.6 and apache 1.3.20 >on mac osx 10.0.3 > >php and apache work great and I'm eager to get pdflib up and running. > >It seems that my attempts fail in one of two ways: if I don't set the >php configure option --with-pdflib=/usr/local/lib (with the complete >directory like that), then configure stops at pdf_show_boxed with the >error: "pdflib extension requires at least pdflib 3.x. You may also need >libtiff and libjpeg." > >The config.log shows this error: "/usr/bin/ld: /usr/lib/libpdf.dylib is >input for the dynamic link editor, is not relocatable by the static link >editor again" (/usr/lib/libpdf.dylib is a symbolic link I made to >/usr/local/lib/libpdf.dylib), which is odd, since it would seem to be >finding the right directory. > >If I do set the option --with-pdflib=/usr/local/lib, then everything >builds just fine, but there doesn't seem to be any pdflib functionality >in php. > >I saw a couple references to listing libpdf_php.so in the php.ini file. >On mac osx I would assume this to be libpdf_php.dylib instead, but I >don't find either of these anywhere. Another reference said to download >this file as a binary and install it manually, but there is no binary >pdflib with php support listed for mac osx. > >Hmm. There it is. Any ideas, suggestions? > >Here are my latest configure options for pdflib: >./configure --enable-php --enable-cxx --enable-shared-pdflib >--enable-static --enable-shared > >and my latest attempt for php: >./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs >--with-openssl --enable-trans-sid --with-pdflib=/usr/local/lib >--enable-shared=pdflib --with-mysql=/usr/local --with-jpeg- >dir=/usr/local --with-tiff-dir=/usr/local > > >
Yup, tried it. ./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs --with-openssl --enable-trans-sid --with-pdflib=/usr/local --enable-shared=pdflib --with-mysql=/usr/local --with-jpeg- dir=/usr/local --with-tiff-dir=/usr/local This gives me the error: configure: error: pdflib extension requires at least pdflib 3.x. and the config.log error says: /usr/bin/ld: /usr/local/lib/libpdf.dylib is input for the dynamic link editor, is not relocatable by the static link editor again On Friday, August 31, 2001, at 01:29 PM, Jani Taskinen wrote: > > By using the correct configure options you would succeed: > > --with-pdflib=/usr/local > > You might also need to use --with-jpeg-dir , --with-png-dir , > --with-tiff-dir if these libraries are not in your libpath. > > --Jani > > > On Fri, 31 Aug 2001, Steve Cayford wrote: > >> From browsing the archives, it looks like getting pdflib into php takes >> luck and persistence to achieve the magical configure options, and I'm >> running low on both. >> >> I'm trying to get pdflib 4.0.1 to work with php 4.0.6 and apache 1.3.20 >> on mac osx 10.0.3 >> >> php and apache work great and I'm eager to get pdflib up and running. >> >> It seems that my attempts fail in one of two ways: if I don't set the >> php configure option --with-pdflib=/usr/local/lib (with the complete >> directory like that), then configure stops at pdf_show_boxed with the >> error: "pdflib extension requires at least pdflib 3.x. You may also >> need >> libtiff and libjpeg." >> >> The config.log shows this error: "/usr/bin/ld: /usr/lib/libpdf.dylib is >> input for the dynamic link editor, is not relocatable by the static >> link >> editor again" (/usr/lib/libpdf.dylib is a symbolic link I made to >> /usr/local/lib/libpdf.dylib), which is odd, since it would seem to be >> finding the right directory. >> >> If I do set the option --with-pdflib=/usr/local/lib, then everything >> builds just fine, but there doesn't seem to be any pdflib functionality >> in php. >> >> I saw a couple references to listing libpdf_php.so in the php.ini file. >> On mac osx I would assume this to be libpdf_php.dylib instead, but I >> don't find either of these anywhere. Another reference said to download >> this file as a binary and install it manually, but there is no binary >> pdflib with php support listed for mac osx. >> >> Hmm. There it is. Any ideas, suggestions? >> >> Here are my latest configure options for pdflib: >> ./configure --enable-php --enable-cxx --enable-shared-pdflib >> --enable-static --enable-shared >> >> and my latest attempt for php: >> ./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs >> --with-openssl --enable-trans-sid --with-pdflib=/usr/local/lib >> --enable-shared=pdflib --with-mysql=/usr/local --with-jpeg- >> dir=/usr/local --with-tiff-dir=/usr/local >> >> >> > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
Could you paste the last 20 lines of your config.log ? --Jani On Fri, 31 Aug 2001, Steve Cayford wrote: >Yup, tried it. > >./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs >--with-openssl --enable-trans-sid --with-pdflib=/usr/local >--enable-shared=pdflib --with-mysql=/usr/local --with-jpeg- >dir=/usr/local --with-tiff-dir=/usr/local > >This gives me the error: >configure: error: pdflib extension requires at least pdflib 3.x. > >and the config.log error says: >/usr/bin/ld: /usr/local/lib/libpdf.dylib is input for the dynamic link >editor, is not relocatable by the static link editor again > > >On Friday, August 31, 2001, at 01:29 PM, Jani Taskinen wrote: > >> >> By using the correct configure options you would succeed: >> >> --with-pdflib=/usr/local >> >> You might also need to use --with-jpeg-dir , --with-png-dir , >> --with-tiff-dir if these libraries are not in your libpath. >> >> --Jani >> >> >> On Fri, 31 Aug 2001, Steve Cayford wrote: >> >>> From browsing the archives, it looks like getting pdflib into php takes >>> luck and persistence to achieve the magical configure options, and I'm >>> running low on both. >>> >>> I'm trying to get pdflib 4.0.1 to work with php 4.0.6 and apache 1.3.20 >>> on mac osx 10.0.3 >>> >>> php and apache work great and I'm eager to get pdflib up and running. >>> >>> It seems that my attempts fail in one of two ways: if I don't set the >>> php configure option --with-pdflib=/usr/local/lib (with the complete >>> directory like that), then configure stops at pdf_show_boxed with the >>> error: "pdflib extension requires at least pdflib 3.x. You may also >>> need >>> libtiff and libjpeg." >>> >>> The config.log shows this error: "/usr/bin/ld: /usr/lib/libpdf.dylib is >>> input for the dynamic link editor, is not relocatable by the static >>> link >>> editor again" (/usr/lib/libpdf.dylib is a symbolic link I made to >>> /usr/local/lib/libpdf.dylib), which is odd, since it would seem to be >>> finding the right directory. >>> >>> If I do set the option --with-pdflib=/usr/local/lib, then everything >>> builds just fine, but there doesn't seem to be any pdflib functionality >>> in php. >>> >>> I saw a couple references to listing libpdf_php.so in the php.ini file. >>> On mac osx I would assume this to be libpdf_php.dylib instead, but I >>> don't find either of these anywhere. Another reference said to download >>> this file as a binary and install it manually, but there is no binary >>> pdflib with php support listed for mac osx. >>> >>> Hmm. There it is. Any ideas, suggestions? >>> >>> Here are my latest configure options for pdflib: >>> ./configure --enable-php --enable-cxx --enable-shared-pdflib >>> --enable-static --enable-shared >>> >>> and my latest attempt for php: >>> ./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs >>> --with-openssl --enable-trans-sid --with-pdflib=/usr/local/lib >>> --enable-shared=pdflib --with-mysql=/usr/local --with-jpeg- >>> dir=/usr/local --with-tiff-dir=/usr/local >>> >>> >>> >> >
On Friday, August 31, 2001, at 01:54 PM, Jani Taskinen wrote: > > Could you paste the last 20 lines of your config.log ? > > --Jani > > Yep... > configure:40416: checking for the location of libtiff > configure:40460: checking for TIFFOpen in -ltiff > configure:40481: cc -o conftest -g -O2 -traditional-cpp -DDARWIN > -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 -L/usr/local/ssl/lib > -L/usr/local/ssl/lib -L/usr/local/lib/mysql -L/usr/local/lib/mysql > -L/usr/local/lib -L/usr/local/lib conftest.c -ltiff > -L/usr/local/lib > -ljpeg -lz -lmysqlclient -lz -lz -lssl -lcrypto -lm 1>&5 > configure:40675: checking for PDF_show_boxed in -lpdf > configure:40696: cc -o conftest -g -O2 -traditional-cpp -DDARWIN > -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 -L/usr/local/ssl/lib > -L/usr/local/ssl/lib -L/usr/local/lib/mysql -L/usr/local/lib/mysql > -L/usr/local/lib -L/usr/local/lib conftest.c -lpdf > -L/usr/local/lib > -ltiff -ljpeg -lz -lmysqlclient -lz -lz -lssl -lcrypto -lm > 1>&5 > /usr/bin/ld: /usr/local/lib/libpdf.dylib is input for the dynamic link > editor, is not relocatable by the static link editor again > configure: failed program was: > #line 40685 "configure" > #include "confdefs.h" > /* Override any gcc2 internal prototype to avoid an error. */ > /* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ > char PDF_show_boxed(); > > int main() { > PDF_show_boxed() > ; return 0; } > On Fri, 31 Aug 2001, Steve Cayford wrote: > >> Yup, tried it. >> >> ./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs >> --with-openssl --enable-trans-sid --with-pdflib=/usr/local >> --enable-shared=pdflib --with-mysql=/usr/local --with-jpeg- >> dir=/usr/local --with-tiff-dir=/usr/local >> >> This gives me the error: >> configure: error: pdflib extension requires at least pdflib 3.x. >> >> and the config.log error says: >> /usr/bin/ld: /usr/local/lib/libpdf.dylib is input for the dynamic link >> editor, is not relocatable by the static link editor again >>
Well, I had high hopes. PHP configured and built succesfully, I installed it, restarted apache, but it still gives me an undefined function error when it hits pdf_new() in the test script. I'm assuming that I can just use make install and write over the previous version. Am I right in thinking that libpdf_php.so or libpdf_php.dylib is the library I'm trying to get? If I search my build directory I find libraries for perl (libpdflib_pl.dylib), and java (libpdf_java.jnilib and libpdf_java.dylib), and of course libpdf.dylib, but no corresponding php library. Oh, yeah, here's the configure options I used: ./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs --with-openssl --enable-trans-sid --with- pdflib=/Users/steve/build/pdflib/pdflib-4.0.1/bind/c --enable- shared=pdflib --with-mysql=/usr/local Thanks for your time. -Steve On Friday, August 31, 2001, at 02:02 PM, Jim Thome wrote: > Steve- > > I got pdflib running on our system (HPUX), however it took nearly two > weeks of trial and error. I have the whole thing documented so I'm > sure I can help you get your system running. We had some OS specific > problems that required us to purchase the library, but now that we have > it up and running it was worth the effort. > > For now, take out the jpeg and tiff library options (they are not > necessary for pdflib 4.0.1) and modify your configure line to be as > follows: > > ./configure --with-xml --with-apxs=/usr/sbin/apxs --with-openssl > --enable-trans-sid --with-mysql=/usr/local --with-zlib --with-zlib- > dir=/path/to/zlibdir -enable-shared=pdflib --with- > pdflib=/path/to/pdflib-4.0.1/bind/c > > Please note that you are pointing to the pdflib source AND NOT the > installation directory like PHP install instructions say. > > Let me know how that goes if there is anything else you need to try. > > Regards, > > > Jim Thome > Web Technology Administrator > City of Fort Collins > 215 N. Mason > Fort Collins, CO 80522 > email: [EMAIL PROTECTED] > Phone: 970-416-2621 > Web: http://fcgov.com > >>>> Steve Cayford <[EMAIL PROTECTED]> 08/31 12:41 PM >>> > Yup, tried it. > > ./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs > --with-openssl --enable-trans-sid --with-pdflib=/usr/local > --enable-shared=pdflib --with-mysql=/usr/local --with-jpeg- > dir=/usr/local --with-tiff-dir=/usr/local > > This gives me the error: > configure: error: pdflib extension requires at least pdflib 3.x. > > and the config.log error says: > /usr/bin/ld: /usr/local/lib/libpdf.dylib is input for the dynamic link > editor, is not relocatable by the static link editor again > > > On Friday, August 31, 2001, at 01:29 PM, Jani Taskinen wrote: > >> >> By using the correct configure options you would succeed: >> >> --with-pdflib=/usr/local >> >> You might also need to use --with-jpeg-dir , --with-png-dir , >> --with-tiff-dir if these libraries are not in your libpath. >> >> --Jani >> >> >> On Fri, 31 Aug 2001, Steve Cayford wrote: >> >>> From browsing the archives, it looks like getting pdflib into php >>> takes >>> luck and persistence to achieve the magical configure options, and I'm >>> running low on both. >>> >>> I'm trying to get pdflib 4.0.1 to work with php 4.0.6 and apache >>> 1.3.20 >>> on mac osx 10.0.3 >>> >>> php and apache work great and I'm eager to get pdflib up and running. >>> >>> It seems that my attempts fail in one of two ways: if I don't set the >>> php configure option --with-pdflib=/usr/local/lib (with the complete >>> directory like that), then configure stops at pdf_show_boxed with the >>> error: "pdflib extension requires at least pdflib 3.x. You may also >>> need >>> libtiff and libjpeg." >>> >>> The config.log shows this error: "/usr/bin/ld: /usr/lib/libpdf.dylib >>> is >>> input for the dynamic link editor, is not relocatable by the static >>> link >>> editor again" (/usr/lib/libpdf.dylib is a symbolic link I made to >>> /usr/local/lib/libpdf.dylib), which is odd, since it would seem to be >>> finding the right directory. >>> >>> If I do set the option --with-pdflib=/usr/local/lib, then everything >>> builds just fine, but there doesn't seem to be any pdflib >>> functionality >>> in php. >>> >>> I saw a couple references to listing libpdf_php.so in the php.ini >>> file. >>> On mac osx I would assume this to be libpdf_php.dylib instead, but I >>> don't find either of these anywhere. Another reference said to >>> download >>> this file as a binary and install it manually, but there is no binary >>> pdflib with php support listed for mac osx. >>> >>> Hmm. There it is. Any ideas, suggestions? >>> >>> Here are my latest configure options for pdflib: >>> ./configure --enable-php --enable-cxx --enable-shared-pdflib >>> --enable-static --enable-shared >>> >>> and my latest attempt for php: >>> ./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs >>> --with-openssl --enable-trans-sid --with-pdflib=/usr/local/lib >>> --enable-shared=pdflib --with-mysql=/usr/local --with-jpeg- >>> dir=/usr/local --with-tiff-dir=/usr/local >>> >>> >>> >> >> >> -- >> PHP Install Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> To contact the list administrators, e-mail: php-list- >> [EMAIL PROTECTED] >> > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
Steve- Here is what I do for a fresh install of PHP/pdflib: -Remove PHP directory -untar PHP -copy /path/to/pdflib/bind/php/ext/pdf/* to /path/to/php/ext/pdf -download latest pdf.c from PHP cvs and copy to /path/to/php/ext/pdf -run config (mine is shown below): ./configure --with-apxs=/path/to/apxs --with-mysql=no --with-pdflib=/path/to/pdflib-4.0.1-HP-UX/bind/c --enable-shared=pdflib --enable-libgcc --with-zlib=/opt/zlib --with-zlib-dir=/opt/zlib -make -make install NOTE- The binary distribution of pdflib is much more solid and is easier to get going. I highly recommend that you download that version and see if you can get it running. Also, watch the compile of PHP carefully and look for the "pdf_show_boxed " line. If it doesn't show that line, you won't have the pdflib compiled (even though PHP will show that the pdflib is being included). If that line doesn't show up, it is likely due to the path/to/pdflib/bind/c is not correct. You can point the --with-pdflib option to anything and it will compile, but it has to be to that bind/c directory, preferably the binary version. Jim >>> Steve Cayford <[EMAIL PROTECTED]> 08/31 2:16 PM >>> Well, I had high hopes. PHP configured and built succesfully, I installed it, restarted apache, but it still gives me an undefined function error when it hits pdf_new() in the test script. I'm assuming that I can just use make install and write over the previous version. Am I right in thinking that libpdf_php.so or libpdf_php.dylib is the library I'm trying to get? If I search my build directory I find libraries for perl (libpdflib_pl.dylib), and java (libpdf_java.jnilib and libpdf_java.dylib), and of course libpdf.dylib, but no corresponding php library. Oh, yeah, here's the configure options I used: ./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs --with-openssl --enable-trans-sid --with- pdflib=/Users/steve/build/pdflib/pdflib-4.0.1/bind/c --enable- shared=pdflib --with-mysql=/usr/local Thanks for your time. -Steve On Friday, August 31, 2001, at 02:02 PM, Jim Thome wrote: > Steve- > > I got pdflib running on our system (HPUX), however it took nearly two > weeks of trial and error. I have the whole thing documented so I'm > sure I can help you get your system running. We had some OS specific > problems that required us to purchase the library, but now that we have > it up and running it was worth the effort. > > For now, take out the jpeg and tiff library options (they are not > necessary for pdflib 4.0.1) and modify your configure line to be as > follows: > > ./configure --with-xml --with-apxs=/usr/sbin/apxs --with-openssl > --enable-trans-sid --with-mysql=/usr/local --with-zlib --with-zlib- > dir=/path/to/zlibdir -enable-shared=pdflib --with- > pdflib=/path/to/pdflib-4.0.1/bind/c > > Please note that you are pointing to the pdflib source AND NOT the > installation directory like PHP install instructions say. > > Let me know how that goes if there is anything else you need to try. > > Regards, > > > Jim Thome > Web Technology Administrator > City of Fort Collins > 215 N. Mason > Fort Collins, CO 80522 > email: [EMAIL PROTECTED] > Phone: 970-416-2621 > Web: http://fcgov.com > >>>> Steve Cayford <[EMAIL PROTECTED]> 08/31 12:41 PM >>> > Yup, tried it. > > ./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs > --with-openssl --enable-trans-sid --with-pdflib=/usr/local > --enable-shared=pdflib --with-mysql=/usr/local --with-jpeg- > dir=/usr/local --with-tiff-dir=/usr/local > > This gives me the error: > configure: error: pdflib extension requires at least pdflib 3.x. > > and the config.log error says: > /usr/bin/ld: /usr/local/lib/libpdf.dylib is input for the dynamic link > editor, is not relocatable by the static link editor again > > > On Friday, August 31, 2001, at 01:29 PM, Jani Taskinen wrote: > >> >> By using the correct configure options you would succeed: >> >> --with-pdflib=/usr/local >> >> You might also need to use --with-jpeg-dir , --with-png-dir , >> --with-tiff-dir if these libraries are not in your libpath. >> >> --Jani >> >> >> On Fri, 31 Aug 2001, Steve Cayford wrote: >> >>> From browsing the archives, it looks like getting pdflib into php >>> takes >>> luck and persistence to achieve the magical configure options, and I'm >>> running low on both. >>> >>> I'm trying to get pdflib 4.0.1 to work with php 4.0.6 and apache >>> 1.3.20 >>> on mac osx 10.0.3 >>> >>> php and apache work great and I'm eager to get pdflib up and running. >>> >>> It seems that my attempts fail in one of two ways: if I don't set the >>> php configure option --with-pdflib=/usr/local/lib (with the complete >>> directory like that), then configure stops at pdf_show_boxed with the >>> error: "pdflib extension requires at least pdflib 3.x. You may also >>> need >>> libtiff and libjpeg." >>> >>> The config.log shows this error: "/usr/bin/ld: /usr/lib/libpdf.dylib >>> is >>> input for the dynamic link editor, is not relocatable by the static >>> link >>> editor again" (/usr/lib/libpdf.dylib is a symbolic link I made to >>> /usr/local/lib/libpdf.dylib), which is odd, since it would seem to be >>> finding the right directory. >>> >>> If I do set the option --with-pdflib=/usr/local/lib, then everything >>> builds just fine, but there doesn't seem to be any pdflib >>> functionality >>> in php. >>> >>> I saw a couple references to listing libpdf_php.so in the php.ini >>> file. >>> On mac osx I would assume this to be libpdf_php.dylib instead, but I >>> don't find either of these anywhere. Another reference said to >>> download >>> this file as a binary and install it manually, but there is no binary >>> pdflib with php support listed for mac osx. >>> >>> Hmm. There it is. Any ideas, suggestions? >>> >>> Here are my latest configure options for pdflib: >>> ./configure --enable-php --enable-cxx --enable-shared-pdflib >>> --enable-static --enable-shared >>> >>> and my latest attempt for php: >>> ./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs >>> --with-openssl --enable-trans-sid --with-pdflib=/usr/local/lib >>> --enable-shared=pdflib --with-mysql=/usr/local --with-jpeg- >>> dir=/usr/local --with-tiff-dir=/usr/local >>> >>> >>> >> >> >> -- >> PHP Install Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> To contact the list administrators, e-mail: php-list- >> [EMAIL PROTECTED] >> > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
I keep getting this error when I post to this list. From: [EMAIL PROTECTED] Date: Sun Aug 31, 300 10:36:38 AM US/Central Subject: SMTP import error #-5 Return-Path: <[EMAIL PROTECTED]> Note the year. -Steve
I am trying to install php 4.0.6 on Sparc solaris 8 machine and having great problem. Your suggestions are greatly appreciated. I have installed all the freewares, which included flex-2_5_4a-sol26-sparc-local, gcc-2_95_2-sol26-sparc-local, gzip-1.2.4-sol26-sparc-local, perl-5_005_03-sol26-sparc-local, bison-1_25-sol26-sparc-local, make-3_76_1-sol26-sparc-local, m4-1_4-sol26-sparc-local, autoconf-2.13, automake-1.4 . I verified and they are all there. Here is whats going: #PATH=.:/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin #export PATH #cd /export/home/php-4.0.6 # ./configure --with-mysql=/export/home/mysql --with-nsapi=/export/home/iplane t/servers --enable-libgcc loading cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... ./configure: make: not found no checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... sparc-sun-solaris2.8 checking for gawk... no checking for mawk... no checking for nawk... nawk checking for bison... no checking for byacc... no configure: warning: You will need bison if you want to regenerate the PHP parsers. checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH # Could someone help and tell me whats going on here. Thank you Paul