public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Econf
@ 2006-10-30 21:44 KLessou
  2006-10-30 22:02 ` Chris Gianelloni
  0 siblings, 1 reply; 4+ messages in thread
From: KLessou @ 2006-10-30 21:44 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1490 bytes --]

Hello,

I have to make a Live ebuild (from a CVS repository). But econf don't find
the configure script.

>>  !!! no configure script found .

The configure file is into ${WORKDIR}/package/, I have defined ${S} here,
but no result.

Thanks for advance if you have any idea.

-- 
~~~~~
| klessou |
~~~~~
More about this ebuild :

My file /usr/local/portage/dev-libs/pwlib/pwlib-1.11.9999.ebuild

An extract of my code :
 *Code:*
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit cvs eutils flag-o-matic multilib

IUSE="alsa debug ieee1394 ipv6 ldap oss sasl sdl ssl v4l v4l2 xml"
DESCRIPTION="Portable Multiplatform Class Libraries used by several VoIP
applications"
HOMEPAGE="http://www.ekiga.org"

ECVS_SERVER="openh323.cvs.sourceforge.net:/cvsroot/openh323"
ECVS_MODULE="pwlib"
ECVS_AUTH="pserver"
ECVS_USER="anonymous"
ECVS_PASS=""
ECVS_CVS_OPTIONS="-z9 -r ptlib_unix"

LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="-*"
[...]

src_compile() {
        [...]
        S="${WORKDIR}/pwlib"

        econf \
                --enable-plugins \
                $(use_enable v4l2) \
                $(use_enable v4l) \
                [...]
                $(use_enable sasl) \
                $(use_enable xml expat) \
                ${myconf} \
                || die "Error: econf failed!"
[...]

The configure file is here :
-rwxr-xr-x 1 root root 307K oct 18 18:08 /var/tmp/portage/pwlib-1.11.9999
/work/pwlib/configure

[-- Attachment #2: Type: text/html, Size: 2768 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] Econf
  2006-10-30 21:44 [gentoo-dev] Econf KLessou
@ 2006-10-30 22:02 ` Chris Gianelloni
  2006-11-02 16:47   ` Johannes Weiner
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Gianelloni @ 2006-10-30 22:02 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 524 bytes --]

On Mon, 2006-10-30 at 22:44 +0100, KLessou wrote:
> Hello, 
>   
> I have to make a Live ebuild (from a CVS repository). But econf don't
> find the configure script. 
> 
> >>  !!! no configure script found . 
>   
> The configure file is into ${WORKDIR}/package/, I have defined ${S}
> here, but no result. 

Set S globally (not in src_unpack).

-- 
Chris Gianelloni
Release Engineering Strategic Lead
Alpha/AMD64/x86 Architecture Teams
Games Developer/Council Member/Foundation Trustee
Gentoo Foundation

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] Econf
  2006-10-30 22:02 ` Chris Gianelloni
@ 2006-11-02 16:47   ` Johannes Weiner
  2006-11-06 12:00     ` KLessou
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Weiner @ 2006-11-02 16:47 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 742 bytes --]

On Mon, Oct 30, 2006 at 05:02:29PM -0500, Chris Gianelloni wrote:
> On Mon, 2006-10-30 at 22:44 +0100, KLessou wrote:
> > Hello, 
> >   
> > I have to make a Live ebuild (from a CVS repository). But econf don't
> > find the configure script. 
> > 
> > >>  !!! no configure script found . 
> >   
> > The configure file is into ${WORKDIR}/package/, I have defined ${S}
> > here, but no result. 
> 
> Set S globally (not in src_unpack).

... because ...

1. src_compile() chdirs to $S
2. You change $S
3. econf runs ./configure

Hannes

> 
> -- 
> Chris Gianelloni
> Release Engineering Strategic Lead
> Alpha/AMD64/x86 Architecture Teams
> Games Developer/Council Member/Foundation Trustee
> Gentoo Foundation



[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] Econf
  2006-11-02 16:47   ` Johannes Weiner
@ 2006-11-06 12:00     ` KLessou
  0 siblings, 0 replies; 4+ messages in thread
From: KLessou @ 2006-11-06 12:00 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 888 bytes --]

Thanks, it work very well !

D PIRY

On 11/2/06, Johannes Weiner <hnazfoo@googlemail.com> wrote:
>
> On Mon, Oct 30, 2006 at 05:02:29PM -0500, Chris Gianelloni wrote:
> > On Mon, 2006-10-30 at 22:44 +0100, KLessou wrote:
> > > Hello,
> > >
> > > I have to make a Live ebuild (from a CVS repository). But econf don't
> > > find the configure script.
> > >
> > > >>  !!! no configure script found .
> > >
> > > The configure file is into ${WORKDIR}/package/, I have defined ${S}
> > > here, but no result.
> >
> > Set S globally (not in src_unpack).
>
> ... because ...
>
> 1. src_compile() chdirs to $S
> 2. You change $S
> 3. econf runs ./configure
>
> Hannes
>
> >
> > --
> > Chris Gianelloni
> > Release Engineering Strategic Lead
> > Alpha/AMD64/x86 Architecture Teams
> > Games Developer/Council Member/Foundation Trustee
> > Gentoo Foundation
>
>
>
>
>


-- 
~~~~~
| klessou |
~~~~~

[-- Attachment #2: Type: text/html, Size: 1342 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-11-06 12:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-30 21:44 [gentoo-dev] Econf KLessou
2006-10-30 22:02 ` Chris Gianelloni
2006-11-02 16:47   ` Johannes Weiner
2006-11-06 12:00     ` KLessou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox