Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Feb 2008 15:10:33 -0600
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        gerard@seibercom.net
Cc:        gnome@freebsd.org
Subject:   Re: Unable to build libIDL-0.8.10
Message-ID:  <op.t5w03vse9aq2h7@mezz.mezzweb.com>
In-Reply-To: <20080202153529.56cf1099@scorpio>
References:  <20080202074401.F76638@scorpio.seibercom.net> <op.t5wulqlj9aq2h7@mezz.mezzweb.com> <20080202153529.56cf1099@scorpio>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 02 Feb 2008 14:35:29 -0600, Gerard <gerard@seibercom.net> wrote:=


> On Sat, 02 Feb 2008 12:50:04 -0600
> "Jeremy Messenger" <mezz7@cox.net> wrote:
>
>> Try to uninstall flex port and try libIDL again. You can reinstall
>> flex after that. I have checked in flex bug tracker and there are
>> some bug reports when users upgraded flex from 2.5.33 to 2.5.34. I
>> also have searched in google and a few of Linux users had to
>> downgrade their flex to get libIDL compile.
>>
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> # flex --version
>> flex version 2.5.4
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> Yes, that was exactly the problem; although I fail to see why. I am no=
t
> sure if I should file a PR for this or not.

Well, I am not sure if it's flex bug or if it's libIDL that needs to cat=
ch  =

up with new flex.

I am wondering, did you tweak the PATH? I have installed textproc/flex a=
nd  =

libIDL picks up /usr/bin/flex rather than /usr/local/bin/flex, and it ca=
n  =

build too.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
# pkg_info -IX flex
flex-2.5.34         Fast lexical analyzer generator

# ls -l /usr/local/bin/flex
-r-xr-xr-x  1 root  wheel  464755 Feb  2 15:03 /usr/local/bin/flex*

# ls -l /usr/bin/flex
-r-xr-xr-x  4 root  wheel  149008 Jan 12 17:49 /usr/bin/flex*

# pwd
/usr/ports/devel/libIDL
# make configure
# grep flex work/libIDL-0.8.10/config.log
configure:4834: checking for flex
configure:4850: found /usr/bin/flex
configure:4861: result: flex
configure:4898: flex conftest.l
[...]

# echo $PATH
/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/=
local/sbin:/usr/local/bin:/root/bin
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

> Thanks for your assistance!

No problem.

Cheers,
Mezz


-- =

mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.t5w03vse9aq2h7>