Cafer Şimşek yazmış:
Evet,
Şimdi ben de biraz uğraştım ama kuramadım. Sanırım pdflib isimli
kütüphane ticari bir kütüphane olmuş durumda kendi sitesinden
anladığım kadarıyla. Bunun yerine php-fpdf isminde bir paket var bunu
bir deneseniz?
Sevgiler.
Cafer Şimşek
http://cafer.org/
Evet pdflib.h bulunamayınca bug sistemine bir entry girmiştim.Paketin
geliştiricisi Rainer Schaaf dan bir cevap geldi.
(http://pecl.php.net/bugs/bug.php?id=16879&)
Thank you for taking the time to write to us, but this is not
a bug.
You did not give a path where configure should find PDFlib.
You may look here:
http://www.pdflib.com/fileadmin/pdflib/pdf/support/PDFlib-in-PHP-HowTo.pdf
for more Details on how to build this extension.
Sonuçta pecl ile kurulum yapmanın yolunu bulamadım.Ancak Pdflib sitesinden
PDFlib-7.0.4p6-Linux-x86_64-php paketini indirdim.Paket içinde phpler için
hazir libpdf_php.so dosyaları ve örnek uygulamalar var.
Sanırım sorun buşekilde çözülecek.
ilginiz için Teşekkür ederim.
*From:* ubuntu-tr-boun...@lists.ubuntu.com
[mailto:ubuntu-tr-boun...@lists.ubuntu.com] *On Behalf Of *Hasan Sertçelik
*Sent:* Friday, October 16, 2009 2:54 PM
*To:* Ubuntu Turkiye Users and Developers List
*Subject:* Re: [ubuntu-tr] Pdflib kurulumunda sorun
Cafer Şimşek yazmış:
Tekrar Merhaba,
Şimdi baktım[1] ve gördüm, evet hardy için libgnupdf-dev paketi yok
gibi. Ama bağımlılıklarına bakarsanız[2] çok fazla bir şey olmadığını
görebilirsiniz. İntrepid için olan deb paketlerini indirip “dpkg -i”
komutuyla kurarak da sonuca ulaşabilirsiniz, depo değiştirmenize gerek
yok.
Sevgiler.
[1]
http://packages.ubuntu.com/search?suite=default§ion=all&arch=any&searchon=names&keywords=libgnupdf-dev
<http://packages.ubuntu.com/search?suite=default§ion=all&arch=any&searchon=names&keywords=libgnupdf-dev>
[2] http://packages.ubuntu.com/intrepid/libgnupdf-dev
Cafer Şimşek
http://cafer.org/
Merhaba
libgnupdf-dev ve gerek duyduğu libgnupdf0 yi yükledim
ancak libpdf kurulumundaki aynı hata devam ediyor.
error: pdflib.h not found!
Yüklenen paketlerdede böyle bir dosya çıkmadı.
*From:* ubuntu-tr-boun...@lists.ubuntu.com
<mailto:ubuntu-tr-boun...@lists.ubuntu.com>
[mailto:ubuntu-tr-boun...@lists.ubuntu.com] *On Behalf Of *Hasan Sertçelik
*Sent:* Friday, October 16, 2009 11:34 AM
*To:* Ubuntu Turkiye Users and Developers List
*Subject:* Re: [ubuntu-tr] Pdflib kurulumunda sorun
Cafer Şimşek yazmış:
Merhaba,
libgnupdf-dev paketini kurduktan sonra tekrar deneyebilir misiniz?
Cafer Bey server ubuntu hardy ve depolarında libgnupdf-dev
paketleri yok.
Diğer serverdan (ubuntu Jaunty) baktığımda paketin var olduğunu görüyorum.
sadece libgnupdf için depo değiştirmemi önerirmisiniz ? önerirseniz
hangi depoyu kullanmalıyım?
Teşekkürler.
Hasan.
Sevgiler.
Cafer Şimşek
-----Original Message-----
From: ubuntu-tr-boun...@lists.ubuntu.com
<mailto:ubuntu-tr-boun...@lists.ubuntu.com> [mailto:ubuntu-tr-
boun...@lists.ubuntu.com <mailto:boun...@lists.ubuntu.com>] On Behalf Of
Hasan Sertçelik
Sent: Friday, October 16, 2009 10:42 AM
To: Ubuntu Turkiye Users and Developers List
Subject: [ubuntu-tr] Pdflib kurulumunda sorun
Merhabalar.
Pecl veya phpize ile pdflib kurulumunda sorun yaşıyorum.
configure: error: pdflib.h not found olarak bir hata ile
karşılasıyorum. Paket içinde pdflib.h yok. php_pdflib.h var
kopyalayıp
dizine pdflib.h olarak koymamda sorunu çözmedi.
Nasıl kurabilirim?
pecl install pdflib
1-1, 'all', 'abort', or Enter to continue:
building in /var/tmp/pear-build-root/pdflib-2.1.7
running: /tmp/pear/cache/pdflib-2.1.7/configure --with-
pdflib=/usr/local
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5
-I/usr/include/php5/main -I/usr/include/php5/TSRM
-I/usr/include/php5/Zend -I/usr/include/php5/ext
-I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib/php5/20060613
checking for PHP installed headers prefix... /usr/include/php5
checking for re2c... re2c
checking for re2c version... 0.12.1 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for PDFlib support... yes, shared
configure: error: pdflib.h not found! Check the path passed to
--with-pdflib=<PATH>. PATH should be the install prefix directory.
ERROR: `/tmp/pear/cache/pdflib-2.1.7/configure --with-
pdflib=/usr/local'
failed
--
ubuntu-tr mailing list
ubuntu-tr@lists.ubuntu.com <mailto:ubuntu-tr@lists.ubuntu.com>
https://lists.ubuntu.com/mailman/listinfo/ubuntu-tr
--
ubuntu-tr mailing list
ubuntu-tr@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-tr