Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Nov 2004 10:57:56 +0000
From:      Richard Williamson <richard.williamson@u4eatech.com>
To:        freebsd-questions@freebsd.org
Subject:    =?iso-8859-1?q?Install_probs_Freetype_for_php4_=28was_Re=3A_Pro?= =?iso-8859-1?q?bl=E8me=0D=0A__d=27installation_de_Freetype_pour_php4=29?=
Message-ID:  <6.1.2.0.2.20041104104821.02603610@cygnus>
In-Reply-To: <418A07F1.1050603@worldonline.fr>
References:  <418A07F1.1050603@worldonline.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

At 10:44 04/11/2004, you wrote:
>Bonjour à tous,
>Je suis en train de migrer un serveur web de Debian vers FreeBSD (version 5.2.1) et a priori la version de php4 fournie n'est pas compilée avec le support de GD.
>Je me lance donc dans la compilation de php pour l'ajouter et là c'est le drame...
>J'ai bien récupérer toutes les sources nécessaires (zlib,freetype,libpng et gd) et tout c'est bien passé jusqu'à la compilation de Freetype. Il a fallu que j'installe makepp (sans probleme) puis j'ai modifié le fichier "configure" pour l'utiliser comme compilateur.
>
>La dessus un petit ./configure qui me donne:

"Hello,"

"I'm in the process of migrating a web server from Debian to FreeBSD
(version 5.2.1) and the pre-compiled version of php4 that is supplied 
with was not compiled with support for GD.
I threw myself at recompiling php4 in order to add it and there is
drama...
I downloaded all the necessary sources (zlib, freetype, libpng 
and gd) and all is well just to the point of compiling freetype.
It was necessary that I install makepp (without problem), and
then modified the file 'configure' in order to use it as the
compiler.
Below is a small ./configure that gives me:"

>****************************************
>Loading makefile /usr/src/freetype-2.1.9/Makefile
>Loading makefile /usr/src/freetype-2.1.9/builds/amiga/makefile
>makepp: Entering directory `/usr/src/freetype-2.1.9'
>Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333.
>Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333.
>Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333.
>Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333.
>
>FreeType build system -- automatic system detection
>
>The following settings are used:
>
> platform                    unix
> compiler                    gcc
> configuration directory     ./builds/unix
> configuration rules         ./builds/unix/unix.mk
>
>If this does not correspond to your system or settings please remove the file
>`config.mk' from this directory then read the INSTALL file for help.
>
>Otherwise, simply type `/usr/local/bin/perl /usr/local/share/makepp/recursive_makepp ' again to build the library,
>or `/usr/local/bin/perl /usr/local/share/makepp/recursive_makepp  
>refdoc' to build the API reference (the latter needs python).
>**************************************************
>A priori déjà là il ya des erreurs dans le fichier Rule.pm
>
>Et le bouquet final lorsque je fais makepp:

"So already there are errors in the supplied(*) file Rule.pm
And the final boo-kay (of errors) as I call makepp:"

(*) not the best translation of a priori, but hey.

>**************************************************
>Loading makefile /usr/src/freetype-2.1.9/Makefile
>makepp: Entering directory `/usr/src/freetype-2.1.9'
>Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333.
>Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333.
>Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333.
>Use of uninitialized value in list assignment at /usr/local/share/makepp/Rule.pm line 333.
>./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/src/freetype-2.1.9/objs -I./builds/unix -I/usr/src/freetype-2.1.9/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DDARWIN_NO_CARBON -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -oobjs/ftsystem.lo -obuilds/unix/ftsystem.c
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>*** Warning: inferring the mode of operation is deprecated.
>*** Future versions of Libtool will require -mode=MODE be specified.
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>./builds/unix/libtool: /usr/bin/sed -e 1s/^X//: not found
>libtool: compile: cannot determine name of library object from `'
>makepp: error (1), stopping now
>**************************************************
>
>Donc voilà si quelqu'un voit ou est le problème ca m'aiderait bien :-)

So if anyone can spot the problem, that'd help me out lots (-:


>Cyril

F->E translation by rip





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.1.2.0.2.20041104104821.02603610>