From owner-freebsd-questions@FreeBSD.ORG Sat Oct 17 22:34:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC2501065672 for ; Sat, 17 Oct 2009 22:34:51 +0000 (UTC) (envelope-from kikachi@gmail.com) Received: from mail-vw0-f189.google.com (mail-vw0-f189.google.com [209.85.212.189]) by mx1.freebsd.org (Postfix) with ESMTP id 80BDB8FC12 for ; Sat, 17 Oct 2009 22:34:51 +0000 (UTC) Received: by vws27 with SMTP id 27so1414022vws.3 for ; Sat, 17 Oct 2009 15:34:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xNn4yQHa9dzDjxg14JFUpN4woCHerqwIW+kecXpB/kQ=; b=QerQbOatvkWqJ/bhnoszj7bEfR+tRI4G0VCsYDWRIqXWsegBlL8uGIGnPkelhD3AtS LCEFSMRaQEAbcJ2i8o6bYPu9b8yCNPxL3V58mqx8R93M3shc4wsW6VoqynPmgURyxtTi TNiN7EPka0q7TVKn+fE55UbuZhz+uyvqu9lZ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=SCrMtGdbIVUAGzguF2zV97eFHyTt64t77HLJJ3y/wu74cu3GDqQ0KjDBM7edfl1h3W CacsdkkkBgA/iQCfAtLjXJvgWE/+Bf2JYoDtr+NUB3WvvC+lVaE+Y7S1/Tz3DBI/2ZEf KLr8C4fuFI1FBglqjKcfrGg5U+ntFTyciE0wg= MIME-Version: 1.0 Received: by 10.220.89.2 with SMTP id c2mr6156916vcm.16.1255818890808; Sat, 17 Oct 2009 15:34:50 -0700 (PDT) In-Reply-To: <4AD82945.2050503@infracaninophile.co.uk> References: <876d4ae10910151251g191a7a94g896fc57af54a6d72@mail.gmail.com> <4AD82945.2050503@infracaninophile.co.uk> Date: Sun, 18 Oct 2009 06:34:50 +0800 Message-ID: <876d4ae10910171534o1202a3b0pa7c9c8d1dea321d0@mail.gmail.com> From: Kikachi Kozumi To: Michael Powell , Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: phpMyAdmin install stopped in dependency 'libXau-1.0.4' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 22:34:51 -0000 2009/10/16 Matthew Seaman : > Kikachi Kozumi wrote: >> >> Hi, >> >> I tried installing phpMyAdmin in an ezjail created jail already >> installed with apache22, mysql and php5 running FreeBSD 7.1-RELEASE >> i386 with no X11 (headless). >> The port install failed when dependency 'libXau-1.0.4' configure >> couldn't find gnome-config: >> >> ... >> checking for XAU... gnome-config: not found >> configure: error: Package requirements (xproto) were not met. >> ... >> >> I'm not sure if this issue is specific to my system or is it a ports >> issue but I found that libXau-1.0.4 was in the ports tree since >> January 2009 so it's less likely to be an issue with the port itself. >> >> Right now I'm not sure if the required gnome-config is lost from my >> system or was never there in the 1st place. What can I do to continue >> with phpMyAdmin installation? >> >> I'm also curious why the phpMyAdmin port requires libX11 libraries to >> build while the phpMyAdmin website states that php, mysql and apache >> are the requirements for running phpMyAdmin? >> > >[snip] > >Try placing WITHOUT_X11=3Dyes into /etc/make.conf so it will build without= the >X related nonsense. > >-Mike > > Thank you. I added WITHOUT_X11=3Dyes to /etc/make.conf and that did the trick. > > > phpMyAdmin only depends on X through one of the optional extensions: > php5-gd. =A0If you disable the GD and PDF options in the configuration > dialogue you'll not need to install any X related dependencies. =A0Or > you can rebuild graphics/gd using 'WITHOUT_X11=3Dyes' if you want to be > able to generate PDF of database schemas etc through phpMyAdmin. > > Hmmm... as far as I can tell, gnome-config is not a run-time dependency > of phpMyAdmin even when compiled with all options enabled and with X11 > support in the gd libraries. =A0Either gnome-config is a build dependency > from somewhere way down the dependency tree (ie. only needed to build > something, not needed to run it) or you've got a misplaced 'USE_GNOME' > somewhere. =A0In general, USE_FOO is for port maintainers only and should= n't > appear in /etc/make.conf or any other Makefile that gets generally includ= ed > everywhere. =A0Use WITH/WITHOUT_FOO in /etc/make.conf to indicate global > preferences. =A0(Gentoo we ain't) > > =A0 =A0 =A0 =A0Cheers, > > =A0 =A0 =A0 =A0Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 7 Pri= ory Courtyard > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey =A0 =A0 Ramsgate > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 Kent, CT11 9PW > > I've used WITHOUT_X11=3Dyes in /etc/make.conf and gotten phpMyAdmin installed. Thank for the advice regarding GD and PDF options. I'll keep them in mind. Won't be the last I'll see of phpMyAdmin. The port install failed when 'Configuring for libXau-1.0.4' - prerequisite of libX11 - couldn't find gnome-config. I just had this jail freshly configured less than a week ago as a BAMP server. I'm sure I haven't place USE_GNOME anywhere in the jail. The following is my pkg_info output, phpMyAdmin was the last thing I instal= led. # pkg_info apache-2.2.13 Version 2.2.x of Apache web server with prefork MPM. autoconf-2.62 Automatically configure source code on many Un*x platfo= rms autoconf-wrapper-20071109 Wrapper script for GNU autoconf expat-2.0.1 XML 1.0 parser written in C freetype2-2.3.9_1 A free and portable TrueType font rendering engine gettext-0.17_1 GNU gettext package gmake-3.81_3 GNU version of 'make' utility help2man-1.36.4_3 Automatically generating simple manual pages from progr= am o jpeg-7 IJG's jpeg compression utilities libcheck-0.9.6 A unit test framework for C libgcrypt-1.4.4 General purpose crypto library based on code used in Gn= uPG libgpg-error-1.7 Common error values for all GnuPG components libiconv-1.13.1 A character set conversion library libltdl-2.2.6a_1 System independent dlopen wrapper libmcrypt-2.5.8 Multi-cipher cryptographic library (used in PHP) libpthread-stubs-0.1 This library provides weak aliases for pthread functio= ns libtool-2.2.6a_1 Generic shared library support script libxml2-2.7.6 XML parser library for GNOME libxslt-1.1.26 The XSLT C library for GNOME m4-1.4.13,1 GNU m4 mysql-client-5.4.2 Multithreaded SQL database (client) mysql-server-5.4.2 Multithreaded SQL database (server) p5-Authen-PAM-0.16_1 A Perl interface to the PAM library p5-DBI-1.60.9 The perl5 Database Interface. Required for DBD::* modu= les p5-Data-ShowTable-3.3 Perl5 module to pretty-print arrays of data p5-Mysql-modules-1.2219 Perl5 modules for accessing MySQL databases p5-Net-SSLeay-1.35_2 Perl5 interface to SSL p5-Storable-2.21 Persistency for perl data structures p5-gettext-1.05_2 Message handling functions pcre-7.9 Perl Compatible Regular Expressions library pdflib-7.0.4 A C library for dynamically generating PDF pecl-pdflib-2.1.6_1 A PECL extension to create PDF on the fly perl-5.8.9_3 Practical Extraction and Report Language php5-5.2.11_1 PHP Scripting Language php5-bz2-5.2.11_1 The bz2 shared extension for php php5-ctype-5.2.11_1 The ctype shared extension for php php5-dom-5.2.11_1 The dom shared extension for php php5-extensions-1.3 A "meta-port" to install PHP extensions php5-filter-5.2.11_1 The filter shared extension for php php5-gd-5.2.11_1 The gd shared extension for php php5-hash-5.2.11_1 The hash shared extension for php php5-iconv-5.2.11_1 The iconv shared extension for php php5-json-5.2.11_1 The json shared extension for php php5-mbstring-5.2.11_1 The mbstring shared extension for php php5-mcrypt-5.2.11_1 The mcrypt shared extension for php php5-mysql-5.2.11_1 The mysql shared extension for php php5-openssl-5.2.11_1 The openssl shared extension for php php5-pcre-5.2.11_1 The pcre shared extension for php php5-pdo-5.2.11_1 The pdo shared extension for php php5-pdo_sqlite-5.2.11_1 The pdo_sqlite shared extension for php php5-posix-5.2.11_1 The posix shared extension for php php5-session-5.2.11_1 The session shared extension for php php5-simplexml-5.2.11_1 The simplexml shared extension for php php5-spl-5.2.11_1 The spl shared extension for php php5-sqlite-5.2.11_1 The sqlite shared extension for php php5-tokenizer-5.2.11_1 The tokenizer shared extension for php php5-xml-5.2.11_1 The xml shared extension for php php5-xmlreader-5.2.11_1 The xmlreader shared extension for php php5-xmlwriter-5.2.11_1 The xmlwriter shared extension for php php5-zip-5.2.11_1 The zip shared extension for php php5-zlib-5.2.11_1 The zlib shared extension for php phpMyAdmin-3.2.2.1 A set of PHP-scripts to manage MySQL over the web pkg-config-0.23_1 A utility to retrieve information about installed libra= ries png-1.2.40 Library for manipulating PNG images portmaster-2.12 Manage your ports without external databases or languag= es python26-2.6.2_3 An interpreted object-oriented programming language t1lib-5.1.2_1,1 A Type 1 Rasterizer Library for UNIX/X11 webmin-1.490 Web-based interface for system administration for Unix xcb-proto-1.5 The X protocol C-language Binding (XCB) protocol