[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GEMPAK #GRF-150275]: GEMPAK installation on Ubuntu
- Subject: [GEMPAK #GRF-150275]: GEMPAK installation on Ubuntu
- Date: Thu, 20 Oct 2011 09:34:44 -0600
Hi Giulio,
I was looking at this again yesterday and think i found something. But first
can you confirm that you've copied $NAWIPS/config/Makeinc.linux_gfortran_ubuntu
to $NAWIPS/config/Makeinc.linux_gfortran ?
It's essential that this is done, but the odd thing is it doesn't explain the
strange behavior here:
In your make.out file I see
if [ ! -f /home/gian/gempak/GEMPAK6.2.0/os/linux/include/MCHPRM.PRM ] ; then \
ln -s
/home/gian/gempak/GEMPAK6.2.0/gempak/include/MCHPRM.linux_gfortran
/home/gian/gempak/GEMPAK6.2.0/os/linux/include/MCHPRM.PRM ; \
fi
This command is creating a symbolic link in $NA_OS/include/ to
$GEMPAK/include/MCHPRM.linux_gfortran
when it should link to
$GEMPAK/include/MCHPRM.Linux_gfortran (with a capital L)
Additionally I'm seeing "-Dlinux" rather than "-DLinux"
The first line of $NAWIPS/config/Makeinc.linux_gfortran_ubuntu (or
Makeinc.linux_gfortran) defines the variable OPSYS as Linux - can you confirm
that this is capitalized? Any chance you edited this file and changed it to
lower case?
Let's check these definitions first.
Michael
Unidata
> Any news on this?
>
> Giulio Todini
> Supervisor, Global Navigation Services
> GNS –Operation Support Services
> ______________________________________
> Jeppesen Marine
> A Boeing Company
> phone: +39 0585 794952 | fax: +39 0585 794715|int.:324952|address@hidden
> Jeppesen Italia S.r.l., Via Dorsale 9 | 54100 Massa, Italy www.jeppesen.com
>
>
> -----Original Message-----
> From: Unidata GEMPAK Support [mailto:address@hidden]
> Sent: Friday, October 14, 2011 1:56 AM
> To: Gianandrea Mannarini-ITA
> Cc: address@hidden; Giulio Todini-ITA
> Subject: [GEMPAK #GRF-150275]: GEMPAK installation on Ubuntu
>
> This is a strange one because your build should reference
> $GEMPAK/include/MCHPRM.Linux which defines MTMACH= MTLNUX
>
> Probably best to send the entire make.out log so I can take a look.
>
> We might just need to make a small edit to ggasrd.c as a workaround.
>
> Michael
> Unidata
>
>
>
> > Good morning.
> >
> > I am trying to install GEMPAK on Ubuntu 10.04.
> >
> > I proceed as on
> >
> > http://www.unidata.ucar.edu/software/gempak/GEMPAK/Install_GEMPAK.html
> >
> > When in $NAWIPS folder I give following commands:
> > make distclean
> > make all >& make.out
> >
> > I get at some point:
> >
> > gcc -DUNDERSCORE -Dlinux -I/home/gian/gempak/GEMPAK6.2.0/gempak/include
> > -I/home/gian/gempak/GEMPAK6.2.0/os/linux/include -I/usr/X11R6/include
> > -g -O -DNO_MSG_IPC -ansi -c ggasrd.c
> > ggasrd.c: In function 'gg_asrd_':
> > ggasrd.c:223: error: 'MTMACH' undeclared (first use in this function)
> > ggasrd.c:223: error: (Each undeclared identifier is reported only once
> > ggasrd.c:223: error: for each function it appears in.)
> > make[4]: ***
> > [/home/gian/gempak/GEMPAK6.2.0/os/linux/lib/gemlib.a(ggasrd.o)] Error 1
> > make[4]: Leaving directory
> > `/home/gian/gempak/GEMPAK6.2.0/gempak/source/gemlib/gg'
> >
> > I attach the whole make.out for full reference.
> > What could I do/check for going on with compilation?
> > Can you please help me?
> >
> > Thank you so much.
> >
> > --
> > Gianandrea Mannarini
> > Marine Data Analyst
> > ________________________________________________
> > Jeppesen
> > A Boeing Company
> > ph +39-0585-794951| fax: +39-0585-794959| address@hidden
> > Jeppesen Italia s.r.l.
> > Centro Direzionale Olidor Via Dorsale 9, scala B | 54100 Massa (MS) | ITALY
> >
>
>
> Ticket Details
> ===================
> Ticket ID: GRF-150275
> Department: Support GEMPAK
> Priority: Normal
> Status: Open
>
>
Ticket Details
===================
Ticket ID: GRF-150275
Department: Support GEMPAK
Priority: Normal
Status: Open