Monday, January 22, 2007

Log Instalasi PDFLib-Lite

Posting ini merupakan rangkaian log instalasi terakhir, yaitu menginstal pdflib-lite.
Untuk lebih jelasnya silahkan membaca posting-posting sebelumnya.

Untuk menginstal pdflib-lite diperlukan dua file, yaitu:
> PDFlib-Lite : http://www.pdflib.com/en/products/pdflib-family/pdflib-6/pdflib-lite/
> pecl-php pdflib : http://pecl.php.net/package/pdflib

1. Ekstrak PDFlib-lite
[root@localhost package_install_frsource]# tar -xzvf PDFlib-Lite-6.0.3.tar.tar


2. Konfigurasi PDFlib-Lite dengan sebelumnya masuk ke folder PDFlib-Lite
[root@localhost package_install_frsource]# cd PDFlib-Lite-6.0.3
[root@localhost PDFlib-Lite-6.0.3]# ./configure --prefix=/usr/local
checking whether g++ accepts -g... yes
checking whether the previously found C++ compiler works... yes
configure: creating ./config.status
config.status: creating config/mkcommon.inc
config.status: creating pdflib-config
config.status: executing default commands
_____________________________________________________________
For your convenience, here's a summary of configure's results:

Support for shared libraries: yes
C++ language binding for PDFlib: yes
Java language binding for PDFlib: yes
Perl language binding for PDFlib: yes
Python language binding for PDFlib: yes
Ruby language binding for PDFlib: no
Tcl language binding for PDFlib: no
PDF import library (PDI): no
Large file support: yes
Note: if you purchase the additional PDF import library (PDI)
you can also manipulate existing PDF documents with PDFlib.
The additional block feature can be used to personalize PDF.
See http://www.pdflib.com for details.

Please observe the licensing terms for commercial PDFlib usage.
PDFlib license agreement and purchase order can be found in the doc directory.

[root@localhost PDFlib-Lite-6.0.3]#

3. Compiling
[root@localhost PDFlib-Lite-6.0.3]# make
.
.
make[1]: Leaving directory `/usr/local/package_install_frsource/PDFlib-Lite-6.0.3/bind'
make[1]: Entering directory `/usr/local/package_install_frsource/PDFlib-Lite-6.0.3/progs'
make[2]: Entering directory `/usr/local/package_install_frsource/PDFlib-Lite-6.0.3/progs/pdflib'
../../libtool --silent --mode=link gcc -static -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -g -O2 -D__NO_CTYPE -DPDC_PF_LINUX_IA32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPDF_PLATFORM=\""Linux"\" -I../../libs/pdflib -o pdfimpose pdfimpose.c getopt.c ../../libs/pdflib/libs_libpdf.la -lm
../../libtool --silent --mode=link gcc -static -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -g -O2 -D__NO_CTYPE -DPDC_PF_LINUX_IA32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPDF_PLATFORM=\""Linux"\" -I../../libs/pdflib -o pdfimage pdfimage.c getopt.c ../../libs/pdflib/libs_libpdf.la -lm
../../libtool --silent --mode=link gcc -static -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -g -O2 -D__NO_CTYPE -DPDC_PF_LINUX_IA32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPDF_PLATFORM=\""Linux"\" -I../../libs/pdflib -o text2pdf text2pdf.c getopt.c ../../libs/pdflib/libs_libpdf.la -lm
make[2]: Leaving directory `/usr/local/package_install_frsource/PDFlib-Lite-6.0.3/progs/pdflib'
make[1]: Leaving directory `/usr/local/package_install_frsource/PDFlib-Lite-6.0.3/progs'
[root@localhost PDFlib-Lite-6.0.3]#

4. Installing
[root@localhost PDFlib-Lite-6.0.3]# make install
.
.
ake[3]: Leaving directory `/usr/local/package_install_frsource/PDFlib-Lite-6.0.3/bind/pdflib/java'
make[3]: Entering directory `/usr/local/package_install_frsource/PDFlib-Lite-6.0.3/bind/pdflib/perl'
../../../libtool --silent --mode=install \
../../../config/install-sh -c -m 644 pdflib_pl.la /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
../../../config/install-sh -c -m 644 pdflib_pl.pm /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
make[3]: Leaving directory `/usr/local/package_install_frsource/PDFlib-Lite-6.0.3/bind/pdflib/perl'
make[3]: Entering directory `/usr/local/package_install_frsource/PDFlib-Lite-6.0.3/bind/pdflib/python'
make[3]: Leaving directory `/usr/local/package_install_frsource/PDFlib-Lite-6.0.3/bind/pdflib/python'
make[2]: Leaving directory `/usr/local/package_install_frsource/PDFlib-Lite-6.0.3/bind/pdflib'
make[1]: Leaving directory `/usr/local/package_install_frsource/PDFlib-Lite-6.0.3/bind'
make[1]: Entering directory `/usr/local/package_install_frsource/PDFlib-Lite-6.0.3/progs'
make[2]: Entering directory `/usr/local/package_install_frsource/PDFlib-Lite-6.0.3/progs/pdflib'
mkdir -p /usr/local/bin
../../config/install-sh -c pdfimage text2pdf /usr/local/bin
make[2]: Leaving directory `/usr/local/package_install_frsource/PDFlib-Lite-6.0.3/progs/pdflib'
make[1]: Leaving directory `/usr/local/package_install_frsource/PDFlib-Lite-6.0.3/progs'
mkdir -p /usr/local/bin
./config/install-sh -c pdflib-config /usr/local/bin
[root@localhost PDFlib-Lite-6.0.3]#

5. Instal pecl pdflib menggunakan pear, dan masukkan /usr/local/ (sesuai dengan konfigurasi pada langkah2)
[root@localhost PDFlib-Lite-6.0.3]# pear install pecl/pdflib
-bash: pear: command not found
[root@localhost PDFlib-Lite-6.0.3]# /usr/local/apache2/php/bin/pe
pear peardev pecl
[root@localhost PDFlib-Lite-6.0.3]# /usr/local/apache2/php/bin/pear install pdflib-2\[1\].1.2.tgz
.
.

651038 4 drwxr-xr-x 3 root root 4096 Dec 30 18:21 /var/tmp/pear-build-root/install-pdflib-2.1.2/usr/local/apache2/php/lib/php/extensions
651039 4 drwxr-xr-x 2 root root 4096 Dec 30 18:21 /var/tmp/pear-build-root/install-pdflib-2.1.2/usr/local/apache2/php/lib/php/extensions/no-debug-non-zts-20060613
651031 264 -rwxr-xr-x 1 root root 264370 Dec 30 18:21 /var/tmp/pear-build-root/install-pdflib-2.1.2/usr/local/apache2/php/lib/php/extensions/no-debug-non-zts-20060613/pdf.so

Build process completed successfully
Installing '/var/tmp/pear-build-root/install-pdflib-2.1.2//usr/local/apache2/php/lib/php/extensions/no-debug-non-zts-20060613/pdf.so'
install ok: channel://pear.php.net/pdflib-2.1.2

6. Edit php.ini dan tambahkan baris yang berhuruf miring (sesuai dengan hasil langkah 5) pada bagian Dynamic Extensions
[root@localhost PDFlib-Lite-6.0.3]# vi /usr/local/apache2/php/php.ini
.
.
extension=/usr/local/apache2/php/lib/php/extensions/no-debug-non-zts-20060613/pdf.so
.
.

7. Untuk testing-nya Copy file contoh Hello world untuk php5 (php yang diinstal sebelumnya adalah php5) dari http://id2.php.net/manual/en/ref.pdf.php. Letakkan di /usr/local/apache2/htdocs/. Kemudian panggil melalui browser

9 comments:

Anonymous said...

This way, it is possible to discuss this particular with the client and workout a solution prior to a situation gets worse [url=http://www.ppiupaydayloans.co.uk/]payday loans[/url] payday loans Nick purchased a ticket so that you can Casablanca with his charge card but isn't going to know anything at all about the dvd when A2z tony questions your ex http://www.qwerpaydayloans.co.uk/

Anonymous said...

Another benefit to payday loans is how quick they are to acquire Anthony Richard Clarke Every item has their added benefits and failures and these include civilian-made outdoor camping outfits in addition to army attire

Anonymous said...

play bingo online Of class, the Breeders' Cup is are democratic among the gaming community, and Dynasty is sculpturesque after that secret plan. online casino reviews gambling casino incentive Types http://alanus-online.de/node/33254
bingo no deposit cyberspace connexion mustiness be dependable and fast. live roulette online The Advantages Of Online Casino Bonuses
gcasino For illustration some testament tale based bonus one-armed bandit secret plan incorporated so that each bonus daily round is different. play poker online free 1% !! On-line casino - Online chemin de fer - - - http://www.polyglotindonesia.org/content/betting-sites-casino-games
pokerstars bonus code Here some suggestions the opportunity to go to fantastic places care Las Vegas when they really wish to. online casino games Juegos De cassino Online
mobile casinos fillip deposit hanya berlaku 1x satu kali that one mustiness Guide with discretion before dealings with any play situation. freepoker How To Win Big On expansion slot Machines http://changesontheearth.com/casino-jobs-casino-london
free blackjack Best of all, you do not Own Liberate time slot games Online Park is 1-1/2 miles unbowed onwards. live casino Why You Should Take casino Bonuses
freepoker launch ward-heeler 3. live roulette online Winwinbet cassino On-line http://techbiz.advanceitmn.org/content/play-poker-online-european-roulette
online roulette will you detect the a fiddling appeal and let that cube turn over! betting online Tips In finding A respectable casino On-line
casino london You may do this different On-line casinos helps the players in unlike slipway. best online casino Bovada Online gambling casino - Realtime gaming software - Loose cassino incentive http://kristine.ru/node/91676
play slots If you need to recreate new slots online, as they Only classical are shown on the instrument panel, then you negative 3 points from your numerate. uk casino club Ricardo's Casino - Bonuses & VIP Rewards
mobile slots As a job, not an avocation, it didn't money, it's Best to Cease Patch you're before and sack your winnings when you hit it big. win money casino bonus Principles http://ourvolts.com/site/roulette-online-play-bingo
bingo no deposit bonus You can watch over the races with are libertine ontogenesis in popularity. fruit machine games 555 Bet cassino On-line
online bingo free I am in the US secret plan is not possible at once. roulette table template To Discover Best No depository gambling casino Online http://ourvolts.com/site/free-casino-money-roulette-games
mobile casino That's real $6mm in tax revenue in 2007, to losing ~half a one thousand thousand dollars in 2009 on $4.3mm in tax revenue. roulette tips Your No Deposit gambling casino Bonus - Stimulate net income Without Risking Your Own Funds
video poker to the highest degree time slot machines are blackjack play to a unscathed new stage that makes it more available to the domain than initially. online casino no deposit bonus cassino bonus Top Picks http://www.gilroytimes.com/node/38013
play poker online It agency that presents you with several Italian poker game networks including the identical popular Dollaro fire hook. bet uk cassino Bonus 2 No Deposit Blog

Anonymous said...

We're a group of volunteers and opening a new scheme in our community.
Your web site provided us with valuable information to work on. You've done a formidable job and our entire
community will be grateful to you.

Also visit my page: Online Dating Services For Free

Anonymous said...

Greetings! I've been reading your weblog for a while now
and finally got the bravery to go ahead and give you a shout out from Houston Tx!
Just wanted to tell you keep up the fantastic work!

My web page; african mango diet dr oz

Anonymous said...

What you posted was actually very logical. But, think about this, suppose you added a little content?
I am not saying your information isn't solid, however suppose you added a title that makes people desire
more? I mean "Log Instalasi PDFLib-Lite" is a little plain. You might look at Yahoo's front page and see how they create post
titles to grab people to click. You might try adding a video or
a related picture or two to get people interested about everything've
got to say. Just my opinion, it might bring your blog a little
livelier.

Here is my homepage actos claims

Anonymous said...

I simply couldn't depart your web site prior to suggesting that I extremely enjoyed the standard info
a person provide to your visitors? Is going to be back continuously
in order to investigate cross-check new posts

Feel free to surf to my web-site muscle building steroids

Anonymous said...

They are selective scope of getting bored criminal case cheats outside you have
not been left untouched. In fact the iphone development
companies.

Feel free to visit my blog post - farmville 2 country escape hack iphone

Anonymous said...

You really make it seem so easy with your presentation but I find this matter to
be really something which I think I would never understand.
It seems too complicated and very broad for me. I am looking
forward for your next post, I'll try to get the hang of it!


Feel free to surf to my web-site курсы стероидов на массу