From owner-freebsd-questions@FreeBSD.ORG Thu Nov 4 12:08:24 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE8CD16A4CE for ; Thu, 4 Nov 2004 12:08:24 +0000 (GMT) Received: from rage.so36.net (rage.so36.net [195.135.133.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84FFD43D48 for ; Thu, 4 Nov 2004 12:08:23 +0000 (GMT) (envelope-from soenke@so36.net) Received: (qmail 37437 invoked from network); 4 Nov 2004 12:08:23 -0000 Received: from 1cust130.vr1.dtm1.alter.net (HELO ?10.0.0.9?) (soenke%so36.net@149.229.96.130) by rage.so36.net with RC4-MD5 encrypted SMTP; 4 Nov 2004 12:08:23 -0000 Message-ID: <418A1BAD.6060702@so36.net> Date: Thu, 04 Nov 2004 13:08:13 +0100 From: Soenke Mueller User-Agent: Mozilla Thunderbird 0.7.2 (X11/20040728) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Cyril Blaison References: <418A07F1.1050603@worldonline.fr> In-Reply-To: <418A07F1.1050603@worldonline.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-questions@FreeBSD.org Subject: Re: =?iso-8859-1?q?Probl=E8me_d=27installation_de_Freetype_pour_php4?= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2004 12:08:24 -0000 Hello Cyril, as I think that there are many people out there able to help you solving your problem, but not speaking French, I added my (surely not perfect) translation to your message: > 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. Hello everyone, I am about to migrate a web server from debian to FreeBSD (version 5.2.1) and per default the shipped version of php4 is not compiled with GD support. Therefore I engaged in compiling php in order to add the feature. And that's where the trouble starts. I fetched all needed sources (zlib, freetype, libpng and gd) and all went well until the compilation of Freetype. I needed to install makepp (without any problem). Then I edited the "configure" file in order to use it as a compiler. [Est-ce que j'ai bien compris ce que tu voulais dire, Cyril?] > La dessus un petit ./configure qui me donne: Following some of the output of ./configure: > **************************************** > 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 At this point there are already errors in the file Rule.pm. > Et le bouquet final lorsque je fais makepp: And when I do makepp it culminates in: > ************************************************** > 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="" -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 someone sees what is the problem they could help me a lot :-) > Cyril I hope not to confuse things by any inprecise translation. Soenke