Re: Newbie seeking help.

2004-08-25 Thread bt tan
Dear Mike, 

 Good day. I think that's help. Many Thanks.

Rgrds,
bt.

--- Michel Bardiaux <[EMAIL PROTECTED]> wrote:

> bt tan wrote:
> 
> > --- bt tan <[EMAIL PROTECTED]> wrote:
> > 
> > 
> >>Dear Mike,
> >> 
> >>Here's the output of ./configure
> >> 
> [snip]
> >>checking for X... (cached) no
> >>checking for X11 header files... checking for X11
> >>libraries... checking for XCreateWindow in
> >>-lXwindow... (cached) no
> >>couldn't find any!  Using -lX11.
> >>checking for main in -lXbsd... (cached) no
> >>
> >>It is indicating it couldn't locate the X11
> >>libraries, althought the path I've specified
> within
> >>the windows environment path to includes the
> >>following directory
> >>
> > 
> >
>
/usr/X11R6/bin/usr/X11R6/lib/usr/X11R6/X11/lib/usr/X11R6/X11/bin
> > 
> IIRC configure does *not* use the path to locate X
> (reason: finding the 
> X libraries does not indicate where the X headers
> are!). Run 
> './configure --help' and it is very likely there is
> some argument to 
> tell where the X stuff is.
> 
> Using the path to locate libraries is a Windowism. I
> suspect cygwin does 
> *not* do that at all, even for a dlopen (but IANAG)
> 
> HaND,
> -- 
> Michel Bardiaux
> Peaktime Belgium S.A.  Bd. du Souverain, 191  B-1160
> Bruxelles
> Tel : +32 2 790.29.41
> 
> 




__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail


Re: Newbie seeking help.

2004-08-24 Thread bt tan

--- bt tan <[EMAIL PROTECTED]> wrote:

> Dear Mike,
>  
> Here's the output of ./configure
>  
> loading cache ./config.cache
> checking for Tcl configuration... (cached) found
>
/home/Administrator/ns/2.27/tcl8.4.5/unix/tclConfig.sh
> checking for existence of
>
/home/Administrator/ns/2.27/tcl8.4.5/unix/tclConfig.sh...
> loading
> checking whether to use symlinks for manpages... no
> checking compression for manpages... 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 unistd.h... (cached) yes
> checking for limits.h... (cached) yes
> checking for building with threads... no (default)
> checking if the compiler understands -pipe... yes
> checking for required early compiler flags...
> (cached) (cached) none
> checking for 64-bit integer type... (cached) long
> long
> checking for struct dirent64... (cached) no
> checking for struct stat64... (cached) no
> checking for off64_t... (cached) no
> checking how to build libraries... shared
> checking for ranlib... (cached) ranlib
> checking if 64bit support is requested... no
> checking if 64bit Sparc VIS support is requested...
> no
> checking system version (for dynamic loading)...
> CYGWIN_NT-5.0-1.5.10(0.116/4/2)
> checking for dlopen in -ldl... (cached) no
> checking for ar... (cached) ar
> Can't figure out how to do dynamic loading or shared
> libraries
> on this system.
> checking for build with symbols... no
> checking for sin... (cached) yes
> checking for main in -lieee... (cached) no
> checking stdlib.h... yes
> checking fd_set and sys/select... yes
> checking for ANSI C header files... (cached) yes
> checking for mode_t... (cached) yes
> checking for pid_t... (cached) yes
> checking for size_t... (cached) yes
> checking for uid_t in sys/types.h... (cached) yes
> checking for sys/time.h... (cached) yes
> checking whether time.h and sys/time.h may both be
> included... (cached) yes
> checking pw_gecos in struct pwd... yes
> checking for X... (cached) no
> checking for X11 header files... checking for X11
> libraries... checking for XCreateWindow in
> -lXwindow... (cached) no
> couldn't find any!  Using -lX11.
> checking for main in -lXbsd... (cached) no
> checking for connect... (cached) yes
> checking for gethostbyname... (cached) yes
> checking for sin... (cached) yes
> checking for main in -lieee... (cached) no
> checking whether char is unsigned... (cached) no
> checking for strtod... (cached) yes
> checking for Solaris2.4/Tru64 strtod bugs...
> (cached) ok
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating tkConfig.sh
> 
> It is indicating it couldn't locate the X11
> libraries, althought the path I've specified within
> the windows environment path to includes the
> following directory
>
/usr/X11R6/bin/usr/X11R6/lib/usr/X11R6/X11/lib/usr/X11R6/X11/bin
>  
> and also I've included  the tk8.4.5/xlib/X11/
> 
> 
> 
> 
> 
> 
> 
> 
> Michel Bardiaux <[EMAIL PROTECTED]> wrote:
> bt tan wrote:
> 
> > Hi, 
> > 
> > Good day. I am a newbie for cygwinX application. I
> > was wondering is this the right place to post
> question
> > of uncertainty about cygwinX application?
> > 
> > If no, I would like to address my apologize here.
> > 
> > If yes, I would like to ask the following
> > question. I'm currently trying to compile OTCL1.8
> and
> > TK 8.4.5 using cygwin, but somehow rather the
> message
> > I have indicating that the X11 library couldn't be
> > found. Suprisingly I've installed the X windows
> > components and my Xwindows seems to be running ok.
> > Here's the details when I was running the make
> install
> > for TK 8.4.5 :
> > 
> > Steps taken to compile tk8.4.5 
> > 
> > ./configure
> 
> What is the output of 'configure' regarding X11 ?
> 
> > make install
> > 
> > Error displayed:
> > gcc -pipe tkAppInit.o \
> > -L/home/Administrator/ns/tk8.3.2/unix -ltk8.3 \
> > -L/home/Administrator/ns/tcl8.3.2/unix -ltcl8.3 
> > -lX11 -lc -o wish
> > 
> >
>
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld:
> > cannot find -lX11
> > collect2: ld returned 1 exit status
> > 
> 
> -- 
> Michel Bardiaux
> Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160
> Bruxelles
> Tel : +32 2 790.29.41
> 
> 
>   
> -
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!




___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush


Newbie seeking help.

2004-08-23 Thread bt tan
Hi, 

Good day. I am a newbie for cygwinX application. I
was wondering is this the right place to post question
of uncertainty about cygwinX application?

 If no, I would like to address my apologize here.

 If yes, I would like to ask the following
question. I'm currently trying to compile OTCL1.8 and
TK 8.4.5 using cygwin, but somehow rather the message
I have indicating that the X11 library couldn't be
found. Suprisingly I've installed the X windows
components and my Xwindows seems to be running ok.
Here's the details when I was running the make install
for TK 8.4.5 :

Steps taken to compile tk8.4.5 

./configure
make install

Error displayed:
gcc -pipe  tkAppInit.o \
-L/home/Administrator/ns/tk8.3.2/unix -ltk8.3 \
-L/home/Administrator/ns/tcl8.3.2/unix -ltcl8.3 
-lX11   -lc  -o wish

/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld:
cannot find -lX11
collect2: ld returned 1 exit status

The error displayed when trying to compile OTCL were
similar
Steps taken to compile otcl 1.8 

./configure

Error displayed:

cannot find -lX11
collect2: ld returned 1 exit status


Some website reference indicates that this error is
due to the linker is not specifying the proper link.

Is there anything which I've forgotten to do. Any one
have any idea what exactly had happened and how to
overcome this? 

 Thanks in advance.

 

Rgrds,
Tan.



__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail