pdfLib install on debian

serverin

Verified User
Joined
Sep 10, 2010
Messages
39
Hi people :)

I hav tryed to install pdfLib using the guides and links that people have posted here and at google, but i am getting this error:

Code:
server:/home/nooter# cd /usr/src
server:/usr/src# wget http://www.pdflib.com/products/pdfli...PDFlib-Lite-6.
--2011-04-11 19:28:31--  http://www.pdflib.com/products/pdfli...PDFlib-Lite-6.
Resolving www.pdflib.com... 87.106.23.64
Connecting to www.pdflib.com|87.106.23.64|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `pdfli...PDFlib-Lite-6..1'

    [ <=>                                   ] 14.409      --.-K/s   in 0,06s

2011-04-11 19:28:31 (248 KB/s) - `pdfli...PDFlib-Lite-6..1' saved [14409]

server:/usr/src# 0.3.tar.gz
bash: 0.3.tar.gz: command not found
server:/usr/src# tar xzvf PDFlib-Lite-6.0.3.tar.gz
tar: PDFlib-Lite-6.0.3.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
server:/usr/src# cd PDFlib-Lite-6.0.3
bash: cd: PDFlib-Lite-6.0.3: No such file or directory
server:/usr/src# ./configure --prefix=/usr/local
bash: ./configure: No such file or directory
server:/usr/src# make
make: *** No targets specified and no makefile found.  Stop.
server:/usr/src# make install
make: *** No rule to make target `install'.  Stop.
server:/usr/src# pear install pecl/pdflib
PHP Warning:  PHP Startup: Unable to load dynamic library './pdf.so' - ./pdf.so:                                                                                                                                cannot open shared object file: No such file or directory in Unknown on line 0
downloading pdflib-2.1.8.tgz ...
Starting to download pdflib-2.1.8.tgz (55,797 bytes)
.............done: 55,797 bytes
10 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

ERROR: `phpize' failed
server:/usr/src#

i knwo why this i coming: PHP Warning: PHP Startup: Unable to load dynamic library './pdf.so' - ./pdf.so:
its because i have typed pdf.so in my php.ini file.. but that should not do it.. should it ?
 
You didnt copy the url right at all. You copied a shortened url and it got cut off.
 
Code:
cd /usr/src
wget http://www.pdflib.com/binaries/PDFlib/802/PDFlib-8.0.2-Linux-php.tar.gz
tar xzvf PDFlib-8.0.2-Linux-php.tar.gz
cd PDFlib-8.0.2-Linux-php/
./configure --prefix=/usr/local
make
make install
pear install pecl/pdflib


is this what i should type in my shell terminal ?
 
when i am typing al the above ind my terminal is comes out with this,: posted from ./configure --prefix=/usr/local command
Code:
server:/usr/src/PDFlib-8.0.2-Linux-php# ./configure --prefix=/usr/local
bash: ./configure: No such file or directory
server:/usr/src/PDFlib-8.0.2-Linux-php# make
make: *** No targets specified and no makefile found.  Stop.
server:/usr/src/PDFlib-8.0.2-Linux-php# make install
make: *** No rule to make target `install'.  Stop.
server:/usr/src/PDFlib-8.0.2-Linux-php# pear install pecl/pdflib
PHP Warning:  PHP Startup: Unable to load dynamic library './pdf.so' - ./pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
downloading pdflib-2.1.8.tgz ...
Starting to download pdflib-2.1.8.tgz (55,797 bytes)
.............done: 55,797 bytes
10 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

ERROR: `phpize' failed
 
Back
Top