Re: [Tcl-nap-users] [ExternalEmail] Re: Trouble installing Nap
Brought to you by:
dav480,
peter_turner
|
From: <Har...@cs...> - 2008-06-17 06:24:37
|
Hi Stephen,
I finally got around to having a look at this. Sorry for the delay.
The compiler dislikes various lines in nap_check.h starting at line 212.
These are ANSI prototypes. Note that these prototypes begin with the
macro 'EXTERN', which is defined in tcl.h, which would normally be found
in $tcl_root/include. However this directory is not in the list of
include directories being searched. I suspect this directory does not
exist or configure failed to find it for some reason.
The directory /home/blacksqr/myinstall/utilities/nap6.4/tcl is included,
but no such directory should normally exist. I suspect you have
directory tcl as a sub-directory of nap6.4 rather than the reverse (as
expected by configure).
If this suspicion is correct I suggest you create tcl_root as say
/home/blacksqr/myinstall/utilities/tcl with nap6.4 as a sub-directory of
it (as well as include, bin, lib).
Hope this helps,
Harvey
Harvey Davies
-----Original Message-----
From: tcl...@li...
[mailto:tcl...@li...] On Behalf Of
Turner, Peter (CMAR, Hobart)
Sent: Thursday, 12 June 2008 12:20
To: ste...@al...; tcl...@li...
Subject: [ExternalEmail] Re: [Tcl-nap-users] Trouble installing Nap
Hi Stephen,
I think my colleague Harvey might want to pick this one up. It
would be helpful if you could outline the OS and version, the hardware
(32 or 64 bit) and what version of Nap you are building or are you
compiling from the repository version? You could also try gcc instead
of cc. I cannot see anything obvious but I am not quite sure what
version of the source to look at.
Cheers
Peter
-----Original Message-----
From: tcl...@li...
[mailto:tcl...@li...] On Behalf Of Steve
Huntley
Sent: Thursday, 12 June 2008 12:46 PM
To: tcl...@li...
Subject: Re: [Tcl-nap-users] Trouble installing Nap
I installed PROJ4 libraries and headers as suggested via apt-get. I
tried configure/make again and got a new error. It appears to be a
syntax error rather than a configuration problem:
$ make
cc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DHAVE_UNISTD_H=1 -DISNAN64=isnan
-DVERSION=\"6.4\" -DPATCHLEVEL=\".0\" -I`echo
/home/blacksqr/myinstall/utilities/nap6.4/nap/generic` -I`echo .`
-I`echo .` -I`echo /usr/include` -I`echo
/home/blacksqr/myinstall/utilities/nap6.4/tcl` -O -D__NO_STRING_INLINES
-D__NO_MATH_INLINES -fPIC `echo
/home/blacksqr/myinstall/utilities/nap6.4/nap/generic/cart_proj.c`
In file included from
/home/blacksqr/myinstall/utilities/nap6.4/nap/generic/cart_proj.c:22:
/home/blacksqr/myinstall/utilities/nap6.4/nap/generic/nap_check.h:212:
error: expected ')' before '*' token
/home/blacksqr/myinstall/utilities/nap6.4/nap/generic/nap_check.h:214:
error: expected ')' before '*' token
/home/blacksqr/myinstall/utilities/nap6.4/nap/generic/nap_check.h:215:
error: expected ')' before '*' token
/home/blacksqr/myinstall/utilities/nap6.4/nap/generic/nap_check.h:216:
error: expected ')' before '*' token
/home/blacksqr/myinstall/utilities/nap6.4/nap/generic/nap_check.h:217:
error: expected ')' before '*' token
/home/blacksqr/myinstall/utilities/nap6.4/nap/generic/cart_proj.c:58:
error: expected ')' before '*' token
/home/blacksqr/myinstall/utilities/nap6.4/nap/generic/cart_proj.c:182:
error: expected ')' before '*' token
make: *** [cart_proj.o] Error 1
Any hints on how to move forward would be appreciated.
------------------------------------------------------------------------
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for just about anything Open
Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Tcl-nap-users mailing list
Tcl...@li...
https://lists.sourceforge.net/lists/listinfo/tcl-nap-users
------------------------------------------------------------------------
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Tcl-nap-users mailing list
Tcl...@li...
https://lists.sourceforge.net/lists/listinfo/tcl-nap-users
|