-
xpm.h ?
I am trying to compile an application that needs X pixmaps. I do not
have root on the machine I'm using so does anyone know where I can get
xpm.h and how I can tell gcc to compile in the local version which
I'll download?
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for main in -lXpm... no
checking for X11/xpm.h... no
Zach
-
Re: xpm.h ?
In comp.windows.x, Zach
<netrek@gmail.com>
wrote
on Sat, 29 Mar 2008 20:41:09 -0700 (PDT)
<b3f1e186-a703-49d7-a1de-16c3116c3b1b@y24g2000hsd.googlegroups.com>:[color=blue]
> I am trying to compile an application that needs X pixmaps. I do not
> have root on the machine I'm using so does anyone know where I can get
> xpm.h and how I can tell gcc to compile in the local version which
> I'll download?
>
> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
> checking for main in -lXpm... no
> checking for X11/xpm.h... no
>
> Zach[/color]
There should be a libXpm package that should include
/usr/include/X11/xpm.h, among other things.
--
#191, [email]ewill3@earthlink.net[/email]
Windows Vista. It'll Fix Everything(tm).
--
Posted via a free Usenet account from [url]http://www.teranews.com[/url]
-
Re: xpm.h ?
The Ghost In The Machine <ewill@sirius.tg00suus7038.net> writes:
[color=blue]
> In comp.windows.x, Zach
> <netrek@gmail.com>
> wrote
> on Sat, 29 Mar 2008 20:41:09 -0700 (PDT)
> <b3f1e186-a703-49d7-a1de-16c3116c3b1b@y24g2000hsd.googlegroups.com>:[color=green]
>> I am trying to compile an application that needs X pixmaps. I do not
>> have root on the machine I'm using so does anyone know where I can get
>> xpm.h and how I can tell gcc to compile in the local version which
>> I'll download?
>>
>> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
>> checking for main in -lXpm... no
>> checking for X11/xpm.h... no
>>
>> Zach[/color]
>
> There should be a libXpm package that should include
> /usr/include/X11/xpm.h, among other things.[/color]
If you put libxpm in a non-standard place,
most configure scripts will give you a "with" option
to say where it is:
--with-xpm-includes=/home/my/include --with-xpm-library=/home/my/lib
If not, there is always CCFLAGS, LDFLAGS.
-
Re: xpm.h ?
In comp.windows.x, Dan Espen
<daneNO@MORE.mk.SPAMtelcordia.com>
wrote
on Sun, 30 Mar 2008 15:36:42 GMT
<icwsnkz0k8.fsf@mk.telcordia.com>:[color=blue]
> The Ghost In The Machine <ewill@sirius.tg00suus7038.net> writes:
>[color=green]
>> In comp.windows.x, Zach
>> <netrek@gmail.com>
>> wrote
>> on Sat, 29 Mar 2008 20:41:09 -0700 (PDT)
>> <b3f1e186-a703-49d7-a1de-16c3116c3b1b@y24g2000hsd.googlegroups.com>:[color=darkred]
>>> I am trying to compile an application that needs X pixmaps. I do not
>>> have root on the machine I'm using so does anyone know where I can get
>>> xpm.h and how I can tell gcc to compile in the local version which
>>> I'll download?
>>>
>>> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
>>> checking for main in -lXpm... no
>>> checking for X11/xpm.h... no
>>>
>>> Zach[/color]
>>
>> There should be a libXpm package that should include
>> /usr/include/X11/xpm.h, among other things.[/color]
>
> If you put libxpm in a non-standard place,
> most configure scripts will give you a "with" option
> to say where it is:
>
> --with-xpm-includes=/home/my/include --with-xpm-library=/home/my/lib
>
> If not, there is always CCFLAGS, LDFLAGS.[/color]
I've not personally run into that problem with Gentoo but that is
another possibility, depending on Zach's system setup.
--
#191, [email]ewill3@earthlink.net[/email]
Windows Vista. It'll Fix Everything(tm).
--
Posted via a free Usenet account from [url]http://www.teranews.com[/url]
-
Re: xpm.h ?
The Ghost In The Machine <ewill@sirius.tg00suus7038.net> writes:
[color=blue]
> In comp.windows.x, Dan Espen
> <daneNO@MORE.mk.SPAMtelcordia.com>
> wrote
> on Sun, 30 Mar 2008 15:36:42 GMT
> <icwsnkz0k8.fsf@mk.telcordia.com>:[color=green]
>> The Ghost In The Machine <ewill@sirius.tg00suus7038.net> writes:
>>[color=darkred]
>>> In comp.windows.x, Zach
>>> <netrek@gmail.com>
>>> wrote
>>> on Sat, 29 Mar 2008 20:41:09 -0700 (PDT)
>>> <b3f1e186-a703-49d7-a1de-16c3116c3b1b@y24g2000hsd.googlegroups.com>:
>>>> I am trying to compile an application that needs X pixmaps. I do not
>>>> have root on the machine I'm using so does anyone know where I can get
>>>> xpm.h and how I can tell gcc to compile in the local version which
>>>> I'll download?
>>>>
>>>> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
>>>> checking for main in -lXpm... no
>>>> checking for X11/xpm.h... no
>>>>
>>>> Zach
>>>
>>> There should be a libXpm package that should include
>>> /usr/include/X11/xpm.h, among other things.[/color]
>>
>> If you put libxpm in a non-standard place,
>> most configure scripts will give you a "with" option
>> to say where it is:
>>
>> --with-xpm-includes=/home/my/include --with-xpm-library=/home/my/lib
>>
>> If not, there is always CCFLAGS, LDFLAGS.[/color]
>
> I've not personally run into that problem with Gentoo but that is
> another possibility, depending on Zach's system setup.[/color]
A Linux system is almost always under a desktop users control.
The OP said he didn't have root. I'm guessing, it's not Linux
but that shouldn't matter.
I've installed a TON of software from source without root.
The above instructions fixed almost every problem I ran into.