Spider <[EMAIL PROTECTED]> wrote: 
>begin  quote
>On Thu, 25 Dec 2003 16:17:01 +0100
>Lars Kneschke <[EMAIL PROTECTED]> wrote:
>
>> The value for with-modules depends on the IUSE flags:
>> 
>> src_compile() {
>>         local myconf=""
>>         local modules=""
>> 
>>         use static && myconf="$myconf --enable-static-binaries"
>>         use mysql && modules="gmysql $modules"
>>         use postgres && modules="gpgsql $modules"
>>         use ldap && modules="$modules ldap"
>> 
>use ${modules} instead of $modules, and they will be expanded as you
>expect.

This does also not help!

src_compile() {
        local myconf=""
        local modules=""

        myconf="--with-modules=\"ldap gmysql\""
        econf ${myconf}
        emake || die "emake failed"
}

I tried with and without {}.  I striped the commands down to the version
above. And i still get the error. It seems like the " gets lost.



ProxyLK pdns # ebuild  pdns-2.9.12-r2.ebuild compile
>>> md5 src_uri ;-) pdns-2.9.12.tar.gz
>>> Checking pdns-2.9.12.tar.gz's mtime...
>>> /usr/portage/net-dns/pdns/pdns-2.9.12-r2.ebuild has been updated;
recreating WORKDIR...
>>> Unpacking source...
>>> Unpacking pdns-2.9.12.tar.gz to /var/tmp/portage/pdns-2.9.12-r2/work
>>> Source unpacked.
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: gmysql"
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
/var/tmp/portage/pdns-2.9.12-r2/work/pdns-2.9.12/missing: Unknown `--run'
option
Try `/var/tmp/portage/pdns-2.9.12-r2/work/pdns-2.9.12/missing --help' for
more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... Invalid configuration `gmysql"': machine
`gmysql"' not recognized
configure: error: /bin/sh ./config.sub gmysql" failed

!!! ERROR: net-dns/pdns-2.9.12-r2 failed.
!!! Function econf, Line 338, Exitcode 1
!!! econf failed

--
written with FeLaMiMail
nice to know:
http://marc.theaimsgroup.com/?l=php-dev&m=99802412523010&w=2



--
[EMAIL PROTECTED] mailing list

Reply via email to