Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with configure script.

Status
Not open for further replies.

kewlcoder

Programmer
Dec 9, 2003
82
IN
Hi,

I am new to Linux environment( Using Fedora 5 ) as well as TCL. I tried installing the "NS2 allinone" package but it needs TCL installed, (package that came along had some problem with the script asked me to refer which is temporarily down for reconstruction) so i downloaded the latest expecting a smooth installation without any hassels. but this one also hung at:

checking if 64bit Sparc VIS support is requested... no

checking system version (for dynamic loading)... ./configure: line 15273: syntax error near unexpected token `)'

./configure: line 15273: ` OSF*)'

[root@localhost unix]#

I have checked it, and seems there is a problem with the "uname" value received from the OS if i am not wrong.

Kindly help me at the earliest, In urgent need for TCL.

Kewlcoder.

Hope i am asking in the right place because its about the compatibility issue with Fedora( it is working in my work place on RHEL3)
 
Hi,

there seems to be a syntax error in ./configure;
could you please show a bit more of it, let's say lines from 15265 to 15280?
At best there is a check you don't need at all, for OSF, aka Digital Unix.
And you might get off just by deleting or correcting a few lines.

By the way, what is your output of uname command?

regards
 
Hi,

Here are the results of uname:

[root@localhost ~]# uname -s -r
Linux 2.6.15-1.2054_FC5
[root@localhost ~]# uname -s
Linux
[root@localhost ~]# uname -r
2.6.15-1.2054_FC5
[root@localhost ~]# uname -n
localhost.localdomain


I am not sure if i can send you the configure file here as an attachment. So, please find it from the link below


I think minor changes have to be done, but I don't understand the scrip so well.

Kewlcoder
 
Hi,

sorry for my late reply; I wasn't here for some time.

And sorry again; your link is of no use to me; our firewall does not allow access;
Request for URL denied by WebBlocker: denied blocked for questionable/illegal/gambling.

Perhaps somebody else may help?

Or perhaps back to my previous suggestion: Could you use an editor of your choice to cut out lines from 15265 to 15280 and post them here?

I, too, think minor changes have to be done, but maybe not just in line 15273;
once this has been resolved, you probably will encouter a quite similar problem somewhere else.

regards
 
got my answer, here it is.

when install ns2.29 in fedora core 5 or debian,

some modifications should be done for ns2 source files, including:
tcl_install_path/unix/configure
tcl_install_path/unix/tcl.m4
tk_install_path/unix/configure
tk_install_path/unix/tcl.m4
otcl_install_path/unix/configure

The modification is:
searching .relid'` in above files
and replacing them with .relid`

If you don't do above changes,
then when you install, an error will occur:
" checking system version (for dynamic loading)... syntax error near... "

got the answer from
thanks for all the support from hoinz
kewlcoder
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top