[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GEMPAK #GUV-953320]: Error Compiling Gempak
- Subject: [GEMPAK #GUV-953320]: Error Compiling Gempak
- Date: Wed, 11 Oct 2006 13:29:54 -0600
Marcus,
The $CONFIGDIR/Makeinc.linux and $GARPHOME/config/platform/Makeinc.linux
have MOTIF and X11 location definitions that assume these packages are
installed under
/usr/X11R6/. Your installation may be different.
Garp is the only program that uses xpm, and it can build its own, but Linux
generally supplies
this and we don't want conflicts. The other GUIs do not use xpm, so if they
didn't link either,
chances are your libX* and libXm files as well as header files aren't being
found.
Find where your X.h, xpm.h an Xm.h reside. Possibly you will find these under
/usr/include/X11.
Edit their -I locations. Then find where your libX11, libXpm, and libXm reside.
You
may find these under /usr/lib. Then configure your -L locations.
If you need further assistance, please send me the locations of these varioud
files so
that I can determine what your configuration should be.
Steve Chiswell
Unidata User Support
> Hi.
> I'm trying to compile GEMPAK5.9.3 under Kubuntu Linux (Kernel
> 2.6.15-26-amd64-generic) on x86_64.
> When I do the 'make' command I get the message below in the end of the
> 'make.out':
>
> gcc -DUNDERSCORE -DLinux -I/home/gempak/GEMPAK5.9.3/gempak/include
> -I/home/gempak/GEMPAK5.9.3/os/linux/include -I/usr/X11R6/include -O -c
> ../gui.c \
> \
> -I/usr/X11R6/include \
> -I/home/gempak/GEMPAK5.9.3/comet/garp/include \
> -I/home/gempak/GEMPAK5.9.3/gempak/include -I/home/gempak/GEMPAK5
> .9.3/os/linux/include \
> -I/usr/X11R6/include/X11
> ./gui.c:691:17: error: xpm.h: No such file or directory
> ./gui.c: In function ‘initialise_objects’:
> ./gui.c:1169: error: ‘XpmAttributes’ undeclared (first use in this
> function)
> ./gui.c:1169: error: (Each undeclared identifier is reported only once
> ./gui.c:1169: error: for each function it appears in.)
> ./gui.c:1169: error: syntax error before ‘xpm_attributes’
> ./gui.c:1173: error: ‘xpm_attributes’ undeclared (first use in this
> function)
> ./gui.c:1173: error: ‘XpmCloseness’ undeclared (first use in this
> function)
> ./gui.c: In function ‘create_line_attributes_shell’:
> ./gui.c:1782: warning: cast to pointer from integer of different size
> make[3]: ** [gui.o] Erro 1
>
> I did the 'make install' command and the same error happened. The SFLIST,
> SFMAP
> and the other programs which don't use the Graphical Interface were compiled
> correctly, but 'NMAP2', 'NTL' and the other do not.
>
> I think that can a problem with 'Xpm' that comes within the 'GD library'.
> Am I wrong? What should I do?
>
> I've already tried to re-install that lib but nothing happened.
>
> Thanks.
>
> --
> Att.
> Marcus Vin�cius S. Mendes
> Pr�-Processamento
> CPTEC/INPE - BRAZIL
> Ramal 8541
>
>
>
>
Ticket Details
===================
Ticket ID: GUV-953320
Department: Support GEMPAK
Priority: Normal
Status: Closed