GIDForums  

Go Back   GIDForums > Computer Forums > Computer Software Forum - Linux
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #41  
Old 19-Mar-2008, 12:01
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 5,217
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: run script command on ns2.26


Quote:
Originally Posted by davekw7x

The missing one is libX11-devel
Further notes: Upper-case 'X' in libX11-devel

On my system yum info libX11-devel gives
Code:
Installed Packages Name : libX11-devel Arch : i386 Version: 1.0.3 Release: 8.0.1.el5 Size : 770 k Repo : installed Summary: X.Org X11 libX11 development package Description: X.Org X11 libX11 development package

Also:

Code:
$ ls -l /usr/include/X11/Xlib.h -rw-r--r-- 1 root root 98900 Apr 16 2007 /usr/include/X11/Xlib.h

Regards,

Dave
  #42  
Old 20-Mar-2008, 02:51
ArturoD ArturoD is offline
Awaiting Email Confirmation
 
Join Date: Mar 2008
Location: Kumamoto, Japan
Posts: 12
ArturoD is on a distinguished road

Re: run script command on ns2.26


Hello Dave

Thank very much for your answer. I instaled the X development library and the tk8.4.14 was succeesfully installed.

But , now I have another error message, this is:

Installing and cross-linking command (.n) docs
tk8.4.14 installation succeeded.
================================================== ==========
* Build OTcl-1.13
================================================== ==========
No .configure file found in current directory
Continuing with default options...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking that g++ can handle -O2... no
checking standard STL is available... no

Checking files .................

checking for X11 header files
can't find X includes
otcl-1.13 configuration failed! Exiting ...
Please check www.isi.edu
for common problems and bug fixes.

I already have installed
tk.i386 8.4.13-5.el5_1.1 installed
tk-devel.i386 8.4.13-5.el5_1.1 installed

I don't know the source of the reason of the error message.

I hope you can give me an idea how to solve this.

Thank you very much for your help

Regards

Dennis Arturo
  #43  
Old 20-Mar-2008, 09:05
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 5,217
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: run script command on ns2.26


Quote:
Originally Posted by ArturoD
[code]
checking for X11 header files
can't find X includes
otcl-1.13 configuration failed! Exiting ...

It is looking for /usr/include/X11/Intrinsic.h, which is in the libXt-devel package.

You can try installing that package, but it (and libX11-devel) should have been installed as part of the "X Software Development" group. I guess you didn't install that whole thing. I always install all development tools, including all of the optional packages, when creating a new Linux system.

You can try
Code:
sudo yum install libXt-devel

Maybe the better thing would be
Code:
sudo yum groupinstall "X Software Development"
(Note that the quote marks are necessary; just paste that line into your command window.)

If you try the latter and you get some kind of message about xrestop having a later version installed, ignore it and go back to ns install.

Or, if you want to see what it is going to do, go to yumex, from the Applications->tools-Yum Extender menu item.

On the left-hand side, the second icon down is "Group View." Expand "Development Environments," then "Development."

Click "X Software Development," and make sure all items in the list on the right-hand side are checked. Click "Process Queue," then "OK."

I hardly ever use yumex (or other gui frontends for yum), since I find that they seem to be slower, and although they let you see the packages and their contents a little better, the actual update processing is less informative than running yum install or yum update from a command line. But then, I am an old command-line type of guy. I'm funny that way.

Regards,

Dave


"Sometimes I think that I must be the last bottom-up guy in this crazy top-down world."
---davekw7x
  #44  
Old 21-Mar-2008, 10:36
ArturoD ArturoD is offline
Awaiting Email Confirmation
 
Join Date: Mar 2008
Location: Kumamoto, Japan
Posts: 12
ArturoD is on a distinguished road

Re: run script command on ns2.26


Hello Dave

Thank you very much for your help, thanks for the time I really appreciate it!!! The installation worked fine. I receive the following message

Nam has been installed successfully.
Please compile your gt-itm & sgb2ns separately.

Ns-allinone package has been installed successfully.
Here are the installation places:
tcl8.4.14: /home/Dennis/ns-allinone-2.31/{bin,include,lib}
tk8.4.14: /home/Dennis/ns-allinone-2.31/{bin,include,lib}
otcl: /home/Dennis/ns-allinone-2.31/otcl-1.13
tclcl: /home/Dennis/ns-allinone-2.31/tclcl-1.19
ns: /home/Dennis/ns-allinone-2.31/ns-2.31/ns
nam: /home/Dennis/ns-allinone-2.31/nam-1.13/nam
xgraph: /home/Dennis/ns-allinone-2.31/xgraph-12.1

----------------------------------------------------------------------------------

Please put /home/Dennis/ns-allinone-2.31/bin:/home/Dennis/ns-allinone-2.31/tcl8.4.14/unix:/home/Dennis/ns-allinone-2.31/tk8.4.14/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.

IMPORTANT NOTICES:

(1) You MUST put /home/Dennis/ns-allinone-2.31/otcl-1.13, /home/Dennis/ns-allinone-2.31/lib,
into your LD_LIBRARY_PATH environment variable.
If it complains about X libraries, add path to your X libraries
into LD_LIBRARY_PATH.
If you are using csh, you can set it like:
setenv LD_LIBRARY_PATH <paths>
If you are using sh, you can set it like:
export LD_LIBRARY_PATH=<paths>

(2) You MUST put /home/Dennis/ns-allinone-2.31/tcl8.4.14/library into your TCL_LIBRARY environmental
variable. Otherwise ns/nam will complain during startup.


After these steps, you can now run the ns validation suite with
cd ns-2.31; ./validate

Even the succeesfl installation, I gave some questin regarding the last steps (sorry but I'm newbie in this regard).

How can I compile your gt-itm & sgb2ns separately?

The message mention that I have to add some paths to my environment variable, my question is should I do it in the .bash_profile or in the .bashrc?

Thank you very much again and thank you for your answers.

Best regards

Dennis Arturo
  #45  
Old 21-Mar-2008, 12:15
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 5,217
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: run script command on ns2.26


Quote:
Originally Posted by ArturoD
...The installation worked fine.
Huzzah!
Quote:
Originally Posted by ArturoD
should I do it in the .bash_profile or in the .bashrc?

Here's the thing: The "right" place to put it is .bash_profile in your home directory. That is executed whenever you log in as yourself. The file .bashrc is executed every time you open a new console window (after you have logged in). Now, it happens that the default .bash_profile for Centos actually executes .bashrc, so if you put some stuff in .bashrc to append to the $PATH and other environment variables, it will be executed once when you log in and again whenever you open a new console window (so $PATH has that stuff twice). Kind of messy. (But it doesn't cause any problems---or, as basketball announcers say from time to time: "No harm, no foul.").

Here's the danger (not fatal, but kind of annoying): If you change .bash_profile, there is no elegant way of testing it without logging out and back in again. If you have introduced an error, then you may find that you can't log in as yourself. You have to log in as root and try to fix your user .bash_profile and try to log in as yourself again. Tedious.

So here's my recommendation.

1. Make sure you logged in as yourself and not as root. You will be in your home directory.

2. Copy the .bashrc in your home directory to something like bashrc_save.

3. Edit .bashrc and put the following lines somewhere (probably near the bottom):
Code:
# Eventually these will go into .bash_profile PATH=$PATH:/home/Dennis/ns-allinone-2.31/bin:/home/Dennis/ns-allinone-2.31/tcl8.4.14/unix:/home/Dennis/ns-allinone-2.31/tk8.4.14/unix export PATH LD_LIBRARY_PATH=/home/Dennis/ns-allinone-2.31/otcl-1.13:/home/Dennis/ns-allinone-2.31/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH TCL_LIBRARY=/home/Dennis/ns-allinone-2.31/tcl8.4.14/library:$TCL_LIBRARY export TCL_LIBRARY

Now save the new .bashrc

Don't close the console window that you are using to edit .bashrc!

Open a new console window.

If it fails, then it might tell you where it found an error. Try editing .bashrc to fix the problem. If it seems hopelessly balled up, then copy bashrc_save to .bashrc and start again.

If it opens, then you can look at the environment variables if you want to. In the newly opened window;

Code:
echo $PATH echo $LD_LIBRARY_PATH ...etc

If the new stuff looks OK, execute
Code:
ns
If you see the '%' prompt, then exit out of ns.

Then cd into the ns-2.31 directory and enter
Code:
./validate

Or, maybe you want to save all of the validation messages, so you could try
Code:
./validate >validate.log 2>& 1

Then in another console window navigate to the ns-2.31 directory and
Code:
tali -f validate.log

(It takes a loooong time and does just oodles and oodles of tests.)

Regards,

Dave

Footnote: If you have tested the new stuff in .bashrc and you want to move it to .bash_profile to make things a littler "cleaner," you can do it, but I don't think it's necessarily bad just to leave it in .bashrc. If it ain't broke...
  #46  
Old 21-Mar-2008, 12:31
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 5,217
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: run script command on ns2.26


Quote:
Originally Posted by ArturoD
Code:
Nam has been installed successfully. Please compile your gt-itm & sgb2ns separately.

How can I compile your gt-itm & sgb2ns separately?

I didn't get that one.

Near the top of install.log (line 94) I had the following:

Code:
============================================================ * Build GT-ITM ============================================================ gcc -I../include -L../lib -DFBSD -o ../bin/itm itm.o geog.o ts.o dfs.o -lm -lgb gcc -I../include -L../lib -DFBSD -o ../bin/sgb2alt sgb2alt.o -lm -lgb gcc -I../include -L../lib -DFBSD -o ../bin/edriver edriver.o eval.o -lm -lgb gt-itm has been installed successfully. gcc -I../include -L../lib -o ../bin/sgb2comns sgb2comns.o -lm -lgb gcc -I../include -L../lib -o ../bin/sgb2hierns sgb2hierns.o -lm -lgb gcc -I../include -L../lib -o ../bin/sgb2ns sgb2ns.o -lm -lgb sgb2ns has been installed successfully. ============================================================

Then at line 1367:
Code:
Nam has been installed successfully. ln: creating symbolic link `ns' to `/...mypathstuff.../ns-allinone-2.31/ns-2.31/ns': File exists ln: creating symbolic link `nam' to `/...mypathstuff.../ns-allinone-2.31/nam-1.13/nam': File exists ln: creating symbolic link `xgraph' to `/...mypathstuff.../ns-allinone-2.31/xgraph-12.1/xgraph': File exists ln: creating symbolic link `sgb2ns' to `/...mypathstuff.../ns-allinone-2.31/gt-itm/bin/sgb2ns': File exists ln: creating symbolic link `sgb2hierns' to `/...mypathstuff.../ns-allinone-2.31/gt-itm/bin/sgb2hierns': File exists ln: creating symbolic link `sgb2comns' to `/...mypathstuff.../ns-allinone-2.31/gt-itm/bin/sgb2comns': File exists ln: creating symbolic link `itm' to `/...mypathstuff.../ns-allinone-2.31/gt-itm/bin/itm': File exists ln: creating symbolic link `sgb2alt' to `/...mypathstuff.../ns-allinone-2.31/gt-itm/bin/sgb2alt': File exists ln: creating symbolic link `edriver' to `/...mypathstuff.../ns-allinone-2.31/gt-itm/bin/edriver': File exists Ns-allinone package has been installed successfully. Here are the installation places: . . .

So maybe we have a little more detective work to do. Exciting, isn't it? See Footnote.

Regards,

Dave

Footnote:
"We can face our problem.
We can arrange such facts as we have
with order and method."
Hercule Poirot
--- in Murder on the Orient Express
  #47  
Old 22-Mar-2008, 04:10
ArturoD ArturoD is offline
Awaiting Email Confirmation
 
Join Date: Mar 2008
Location: Kumamoto, Japan
Posts: 12
ArturoD is on a distinguished road

Re: run script command on ns2.26


Hello Dave

Thank you very much for your prompt answer. Well, I check carefully the log and I found this lines:

================================================== ==========
* Build Stanford GraphBase
================================================== ==========
Making sgb
.....................
test_sample test_sample.exe
echo "Congratulations --- the tests have all been passed."
Congratulations --- the tests have all been passed.
touch certified
cp: cannot create regular file `../gt-itm/lib/libgb.a': No such file or directory
================================================== ==========
* Build GT-ITM
================================================== ==========
sgb lib not found. gt-itm & sgb2ns could not be installed. Continuing..
================================================== ==========
* Build zlib
================================================== ==========

I found that SGB Stands for Stanford Graph Base, which supose to be installed before GT-ITM, but it seems that is an error in the last part of the installation. May be this is the reason why the GT-ITM can not be installed, because it seemed that they depend on the sgb.

My questions are:

I tried to find the sgb lib with yum but I could't. Do you know if this library belongs to an specific Development Package?

I didn't install all the development packages in the installation process. Do you think is advisable to install in this moment all the development packages? Will them be the cause of future problems?

Should I declare another repository in order to get the sgb wth yum?

Thank you very much for your help and time.

By the way, Hercule Poirot --- in Murder on the Orient Express is totally right.

Thank you very much once again.

Best Regards

Dennis Arturo
  #48  
Old 22-Mar-2008, 09:10
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 5,217
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: run script command on ns2.26


Quote:
Originally Posted by ArturoD
...
I found that SGB Stands for Stanford Graph Base, ...
That's why I suggested that you save all install messages in install.log. Sometimes stuff like this just scrolls off the screen and you can't ever see it otherwise.

Now open your install.log again and look at the first hundred or so lines.
Here's what I see in mine:
Code:
============================================================ * Testing for Darwin (OS X) environment ============================================================ ============================================================ * Testing for Cygwin environment ============================================================ Cygwin not detected, proceeding with regular install. ============================================================ * Build XGraph-12.1 ============================================================ loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking if malloc debugging is wanted... no checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for X... (cached) libraries , headers checking for dnet_ntoa in -ldnet... (cached) no checking for dnet_ntoa in -ldnet_stub... (cached) no checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for float.h... (cached) yes checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for strcasecmp... (cached) yes creating ./config.status creating Makefile creating autoconf.h autoconf.h is unchanged xgraph has been installed successfully. ============================================================ * Build CWeb ============================================================ Making cweb gcc -g -c -o ctangle.o ctangle.c ctangle.w:75: warning: conflicting types for built-in function ‘strlen’ gcc -g -DCWEBINPUTS=\"/usr/local/lib/cweb\" -c common.c common.w:1409: warning: conflicting types for built-in function ‘strlen’ gcc -g -o ctangle ctangle.o common.o gcc -g -c -o cweave.o cweave.c cweave.w:79: warning: conflicting types for built-in function ‘strlen’ gcc -g -o cweave cweave.o common.o ln: creating symbolic link `cweave' to `/home/dave/ftp/ns/ns-allinone-2.31/cweb/cweave': File exists ln: creating symbolic link `ctangle' to `/home/dave/ftp/ns/ns-allinone-2.31/cweb/ctangle': File exists ============================================================ * Build Stanford GraphBase ============================================================ Making sgb cc -g -I/usr/local/sgb/include test_io.c gb_io.o -o test_io cc -g -I/usr/local/sgb/include test_graph.c gb_graph.o -o test_graph cc -g -I/usr/local/sgb/include test_flip.c gb_flip.o -o test_flip ./test_io OK, the gb_io routines seem to work! ./test_graph ....................................................................................................Hey, I allocated 10000000 bytes successfully. Terrific... OK, the gb_graph routines seem to work! ./test_flip OK, the gb_flip routines seem to work! make gb_sort.o make[1]: Entering directory `/home/dave/ftp/ns/ns-allinone-2.31/sgb' make[1]: `gb_sort.o' is up to date. make[1]: Leaving directory `/home/dave/ftp/ns/ns-allinone-2.31/sgb' make lib make[1]: Entering directory `/home/dave/ftp/ns/ns-allinone-2.31/sgb' make[1]: Nothing to be done for `lib'. make[1]: Leaving directory `/home/dave/ftp/ns/ns-allinone-2.31/sgb' make test_sample make[1]: Entering directory `/home/dave/ftp/ns/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -L. -L/usr/local/lib test_sample.c -lgb -lgb -o test_sample make[1]: Leaving directory `/home/dave/ftp/ns/ns-allinone-2.31/sgb' ./test_sample > sample.out diff test.gb test.correct diff sample.out sample.correct rm -f test.gb sample.out test_io test_io.exe test_graph test_graph.exe test_flip test_flip.exe test_sample test_sample.exe echo "Congratulations --- the tests have all been passed." Congratulations --- the tests have all been passed. touch certified ============================================================ * Build GT-ITM ============================================================ gcc -I../include -L../lib -DFBSD -o ../bin/itm itm.o geog.o ts.o dfs.o -lm -lgb gcc -I../include -L../lib -DFBSD -o ../bin/sgb2alt sgb2alt.o -lm -lgb gcc -I../include -L../lib -DFBSD -o ../bin/edriver edriver.o eval.o -lm -lgb gt-itm has been installed successfully.

At what point do you see any discrepancy between yours and mine?


Does your log file say that cweb was build successfully? The programs ctangle and cweb are used to build some sgb files in your distribution. (The cweb stuff was already in my system, since I use sometimes use TeX for documentation, but I think the ns distribution has everything it needs for this, so it should be able to build cweb.) Then it will build the sgb files. You shouldn't have to download anything else.
Quote:
Originally Posted by ArturoD
I didn't install all the development packages in the installation process. Do you think is advisable to install in this moment all the development packages?
I would install everything in the "Development Libraries" package and the "X Software Development" package. Also, probably, the "Authoring and Publishing" package since lots of things (not just ns) use various TeX and docbook programs. I am assuming you already have the "Development Tools" package (there aren't any optional files); otherwise you wouldn't have gcc and make and stuff like that.

Quote:
Originally Posted by ArturoD
Should I declare another repository in order to get the sgb wth yum?
No.

That is not necessary in order to install ns, assuming you have everything that I showed in the first part of the install log file.

Regards,

Dave
  #49  
Old 23-Mar-2008, 19:31
ArturoD ArturoD is offline
Awaiting Email Confirmation
 
Join Date: Mar 2008
Location: Kumamoto, Japan
Posts: 12
ArturoD is on a distinguished road

Re: run script command on ns2.26


Hello Dave

Thank you fro your prompt answer. Well this is the information I have:

At what point do you see any discrepancy between yours and mine?

This is the XGraph

Code:
* Build XGraph-12.1 ============================================================ creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking if malloc debugging is wanted... no checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for float.h... yes checking for limits.h... yes checking for stdlib.h... yes checking for string.h... yes checking for strings.h... yes checking for unistd.h... yes checking for strcasecmp... yes updating cache ./config.cache creating ./config.status creating Makefile creating autoconf.h gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c xgraph.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c xgX.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c hard_devices.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c dialog.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c hpgl.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c ps.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c idraw.c idraw.c: In function ‘idrawText’: idraw.c:303: warning: incompatible implicit declaration of built-in function ‘strlen’ gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c xtb.c xtb.c: In function ‘focus_evt’: xtb.c:873: warning: incompatible implicit declaration of built-in function ‘printf’ xtb.c:882: warning: incompatible implicit declaration of built-in function ‘printf’ xtb.c: In function ‘xtb_hort’: xtb.c:1279: warning: incompatible implicit declaration of built-in function ‘printf’ xtb.c: In function ‘xtb_vert’: xtb.c:1321: warning: incompatible implicit declaration of built-in function ‘printf’ xtb.c: In function ‘xtb_fmt_setpos’: xtb.c:1351: warning: incompatible implicit declaration of built-in function ‘printf’ xtb.c: In function ‘xtb_fmt_addpos’: xtb.c:1379: warning: incompatible implicit declaration of built-in function ‘printf’ xtb.c: In function ‘xtb_fmt_top’: xtb.c:1520: warning: incompatible implicit declaration of built-in function ‘printf’ xtb.c:1529: warning: incompatible implicit declaration of built-in function ‘printf’ gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c st.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c params.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c alloc.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c draw.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c init.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c read.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c tgif.c tgif.c: In function ‘tgifText’: tgif.c:230: warning: incompatible implicit declaration of built-in function ‘strlen’ gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c derivative.c gcc -g -o xgraph xgraph.o xgX.o hard_devices.o dialog.o hpgl.o ps.o idraw.o xtb.o st.o params.o alloc.o draw.o init.o read.o tgif.o derivative.o -lSM -lICE -lX11 -lm xgraph has been installed successfully.

This is the CWeb

Code:
============================================================ * Build CWeb ============================================================ Making cweb gcc -g -c -o ctangle.o ctangle.c ctangle.w:75: warning: conflicting types for built-in function ‘strlen’ gcc -g -DCWEBINPUTS=\"/usr/local/lib/cweb\" -c common.c common.w:1409: warning: conflicting types for built-in function ‘strlen’ gcc -g -o ctangle ctangle.o common.o ./ctangle cweave This is CTANGLE (Version 3.4) *1*16*29*37*58*77*88*96*103*173*184*204*224*249 Writing the output file (cweave.c):.....500.....1000.....1500.....2000.....2500.....3000.... Done. (No errors were found.) gcc -g -c -o cweave.o cweave.c cweave.w:79: warning: conflicting types for built-in function ‘strlen’ gcc -g -o cweave cweave.o common.o

And of course here is the Standford GraphBase

Code:
============================================================ * Build Stanford GraphBase ============================================================ Making sgb if test -r gb_io.ch; then ctangle gb_io.w gb_io.ch; else ctangle gb_io.w; fi This is CTANGLE (Version 3.4) *1*8*10*21*28*38*43 Writing the output files: (gb_io.c).. (test_io.c) (gb_io.h) Done. (No errors were found.) cc -g -I/usr/local/sgb/include -DDATA_DIRECTORY=\"/usr/local/sgb/data/\" -c gb_io.c gb_io.w: In function ‘imap_chr’: gb_io.w:194: warning: incompatible implicit declaration of built-in function ‘strlen’ gb_io.w: In function ‘imap_ord’: gb_io.w:201: warning: comparison is always false due to limited range of data type gb_io.w: In function ‘gb_r_open’: gb_io.w:457: warning: incompatible implicit declaration of built-in function ‘strlen’ gb_io.w: In function ‘gb_open’: gb_io.w:467: warning: incompatible implicit declaration of built-in function ‘strncpy’ gb_io.w:502: warning: incompatible implicit declaration of built-in function ‘strlen’ gb_io.w: In function ‘gb_close’: gb_io.w:542: warning: incompatible implicit declaration of built-in function ‘strlen’ cc -g -I/usr/local/sgb/include test_io.c gb_io.o -o test_io make gb_graph.c make[1]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_graph.ch; then ctangle gb_graph.w gb_graph.ch; else ctangle gb_graph.w; fi This is CTANGLE (Version 3.4) *1*8*11*20*42*49 Writing the output files: (gb_graph.c)... (test_graph.c) (gb_graph.h). Done. (No errors were found.) make[1]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_graph.o make[1]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_graph.o gb_graph.c gb_graph.w: In function ‘gb_nugraph’: gb_graph.w:455: warning: incompatible implicit declaration of built-in function ‘strcpy’ gb_graph.w: In function ‘make_compound_id’: gb_graph.w:492: warning: incompatible implicit declaration of built-in function ‘strlen’ gb_graph.w:494: warning: incompatible implicit declaration of built-in function ‘strcpy’ gb_graph.w: In function ‘make_double_compound_id’: gb_graph.w:508: warning: incompatible implicit declaration of built-in function ‘strlen’ make[1]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include test_graph.c gb_graph.o -o test_graph make gb_flip.c make[1]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_flip.ch; then ctangle gb_flip.w gb_flip.ch; else ctangle gb_flip.w; fi This is CTANGLE (Version 3.4) *1*4*8*12*14 Writing the output files: (gb_flip.c) (test_flip.c) (gb_flip.h) Done. (No errors were found.) make[1]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_flip.o make[1]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_flip.o gb_flip.c make[1]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include test_flip.c gb_flip.o -o test_flip ./test_io OK, the gb_io routines seem to work! ./test_graph ....................................................................................................Hey, I allocated 10000000 bytes successfully. Terrific... OK, the gb_graph routines seem to work! ./test_flip OK, the gb_flip routines seem to work! make gb_sort.o make[1]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_sort.c make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_sort.ch; then ctangle gb_sort.w gb_sort.ch; else ctangle gb_sort.w; fi This is CTANGLE (Version 3.4) *1*12 Writing the output files: (gb_sort.c) (gb_sort.h) Done. (No errors were found.) make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_sort.o make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_sort.o gb_sort.c make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make[1]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make lib make[1]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_basic.c make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_basic.ch; then ctangle gb_basic.w gb_basic.ch; else ctangle gb_basic.w; fi This is CTANGLE (Version 3.4) *1*6*24*36*41*54*63*73*77*87*94*100*115 Writing the output files: (gb_basic.c).....500.....1000.....1500. (gb_basic.h) Done. (No errors were found.) make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_basic.o make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_basic.o gb_basic.c gb_basic.w: In function ‘board’: gb_basic.w:277: warning: incompatible implicit declaration of built-in function ‘strcpy’ gb_basic.w: In function ‘simplex’: gb_basic.w:543: warning: incompatible implicit declaration of built-in function ‘strcpy’ gb_basic.w: In function ‘subsets’: gb_basic.w:753: warning: incompatible implicit declaration of built-in function ‘strcpy’ gb_basic.w: In function ‘perms’: gb_basic.w:949: warning: incompatible implicit declaration of built-in function ‘strcpy’ gb_basic.w: In function ‘parts’: gb_basic.w:1140: warning: incompatible implicit declaration of built-in function ‘strcpy’ gb_basic.w: In function ‘binary’: gb_basic.w:1340: warning: incompatible implicit declaration of built-in function ‘strcpy’ make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_books.c make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_books.ch; then ctangle gb_books.w gb_books.ch; else ctangle gb_books.w; fi This is CTANGLE (Version 3.4) *1*12*19*26*30 Writing the output files: (gb_books.c).. (gb_books.h) Done. (No errors were found.) make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_books.o make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_books.o gb_books.c gb_books.w: In function ‘bgraph’: gb_books.w:502: warning: incompatible implicit declaration of built-in function ‘strcpy’ make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_econ.c make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_econ.ch; then ctangle gb_econ.w gb_econ.ch; else ctangle gb_econ.w; fi This is CTANGLE (Version 3.4) *1*11*17*25*31 Writing the output files: (gb_econ.c)... (gb_econ.h) Done. (No errors were found.) make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_econ.o make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_econ.o gb_econ.c gb_econ.w: In function ‘econ’: gb_econ.w:230: warning: incompatible implicit declaration of built-in function ‘strcpy’ gb_econ.w:304: warning: incompatible implicit declaration of built-in function ‘strlen’ make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_games.c make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_games.ch; then ctangle gb_games.w gb_games.ch; else ctangle gb_games.w; fi This is CTANGLE (Version 3.4) *1*11*21*25 Writing the output files: (gb_games.c).. (gb_games.h) Done. (No errors were found.) make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_games.o make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_games.o gb_games.c gb_games.w: In function ‘games’: gb_games.w:222: warning: incompatible implicit declaration of built-in function ‘strcpy’ make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_gates.c make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_gates.ch; then ctangle gb_gates.w gb_gates.ch; else ctangle gb_gates.w; fi This is CTANGLE (Version 3.4) *1*8*38*43*49*66*75*84*86 Writing the output files: (gb_gates.c).....500.....1000.. (gb_gates.h) Done. (No errors were found.) make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_gates.o make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_gates.o gb_gates.c gb_gates.w: In function ‘reduce’: gb_gates.w:1402: warning: incompatible implicit declaration of built-in function ‘strcpy’ gb_gates.w: In function ‘risc’: gb_gates.w:530: warning: incompatible implicit declaration of built-in function ‘strcpy’ gb_gates.w: In function ‘prod’: gb_gates.w:1528: warning: incompatible implicit declaration of built-in function ‘strcpy’ gb_gates.w: In function ‘partial_gates’: gb_gates.w:1928: warning: incompatible implicit declaration of built-in function ‘strcpy’ gb_gates.w:1929: warning: incompatible implicit declaration of built-in function ‘strlen’ make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_lisa.c make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_lisa.ch; then ctangle gb_lisa.w gb_lisa.ch; else ctangle gb_lisa.w; fi This is CTANGLE (Version 3.4) *1*11*15*19*23*33*37 Writing the output files: (gb_lisa.c)... (gb_lisa.h) Done. (No errors were found.) make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_lisa.o make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_lisa.o gb_lisa.c gb_lisa.w: In function ‘p_lisa’: gb_lisa.w:513: warning: incompatible implicit declaration of built-in function ‘strcpy’ make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_miles.c make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_miles.ch; then ctangle gb_miles.w gb_miles.ch; else ctangle gb_miles.w; fi This is CTANGLE (Version 3.4) *1*9*17*22 Writing the output files: (gb_miles.c).. (gb_miles.h) Done. (No errors were found.) make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_miles.o make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_miles.o gb_miles.c gb_miles.w: In function ‘miles’: gb_miles.w:157: warning: incompatible implicit declaration of built-in function ‘strcpy’ make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_plane.c make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_plane.ch; then ctangle gb_plane.w gb_plane.ch; else ctangle gb_plane.w; fi This is CTANGLE (Version 3.4) *1*8*13*20*25*34*41*45 Writing the output files: (gb_plane.c).....500 (gb_plane.h) Done. (No errors were found.) make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_plane.o make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_plane.o gb_plane.c gb_plane.w: In function ‘plane’: gb_plane.w:134: warning: incompatible implicit declaration of built-in function ‘strcpy’ make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_raman.c make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_raman.ch; then ctangle gb_raman.w gb_raman.ch; else ctangle gb_raman.w; fi This is CTANGLE (Version 3.4) *1*6*13*18*26*30*32 Writing the output files: (gb_raman.c)... (gb_raman.h) Done. (No errors were found.) make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_raman.o make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_raman.o gb_raman.c gb_raman.w: In function ‘raman’: gb_raman.w:249: warning: incompatible implicit declaration of built-in function ‘strcpy’ make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_rand.c make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_rand.ch; then ctangle gb_rand.w gb_rand.ch; else ctangle gb_rand.w; fi This is CTANGLE (Version 3.4) *1*11*22*24*28 Writing the output files: (gb_rand.c)... (gb_rand.h) Done. (No errors were found.) make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_rand.o make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_rand.o gb_rand.c make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_roget.c make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_roget.ch; then ctangle gb_roget.w gb_roget.ch; else ctangle gb_roget.w; fi This is CTANGLE (Version 3.4) *1*6*10*15 Writing the output files: (gb_roget.c). (gb_roget.h) Done. (No errors were found.) make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_roget.o make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_roget.o gb_roget.c gb_roget.w: In function ‘roget’: gb_roget.w:107: warning: incompatible implicit declaration of built-in function ‘strcpy’ make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_words.c make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_words.ch; then ctangle gb_words.w gb_words.ch; else ctangle gb_words.w; fi This is CTANGLE (Version 3.4) *1*9*14*22*30*32 Writing the output files: (gb_words.c)... (gb_words.h) Done. (No errors were found.) make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_words.o make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_words.o gb_words.c gb_words.w: In function ‘words’: gb_words.w:437: warning: incompatible implicit declaration of built-in function ‘strcpy’ make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_dijk.c make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_dijk.ch; then ctangle gb_dijk.w gb_dijk.ch; else ctangle gb_dijk.w; fi This is CTANGLE (Version 3.4) *1*4*15*20*26 Writing the output files: (gb_dijk.c).. (gb_dijk.h) Done. (No errors were found.) make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_dijk.o make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_dijk.o gb_dijk.c make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_save.c make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r gb_save.ch; then ctangle gb_save.w gb_save.ch; else ctangle gb_save.w; fi This is CTANGLE (Version 3.4) *1*3*19*47 Writing the output files: (gb_save.c).....500. (gb_save.h) Done. (No errors were found.) make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make gb_save.o make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -c -o gb_save.o gb_save.c gb_save.w: In function ‘move_item’: gb_save.w:712: warning: incompatible implicit declaration of built-in function ‘strlen’ gb_save.w:723: warning: incompatible implicit declaration of built-in function ‘strcpy’ gb_save.w:728: warning: incompatible implicit declaration of built-in function ‘strcpy’ gb_save.w: In function ‘restore_graph’: gb_save.w:177: warning: incompatible implicit declaration of built-in function ‘strlen’ gb_save.w:195: warning: incompatible implicit declaration of built-in function ‘strcpy’ gb_save.w: In function ‘save_graph’: gb_save.w:792: warning: incompatible implicit declaration of built-in function ‘strlen’ gb_save.w:793: warning: incompatible implicit declaration of built-in function ‘strcpy’ make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' rm -f certified ar rcv libgb.a gb_flip.o gb_graph.o gb_io.o gb_sort.o gb_basic.o gb_books.o gb_econ.o gb_games.o gb_gates.o gb_lisa.o gb_miles.o gb_plane.o gb_raman.o gb_rand.o gb_roget.o gb_words.o gb_dijk.o gb_save.o a - gb_flip.o a - gb_graph.o a - gb_io.o a - gb_sort.o a - gb_basic.o a - gb_books.o a - gb_econ.o a - gb_games.o a - gb_gates.o a - gb_lisa.o a - gb_miles.o a - gb_plane.o a - gb_raman.o a - gb_rand.o a - gb_roget.o a - gb_words.o a - gb_dijk.o a - gb_save.o ranlib libgb.a make[1]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make test_sample make[1]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' make test_sample.c make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' if test -r test_sample.ch; then ctangle test_sample.w test_sample.ch; else ctangle test_sample.w; fi This is CTANGLE (Version 3.4) *1*13*19 Writing the output file (test_sample.c):. Done. (No errors were found.) make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make test_sample make[2]: Entering directory `/home/Dennis/ns-allinone-2.31/sgb' cc -g -I/usr/local/sgb/include -L. -L/usr/local/lib test_sample.c -lgb -lgb -o test_sample make[2]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' make[1]: Leaving directory `/home/Dennis/ns-allinone-2.31/sgb' ./test_sample > sample.out diff test.gb test.correct diff sample.out sample.correct rm -f test.gb sample.out test_io test_io.exe test_graph test_graph.exe test_flip test_flip.exe test_sample test_sample.exe echo "Congratulations --- the tests have all been passed." Congratulations --- the tests have all been passed. touch certified cp: cannot create regular file `../gt-itm/lib/libgb.a': No such file or directory

There a lot of differences between yours and mine, may be there are other development related packages that I haven't installed ??????

Thank you very much for your help.

Regards

Dennis Arturo
  #50  
Old 23-Mar-2008, 22:02
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 5,217
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: run script command on ns2.26


Quote:
Originally Posted by ArturoD
Code:
. . . . echo "Congratulations --- the tests have all been passed." Congratulations --- the tests have all been passed. touch certified cp: cannot create regular file `../gt-itm/lib/libgb.a': No such file or directory

There a lot of differences between yours and mine,

This time, read the Footnote first. Then come back here.

Then...

I have to apologize for my previous post. It was not from a "new" build, but was the result or rerunning install, so lots of stuff was already built and my install.log file left out a lot of stuff.

When I delete everything, untar it again and run ./install, I get the same as yours up to the "congratulations" messages at the end of the Stanford GraphBase section that you show. (Mine proceeds merrily along and builds GT-ITM and the other stuff after that.)

The error that you show at this point indicates either:

1. There is no file named libgb.a in directory sgb. (But I think that the make would have failed before that.)

or

2. The directory gt-itm/lib does not exist or you don't have write privileges.

So:

from the ns-allinone-2.31: cd into sgb. See if there is a file named libgb.a. If there is not, then execute make tests from the sgb directory and tell me what happened.


If that file is there, then from ns-allinone-2.31, do ls -l and make sure a directory named gt-itm is present and that you have rwx privileges. Execute a cd into gt-itm and do another ls -l. There should be a directory named lib, and you should have rw privileges there.

Go back to the sgb directory and execute:
Code:
cp libgb.a ../gt-itm/lib/libgb.a

Now what happens?

Regards,

Dave

Footnote: You did do what I previously suggested? Installed the packages I recommended and did rm -rf ns-allinone-2.31 and untarred it again before the new install, right?
 
 

Recent GIDBlogProgramming ebook direct download available by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web stats fcolor Web Design Forum 10 12-Jul-2007 09:48
Need Free Website Templates sam_dezine Web Design Forum 8 06-Sep-2006 04:25
Who Is A Web Designer ? alicehopkins Web Design Forum 1 13-Jun-2006 03:56
HTML Code amgujral Web Design Forum 0 07-Apr-2006 10:46
Two virtual hosts, cgi script behaves differently on each blimbo Apache Web Server Forum 0 04-Aug-2004 10:35

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 05:12.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.