From owner-freebsd-ports@FreeBSD.ORG Tue Sep 11 13:43:10 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A80116A417 for ; Tue, 11 Sep 2007 13:43:10 +0000 (UTC) (envelope-from g.v.tjongahung@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.184]) by mx1.freebsd.org (Postfix) with ESMTP id 5913113C45B for ; Tue, 11 Sep 2007 13:43:09 +0000 (UTC) (envelope-from g.v.tjongahung@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1235584rvb for ; Tue, 11 Sep 2007 06:43:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; bh=9c7AFelhAYqVMmXmh1RNmDTO3jqmtQ4RPE1f+0Hw6Mw=; b=TwnzRVk8882gmVlySKSM6CULJSQRt6FqpGYcAtKDDA2DWrAmpcwsVzgqN1THw28LjAwVb/Enkh4KGomDyFHK+q9n0J9VAtf0wX928+uJXDPzT1764DENEMQCzGJdMf2VZwpS5JWslRfSko7bO3sFTbHhTpBYvhs53LyXS9MhFuc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=qLFK6OfyUMIwa4ZjXJsfu8OgGO0gpHYId5d34oaL0D4nZvGWf3joIBOpREY/lU/whyfxwQpfLGyTc/sW12nMTEf8eoTdu1+zhtYiOxMFpSblPHD6JO13+5gnqVIW0ZxBMpsNBwAmvVwF8ITJhLcPtin/lWB+h9qgOMti3BLy98c= Received: by 10.141.145.11 with SMTP id x11mr1708130rvn.1189516622884; Tue, 11 Sep 2007 06:17:02 -0700 (PDT) Received: by 10.141.197.4 with HTTP; Tue, 11 Sep 2007 06:17:02 -0700 (PDT) Message-ID: <822946050709110617m4f35d636s88e4f469cd043e7a@mail.gmail.com> Date: Tue, 11 Sep 2007 15:17:02 +0200 From: "Gabor Tjong A Hung" Sender: g.v.tjongahung@gmail.com To: freebsd-ports@freebsd.org MIME-Version: 1.0 X-Google-Sender-Auth: 984e12ac27ebee32 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: package-recursive X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2007 13:43:10 -0000 Dear reader, I have been trying to get a webserver running with php and pgsql support in a jailed environment, while building in a build jail. I would have expected this to work flawlessly, but I have however discovere= d that this is not an easy task. What I did: In my build jail: cd /usr/ports/www/apache22 && make install (Did this so it wouln't automagically take apache13) cd /usr/ports/databases/php5-pgsql && make install && make package-recursive in my www jail: pkg_add {pathtopackages}/php5-pgsql-5.2.3_1.tbz I noticed however that when doing so the /usr/local/etc/rc.d/apache22 scrip= t is not tarred. Even if I do a make package-recursive (afterwards) in the www/apache22 directory this fails to happen(in my buildjail). However, if I do a pkg_delete -f apache\* && cd /usr/ports/www/apache22 && make install && make package-recursive; and do a pkg_delete -f apache\* && pkg_add {pathtopackages}/apache-2.2.6.tbz I do get the rc.d/apache22 script. However, starting this gives the following error: # /usr/local/etc/rc.d/apache22 start Performing sanity check on apache22 configuration: httpd: Syntax error on line 94 of /usr/local/etc/apache22/httpd.conf: Canno= t load /usr/local/libexec/apache22/mod_cgid.so into server: Cannot open "/usr/local/libexec/apache22/mod_cgid.so" Starting apache22. httpd: Syntax error on line 94 of /usr/local/etc/apache22/httpd.conf: Canno= t load /usr/local/libexec/apache22/mod_cgid.so into server: Cannot open "/usr/local/libexec/apache22/mod_cgid.so" Does this indicate an error in the package-recursive target? I have also noticed that when one runs a "make pretty-print-run-depends-list" or "make pretty-print-build-depends-list" in the /databases/php5-pgsql directory I get "" as dependancies. Is this correct or am I loosing my mind? Regards, Gabor --=20 "If you don't know where you are going, any road will take you there" =96 George Harrison