[Gllug] Compilation & Library woes.

Justin Megawarne solitude@kholmes.dhis.net
Thu, 7 Sep 2000 14:59:46 +0100


--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

And Huw Lynes bestowed upon us all:
>=20
> Hi all,

Hey. =3D)

> have got myself into yet more trouble. When compiling packages from sourc=
e=20
> code I quite often get the following error message at the ./configure sta=
ge.
>=20
> checking for flex.. no
> checking for lex.. no
> OBJDIR/configure:flex:command not found
> checking for flex.. lex
> checking for lex output file root/.. SRCDIR/configure:lex:command not fou=
nd
> configure error:cannot find output from lex;giving up

You need the flex lexical parser. You can probably get this from
http://www.freshmeat.net/

> where OBJDIR is where I am attempting to build the package and SRCDIR is =
the=20
> directory containg the source. This is all on a system based on SuSE 6.2.
>=20
> does anyone know what that means and what I can do about it?
>=20
> My other major headache involves libraries. I have just installed=20
> libjpeg.6.2 and have libjpeg.6.1 already on the system.
> libjpeg.so is a symling to libjpeg.6.1.so. If i change it to the newer=20
> library all my old apps complain. Is there an easy way to get different a=
pps=20
> to link to a different library?

Ummm, if you used rpm --upgrade, it should have handled it all. I don't thi=
nk
you need to change the symlinks? This is what I have:

$ ls -l /usr/lib/libjpeg*
-rw-r--r--    1 root     root       198044 Aug  2 15:49 /usr/lib/libjpeg.a
-rwxr-xr-x    1 root     root          469 Aug  2 15:49 /usr/lib/libjpeg.la*
lrwxrwxrwx    1 root     root           17 Aug  2 15:49 /usr/lib/libjpeg.so=
 ->
libjpeg.so.62.0.0*
lrwxrwxrwx    1 root     root           17 Aug  2 15:49 /usr/lib/libjpeg.so=
.62
-> libjpeg.so.62.0.0*
-rwxr-xr-x    1 root     root       176229 Aug  2 15:49
/usr/lib/libjpeg.so.62.0.0*

Excuse the autowrapping. =3D)

> Thanks in advance (all help reduces the chance of me throwing my computer=
=20
> out of the window and maiming a passer-by)

If it gets that bad, you can send it to me. =3D)

ZZ.
--=20
/"\                                          j u s t i n  m e g a w a r n e
\ /     ASCII RIBBON CAMPAIGN             solitude@jmegawarne.screaming.net
 X        AGAINST HTML MAIL              http://kholmes.dhis.net/~solitude/
/ \       Mail for GPG Key.                           irc.xchat.org, #Linux

--yrj/dFKFPuw6o+aM
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5t59PIbHIX9NDMacRAs4dAJ92JHhA+LWTasNp1tVax/yVZSbz4gCgrKvb
13UVy0hc1g1hb4v1S2ZBd2Y=
=cfDu
-----END PGP SIGNATURE-----

--yrj/dFKFPuw6o+aM--