AW: freebsd, php and gd libary

2004-03-20 Thread thomas may
Thanx for your answer.

I have installed the mod_php4 port, and need gd library support. So if i try
the following, i get errors, in the options dialog i enabled gd support.

neptun# make FORCE_PKG_REGISTER= -DWITHOUT_X11 install
===>  Building for mod_php4-4.3.4_7,1
/bin/sh /usr/ports/www/mod_php4/work/php-4.3.4/libtool --silent
--preserve-dup-deps --mode=compile cc
-I/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/libgd -DHAVE_LIBPNG
-DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -DJISX0208 -Iext/gd/
-I/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/ -DPHP_ATOM_INC
-I/usr/ports/www/mod_php4/work/php-4.3.4/include
-I/usr/ports/www/mod_php4/work/php-4.3.4/main
-I/usr/ports/www/mod_php4/work/php-4.3.4
-I/usr/ports/www/mod_php4/work/php-4.3.4/Zend -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/include/mysql
-I/usr/ports/www/mod_php4/work/php-4.3.4/TSRM  -O -pipe  -prefer-pic -c
/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/libgd/gdft.c -o
ext/gd/libgd/gdft.lo
In file included from
/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/libgd/gdft.c:63:
/usr/local/include/freetype2/freetype/freetype.h:20: #error "`ft2build.h'
hasn't been included yet!"
/usr/local/include/freetype2/freetype/freetype.h:21: #error "Please always
use macros to include FreeType header files."
/usr/local/include/freetype2/freetype/freetype.h:22: #error "Example:"
/usr/local/include/freetype2/freetype/freetype.h:23: #error "  #include
"
/usr/local/include/freetype2/freetype/freetype.h:24: #error "  #include
FT_FREETYPE_H"
*** Error code 1

Stop in /usr/ports/www/mod_php4/work/php-4.3.4.
*** Error code 1

Stop in /usr/ports/www/mod_php4.
*** Error code 1

-Ursprüngliche Nachricht-
Von: Jez Hancock [mailto:[EMAIL PROTECTED] Im Auftrag von Jez Hancock
Gesendet: Samstag, 20. März 2004 11:33
An: thomas may
Cc: [EMAIL PROTECTED]
Betreff: Re: freebsd, php and gd libary

On Sat, Mar 20, 2004 at 10:24:28AM +0100, thomas may wrote:
> i installed mod_php4 from ports tree with gd options, but it starts
> automatically a xfree86 installation what i don?t need on my webserver.
> 
> So i tried to install gd-2.0.22 manually. But i get the following error
> after make install



Try something like:

cd /usr/ports/graphics/gd
make clean
make -DWITHOUT_X11 install

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.631 / Virus Database: 404 - Release Date: 17.03.2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.631 / Virus Database: 404 - Release Date: 17.03.2004
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd, php and gd libary

2004-03-20 Thread Jez Hancock

On Sat, Mar 20, 2004 at 08:40:53PM +0100, thomas may wrote:
> Thanx for your answer.
> 
> I have installed the mod_php4 port, and need gd library support. So if i try
> the following, i get errors, in the options dialog i enabled gd support.

Uninstall the mod_php4 port:

cd /usr/ports/www/mod_php4
make deinstall

deinstall and clean up the GD port:

cd /usr/ports/www/graphics/gd
make deinstall
make clean

install the GD port without x11:

make -DWITHOUT_X11 install

and then finally go back and reinstall mod_php4:

cd /usr/ports/www/mod_php4
make install

Note however:
> neptun# make FORCE_PKG_REGISTER= -DWITHOUT_X11 install
> ===>  Building for mod_php4-4.3.4_7,1

This is an old version of mod_php4 - you probably want to cvsup your
ports tree before doing anything else.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


AW: freebsd, php and gd libary

2004-03-20 Thread thomas may
Thanx for your answer.

I have installed the mod_php4 port, and need gd library support. So if i try
the following, i get errors, in the options dialog i enabled gd support.

neptun# make FORCE_PKG_REGISTER= -DWITHOUT_X11 install
===>  Building for mod_php4-4.3.4_7,1
/bin/sh /usr/ports/www/mod_php4/work/php-4.3.4/libtool --silent
--preserve-dup-deps --mode=compile cc
-I/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/libgd -DHAVE_LIBPNG
-DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -DJISX0208 -Iext/gd/
-I/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/ -DPHP_ATOM_INC
-I/usr/ports/www/mod_php4/work/php-4.3.4/include
-I/usr/ports/www/mod_php4/work/php-4.3.4/main
-I/usr/ports/www/mod_php4/work/php-4.3.4
-I/usr/ports/www/mod_php4/work/php-4.3.4/Zend -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/include/mysql
-I/usr/ports/www/mod_php4/work/php-4.3.4/TSRM  -O -pipe  -prefer-pic -c
/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/libgd/gdft.c -o
ext/gd/libgd/gdft.lo
In file included from
/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/libgd/gdft.c:63:
/usr/local/include/freetype2/freetype/freetype.h:20: #error "`ft2build.h'
hasn't been included yet!"
/usr/local/include/freetype2/freetype/freetype.h:21: #error "Please always
use macros to include FreeType header files."
/usr/local/include/freetype2/freetype/freetype.h:22: #error "Example:"
/usr/local/include/freetype2/freetype/freetype.h:23: #error "  #include
"
/usr/local/include/freetype2/freetype/freetype.h:24: #error "  #include
FT_FREETYPE_H"
*** Error code 1

Stop in /usr/ports/www/mod_php4/work/php-4.3.4.
*** Error code 1

Stop in /usr/ports/www/mod_php4.
*** Error code 1

-Ursprüngliche Nachricht-
Von: Jez Hancock [mailto:[EMAIL PROTECTED] Im Auftrag von Jez Hancock
Gesendet: Samstag, 20. März 2004 11:33
An: thomas may
Cc: [EMAIL PROTECTED]
Betreff: Re: freebsd, php and gd libary

On Sat, Mar 20, 2004 at 10:24:28AM +0100, thomas may wrote:
> i installed mod_php4 from ports tree with gd options, but it starts
> automatically a xfree86 installation what i don?t need on my webserver.
> 
> So i tried to install gd-2.0.22 manually. But i get the following error
> after make install



Try something like:

cd /usr/ports/graphics/gd
make clean
make -DWITHOUT_X11 install

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.631 / Virus Database: 404 - Release Date: 17.03.2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.631 / Virus Database: 404 - Release Date: 17.03.2004
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd, php and gd libary

2004-03-20 Thread Jez Hancock
On Sat, Mar 20, 2004 at 10:24:28AM +0100, thomas may wrote:
> i installed mod_php4 from ports tree with gd options, but it starts
> automatically a xfree86 installation what i don?t need on my webserver.
> 
> So i tried to install gd-2.0.22 manually. But i get the following error
> after make install



Try something like:

cd /usr/ports/graphics/gd
make clean
make -DWITHOUT_X11 install

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd, php and gd libary

2004-03-20 Thread Antoine Jacoutot
On Saturday 20 March 2004 10:24, thomas may wrote:
> i installed mod_php4 from ports tree with gd options, but it starts
> automatically a xfree86 installation what i don’t need on my webserver.

You have to build gd without X support:
$ make -DWITHOUT_X11 install clean

Antoine
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


freebsd, php and gd libary

2004-03-20 Thread thomas may
Hi,

 

i installed mod_php4 from ports tree with gd options, but it starts
automatically a xfree86 installation what i don’t need on my webserver.

So i tried to install gd-2.0.22 manually. But i get the following error
after make install

 

Can someone help me ? thanx thomas

 

gcc -g -O2 -o .libs/annotate annotate.o /usr/local/lib/libiconv.so
-Wl,-rpath -Wl,/usr/local/lib  -L/usr/local/lib ./.libs/libgd.so -ljpeg
-lfreetype -lz -lm -Wl,--rpath -Wl,/usr/local/lib

./.libs/libgd.so: undefined reference to `pthread_mutex_unlock'

./.libs/libgd.so: undefined reference to `pthread_mutex_destroy'

./.libs/libgd.so: undefined reference to `pthread_mutex_lock'

./.libs/libgd.so: undefined reference to `pthread_mutex_init'

*** Error code 1

 

Stop in /usr/local/src/gd-2.0.22.

*** Error code 1


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.631 / Virus Database: 404 - Release Date: 17.03.2004
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"