osdir.com
mailing list archive F.A.Q. -since 2001!



Subject: Re: ERROR: Could not find library -lXpm. -
msg#00163

List: ai.prolog.swi

Mail Archive Navigation:
by Date: Prev Next Date Index by Thread: Prev Next Thread Index

On Monday 28 November 2005 03:36, jacinto@xxxxxx wrote:
> Hello!.. This maybe a question for the xpce list, but I'm just installing
> swi-prolog on an ubuntu box.
>
> I can't get around the following message while installing xpce
>
> with the command:
>
> ./configure --x-include=/usr/include/X11 --x-libraries=/usr
> --with-xpm=/usr --with-jpeg=/usr

Given the standard locations you shouldn't need any of these flags,
but I guess you added them after problems without flags.

> checking for X... libraries /usr, headers /usr/include/X11
> checking for main in -lSM... no
> XLIBS=-lXt -lX11
> LIBS=-L/usr -lXt -lX11
> LIBS=-L/usr -lXt -lX11
> checking for main in -ljpeg... no
> checking for main in -lXpm... no
> *****************************************************************
> * ERROR: Could not find library -lXpm. *
> * Please install the XPM library and rerun configure. *
> * The primary source for libXpm is at: *
> * *
> * http://www-sop.inria.fr/koala/lehors/xpm.html *
> *****************************************************************
>
> ----------
>
> But
>
> /usr/lib# ls -l *Xpm*
> -rw-r--r-- 1 root root 109320 2005-07-22 23:57 libXpm.a
> lrwxrwxrwx 1 root root 16 2005-11-27 21:08 libXpm.so ->
> libXpm.so.4.11.0 lrwxrwxrwx 1 root root 16 2005-11-22 14:46
> libXpm.so.4 ->
> libXpm.so.4.11.0
> -rw-r--r-- 1 root root 83980 2005-07-22 23:57 libXpm.so.4.11.0

Hard to say. Have a look at config.log where the compiler errors go.
There is one clue:

> checking for main in -lSM... no

You only get -lXt -lX11, which is not normal on todays X11
implementations (normal is -lXt -lX11 -lSM -lICE) I'd first dig into
that. Maybe you didn't install the X11 development package for your
system?

B.t.w. there should only be a few 'no's during configure. If there are
a lot there is generally a more serious problem with the development
environment.

If you find out and the problem is not a local issue, I'm glad to
receive patches or a description on how you had to tweak the sources
to make them compile.

--- Jan




Thread at a glance:

Previous Message by Date:

ERROR: Could not find library -lXpm.

Hello!.. This maybe a question for the xpce list, but I'm just installing swi-prolog on an ubuntu box. I can't get around the following message while installing xpce with the command: ./configure --x-include=/usr/include/X11 --x-libraries=/usr --with-xpm=/usr --with-jpeg=/usr ------- .... checking for X... libraries /usr, headers /usr/include/X11 checking for main in -lSM... no XLIBS=-lXt -lX11 LIBS=-L/usr -lXt -lX11 LIBS=-L/usr -lXt -lX11 checking for main in -ljpeg... no checking for main in -lXpm... no ***************************************************************** * ERROR: Could not find library -lXpm. * * Please install the XPM library and rerun configure. * * The primary source for libXpm is at: * * * * http://www-sop.inria.fr/koala/lehors/xpm.html * ***************************************************************** ---------- But /usr/lib# ls -l *Xpm* -rw-r--r-- 1 root root 109320 2005-07-22 23:57 libXpm.a lrwxrwxrwx 1 root root 16 2005-11-27 21:08 libXpm.so -> libXpm.so.4.11.0 lrwxrwxrwx 1 root root 16 2005-11-22 14:46 libXpm.so.4 -> libXpm.so.4.11.0 -rw-r--r-- 1 root root 83980 2005-07-22 23:57 libXpm.so.4.11.0 and /usr/lib# ls -l *jp* -rw-r--r-- 1 root root 163692 2005-04-14 01:00 libjpeg.a -rw-r--r-- 1 root root 802 2005-04-14 01:00 libjpeg.la lrwxrwxrwx 1 root root 17 2005-11-27 21:21 libjpeg.so -> libjpeg.so.62.0.0 lrwxrwxrwx 1 root root 17 2005-11-22 14:45 libjpeg.so.62 -> libjpeg.so.62.0.0 -rw-r--r-- 1 root root 123860 2005-04-14 01:00 libjpeg.so.62.0.0 are there!.. ---- I'm missing something, but what?. Thanks!. -- Jacinto A. Dávila. http://webdelprofesor.ula.ve/ingenieria/jacinto/ Universidad de los Andes. http://nux.ula.ve - http://www.saber.ula.ve

Next Message by Date:

icon of an aplication

When one uses the qsave_program/2 predicate with stand_alone option = true , an executable file is generated. And that file can be seen inside windows desktop with the swi-prolog icon associated. Is it posible to link another icon, previously drawn in any icon or jpeg editor, to the swi-prolog application? Thanks in advance for any help you can provide, João

Previous Message by Thread:

ERROR: Could not find library -lXpm.

Hello!.. This maybe a question for the xpce list, but I'm just installing swi-prolog on an ubuntu box. I can't get around the following message while installing xpce with the command: ./configure --x-include=/usr/include/X11 --x-libraries=/usr --with-xpm=/usr --with-jpeg=/usr ------- .... checking for X... libraries /usr, headers /usr/include/X11 checking for main in -lSM... no XLIBS=-lXt -lX11 LIBS=-L/usr -lXt -lX11 LIBS=-L/usr -lXt -lX11 checking for main in -ljpeg... no checking for main in -lXpm... no ***************************************************************** * ERROR: Could not find library -lXpm. * * Please install the XPM library and rerun configure. * * The primary source for libXpm is at: * * * * http://www-sop.inria.fr/koala/lehors/xpm.html * ***************************************************************** ---------- But /usr/lib# ls -l *Xpm* -rw-r--r-- 1 root root 109320 2005-07-22 23:57 libXpm.a lrwxrwxrwx 1 root root 16 2005-11-27 21:08 libXpm.so -> libXpm.so.4.11.0 lrwxrwxrwx 1 root root 16 2005-11-22 14:46 libXpm.so.4 -> libXpm.so.4.11.0 -rw-r--r-- 1 root root 83980 2005-07-22 23:57 libXpm.so.4.11.0 and /usr/lib# ls -l *jp* -rw-r--r-- 1 root root 163692 2005-04-14 01:00 libjpeg.a -rw-r--r-- 1 root root 802 2005-04-14 01:00 libjpeg.la lrwxrwxrwx 1 root root 17 2005-11-27 21:21 libjpeg.so -> libjpeg.so.62.0.0 lrwxrwxrwx 1 root root 17 2005-11-22 14:45 libjpeg.so.62 -> libjpeg.so.62.0.0 -rw-r--r-- 1 root root 123860 2005-04-14 01:00 libjpeg.so.62.0.0 are there!.. ---- I'm missing something, but what?. Thanks!. -- Jacinto A. Dávila. http://webdelprofesor.ula.ve/ingenieria/jacinto/ Universidad de los Andes. http://nux.ula.ve - http://www.saber.ula.ve

Next Message by Thread:

icon of an aplication

When one uses the qsave_program/2 predicate with stand_alone option = true , an executable file is generated. And that file can be seen inside windows desktop with the swi-prolog icon associated. Is it posible to link another icon, previously drawn in any icon or jpeg editor, to the swi-prolog application? Thanks in advance for any help you can provide, João
blog comments powered by Disqus

Home | News | Sitemap | FAQ | advertise | OSDir is an Inevitable website. GBiz is too!