public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* Re: Problem building Sourcenav under Cygwin (latest)
       [not found] <4.2.0.58.20000717121622.00ca2c10@pop.cygnus.com>
@ 2000-07-18 13:32 ` Mike D
  2000-07-18 13:35   ` Syd Polk
  2000-07-18 13:53   ` Ian Roxborough
  0 siblings, 2 replies; 9+ messages in thread
From: Mike D @ 2000-07-18 13:32 UTC (permalink / raw)
  To: sourcenav; +Cc: Syd Polk

Hi,

Thanks for replying.

The root level README basically boils down to   :

./configure
 make

so I guess you mean the one in /snavigator/install.  This says :

"If you must rebuild Source-Navigator on Windows, please send mail
to sourcenav@sourceware.cygnus.com, and we will attempt to post
rational build instructions."

I have Visual C++ on my system,  and I tried setting CC to cl.exe before
running the configure, but it gave more errors than before.  Is there a set
of build instructions available for source navigator under Win NT ?

Actually,  I wouldn't mind following the othe advice in the
/snavigator/install/README.TXT file :

"use the binary distributions"    ;-)

The README.TXT file mentions a binary called SNWindows20000421.exe, is this
available anywhere ?

Thanks again,

Mike


> We do not currently support building with cygwin. At some point, a release
> in the snapshots directory will support it.
>
> For now, we require cygwin and MS Visual C++ 5.0 to build on Windows. The
> instructions are in the README file.
>





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem building Sourcenav under Cygwin (latest)
  2000-07-18 13:32 ` Problem building Sourcenav under Cygwin (latest) Mike D
@ 2000-07-18 13:35   ` Syd Polk
  2000-07-18 13:53   ` Ian Roxborough
  1 sibling, 0 replies; 9+ messages in thread
From: Syd Polk @ 2000-07-18 13:35 UTC (permalink / raw)
  To: Mike D, sourcenav

At 09:31 PM 7/18/00 +0100, Mike D wrote:
>Hi,
>
>Thanks for replying.
>
>The root level README basically boils down to   :
>
>./configure
>  make
>
>so I guess you mean the one in /snavigator/install.  This says :
>
>"If you must rebuild Source-Navigator on Windows, please send mail
>to sourcenav@sourceware.cygnus.com, and we will attempt to post
>rational build instructions."
>
>I have Visual C++ on my system,  and I tried setting CC to cl.exe before
>running the configure, but it gave more errors than before.  Is there a set
>of build instructions available for source navigator under Win NT ?

You need to set CFLAGS to "-Z7 -Od" also. What kind of errors are you getting.

>Actually,  I wouldn't mind following the othe advice in the
>/snavigator/install/README.TXT file :
>
>"use the binary distributions"    ;-)
>
>The README.TXT file mentions a binary called SNWindows20000421.exe, is this
>available anywhere ?

No, it isn't. Unfortunately, it is unlikely to be done soon. Sorry!


>Thanks again,
>
>Mike
>
>
> > We do not currently support building with cygwin. At some point, a release
> > in the snapshots directory will support it.
> >
> > For now, we require cygwin and MS Visual C++ 5.0 to build on Windows. The
> > instructions are in the README file.
> >
>
>
>
>

Syd Polk		spolk@redhat.com
Engineering Manager	+1 415 777 9810 x 241
Red Hat, Inc.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem building Sourcenav under Cygwin (latest)
  2000-07-18 13:32 ` Problem building Sourcenav under Cygwin (latest) Mike D
  2000-07-18 13:35   ` Syd Polk
@ 2000-07-18 13:53   ` Ian Roxborough
  2000-07-18 23:56     ` Mike D
  1 sibling, 1 reply; 9+ messages in thread
From: Ian Roxborough @ 2000-07-18 13:53 UTC (permalink / raw)
  To: Mike D; +Cc: sourcenav

Mike D wrote:
> I have Visual C++ on my system,  and I tried setting CC to cl.exe before
> running the configure, but it gave more errors than before.  Is there a set
> of build instructions available for source navigator under Win NT ?

The key to getting the Windows version to build with Visual C++
is CC = cl.  This is because they are a bunch of comparision
in the configure file that will not work if CC = cl.exe.

Ian.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem building Sourcenav under Cygwin (latest)
  2000-07-18 13:53   ` Ian Roxborough
@ 2000-07-18 23:56     ` Mike D
  2000-07-19  9:42       ` Syd Polk
  0 siblings, 1 reply; 9+ messages in thread
From: Mike D @ 2000-07-18 23:56 UTC (permalink / raw)
  To: sourcenav

>From: Ian Roxborough <irox@redhat.com>
>
> The key to getting the Windows version to build with Visual C++
> is CC = cl.  This is because they are a bunch of comparision
> in the configure file that will not work if CC = cl.exe.

From : Syd Polk spolk@redhat.com
>
> You need to set CFLAGS to "-Z7 -Od" also. What kind of errors are you
getting.
>
> >Actually,  I wouldn't mind following the othe advice in the
> >/snavigator/install/README.TXT file :
> >
> >"use the binary distributions"    ;-)
> >
> >The README.TXT file mentions a binary called SNWindows20000421.exe, is
this
> >available anywhere ?
>
> No, it isn't. Unfortunately, it is unlikely to be done soon. Sorry!


Thanks a lot,  those changes made it work.

I have zipped up a copy of my executables,  would it make sense for them to
be hosted on the Sourcenav ftp site ?  (I would host them myself,  but the
GPL means I'd have to put up SN451.tag.gz as well,  and my service provider
only gives me 15 Mb :-/  )

Thanks again,


Mike


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem building Sourcenav under Cygwin (latest)
  2000-07-18 23:56     ` Mike D
@ 2000-07-19  9:42       ` Syd Polk
  0 siblings, 0 replies; 9+ messages in thread
From: Syd Polk @ 2000-07-19  9:42 UTC (permalink / raw)
  To: Mike D; +Cc: sourcenav

We could host them until we get ours built. Can you point us to your ftp site?

Mike D wrote:
> 
> >From: Ian Roxborough <irox@redhat.com>
> >
> > The key to getting the Windows version to build with Visual C++
> > is CC = cl.  This is because they are a bunch of comparision
> > in the configure file that will not work if CC = cl.exe.
> 
> >From : Syd Polk spolk@redhat.com
> >
> > You need to set CFLAGS to "-Z7 -Od" also. What kind of errors are you
> getting.
> >
> > >Actually,  I wouldn't mind following the othe advice in the
> > >/snavigator/install/README.TXT file :
> > >
> > >"use the binary distributions"    ;-)
> > >
> > >The README.TXT file mentions a binary called SNWindows20000421.exe, is
> this
> > >available anywhere ?
> >
> > No, it isn't. Unfortunately, it is unlikely to be done soon. Sorry!
> 
> Thanks a lot,  those changes made it work.
> 
> I have zipped up a copy of my executables,  would it make sense for them to
> be hosted on the Sourcenav ftp site ?  (I would host them myself,  but the
> GPL means I'd have to put up SN451.tag.gz as well,  and my service provider
> only gives me 15 Mb :-/  )
> 
> Thanks again,
> 
> Mike

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem building Sourcenav under Cygwin (latest)
  2000-07-16 12:33   ` Mike D
@ 2000-07-16 13:14     ` Mo DeJong
  0 siblings, 0 replies; 9+ messages in thread
From: Mo DeJong @ 2000-07-16 13:14 UTC (permalink / raw)
  To: Mike D; +Cc: sourcenav

On Sun, 16 Jul 2000, Mike D wrote:

> Hi,
> 
> I tried that,  but it makes things worse - this time db and grep didn't
> build.  Are there any estimated timescales for the defelopment snapshot to
> be available ?

Ok, no more Cygwin build advice for me. If you don't want to hack it
yourself then you will just have to wait until we post a release
that builds under Cygwin out of the box. As always, the answer
to the question of "when will it be available" is "soon" or
"when it is ready".

Mo DeJong
Red Hat Inc

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem building Sourcenav under Cygwin (latest)
  2000-07-16  9:11 ` Mo DeJong
@ 2000-07-16 12:33   ` Mike D
  2000-07-16 13:14     ` Mo DeJong
  0 siblings, 1 reply; 9+ messages in thread
From: Mike D @ 2000-07-16 12:33 UTC (permalink / raw)
  To: sourcenav

>
> Keep in mind that building sourcenav under Cygwin is
> still "on the cutting edge", so you should expect to
> have some problems. The build process is well tested
> under Linux, not so much under Cygwin.
>
> Try setting CFLAGS="-g -mno-cygwin" and then rerun
> ./configure. That should get rid of the #include
> problems, but it is likely there are others
> lurking in there, so you might need to do a bit of hacking.
> The build support under Cygwin will be much improved
> in the first development snapshot for 5.0.
>
> Mo DeJong

Hi,

I tried that,  but it makes things worse - this time db and grep didn't
build.  Are there any estimated timescales for the defelopment snapshot to
be available ?



make[1]: Entering directory `/build/build/db'
make  all-recursive
make[2]: Entering directory `/build/build/db'
Making all in PORT
make[3]: Entering directory `/build/build/db/PORT'
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c ../../../src/db/PORT/snprintf.c
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../hash
../../../src/db/PORT/../hash/hash.c
In file included from ../../../src/db/PORT/../hash/hash.c:55:
../../../src/db/PORT/../hash/hash.h:292: warning: `VERSION' redefined
../config.h:48: warning: this is the location of the previous definition
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../hash
../../../src/db/PORT/../hash/hash_bigkey.c
In file included from ../../../src/db/PORT/../hash/hash_bigkey.c:71:
../../../src/db/PORT/../hash/hash.h:292: warning: `VERSION' redefined
../config.h:48: warning: this is the location of the previous definition
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../hash
../../../src/db/PORT/../hash/hash_buf.c
In file included from ../../../src/db/PORT/../hash/hash_buf.c:69:
../../../src/db/PORT/../hash/hash.h:292: warning: `VERSION' redefined
../config.h:48: warning: this is the location of the previous definition
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../hash
../../../src/db/PORT/../hash/hash_func.c
In file included from ../../../src/db/PORT/../hash/hash_func.c:44:
../../../src/db/PORT/../hash/hash.h:292: warning: `VERSION' redefined
../config.h:48: warning: this is the location of the previous definition
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../hash
../../../src/db/PORT/../hash/hash_log2.c
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../hash
../../../src/db/PORT/../hash/hash_page.c
In file included from ../../../src/db/PORT/../hash/hash_page.c:71:
../../../src/db/PORT/../hash/hash.h:292: warning: `VERSION' redefined
../config.h:48: warning: this is the location of the previous definition
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../hash
../../../src/db/PORT/../hash/hsearch.c
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../hash
../../../src/db/PORT/../hash/ndbm.c
In file included from ../../../src/db/PORT/../hash/ndbm.c:52:
../../../src/db/PORT/../hash/hash.h:292: warning: `VERSION' redefined
../config.h:48: warning: this is the location of the previous definition
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../btree
../../../src/db/PORT/../btree/bt_close.c
In file included from ../../../src/db/PORT/../btree/bt_close.c:50:
../../../src/db/PORT/../btree/btree.h:347: parse error before `caddr_t'
../../../src/db/PORT/../btree/btree.h:347: warning: no semicolon at end of
struct or union
../../../src/db/PORT/../btree/btree.h:348: warning: data definition has no
type or storage class
../../../src/db/PORT/../btree/btree.h:349: parse error before `bt_emap'
../../../src/db/PORT/../btree/btree.h:349: warning: data definition has no
type or storage class
../../../src/db/PORT/../btree/btree.h:381: parse error before `}'
../../../src/db/PORT/../btree/btree.h:381: warning: data definition has no
type or storage class
In file included from ../../../src/db/PORT/../btree/btree.h:383,
                 from ../../../src/db/PORT/../btree/bt_close.c:50:
../../../src/db/PORT/../btree/extern.h:37: parse error before `*'
../../../src/db/PORT/../btree/extern.h:38: parse error before `*'
../../../src/db/PORT/../btree/extern.h:42: parse error before `*'
../../../src/db/PORT/../btree/extern.h:44: parse error before `*'
../../../src/db/PORT/../btree/extern.h:46: parse error before `*'
../../../src/db/PORT/../btree/extern.h:49: parse error before `*'
../../../src/db/PORT/../btree/extern.h:51: parse error before `*'
../../../src/db/PORT/../btree/extern.h:52: parse error before `*'
../../../src/db/PORT/../btree/extern.h:54: parse error before `*'
../../../src/db/PORT/../btree/extern.h:55: parse error before `*'
../../../src/db/PORT/../btree/extern.h:59: parse error before `*'
../../../src/db/PORT/../btree/extern.h:60: parse error before `*'
../../../src/db/PORT/../btree/extern.h:61: parse error before `*'
../../../src/db/PORT/../btree/bt_close.c:52: parse error before `*'
../../../src/db/PORT/../btree/bt_close.c: In function `__bt_close':
../../../src/db/PORT/../btree/bt_close.c:67: `t' undeclared (first use in
this function)
../../../src/db/PORT/../btree/bt_close.c:67: (Each undeclared identifier is
reported only once
../../../src/db/PORT/../btree/bt_close.c:67: for each function it appears
in.)
../../../src/db/PORT/../btree/bt_close.c:68: parse error before `int'
../../../src/db/PORT/../btree/bt_close.c:103: `fd' undeclared (first use in
this function)
../../../src/db/PORT/../btree/bt_close.c: In function `__bt_sync':
../../../src/db/PORT/../btree/bt_close.c:123: `t' undeclared (first use in
this function)
../../../src/db/PORT/../btree/bt_close.c:124: parse error before `int'
../../../src/db/PORT/../btree/bt_close.c:146: `status' undeclared (first use
in this function)
../../../src/db/PORT/../btree/bt_close.c: At top level:
../../../src/db/PORT/../btree/bt_close.c:163: parse error before `BTREE'
../../../src/db/PORT/../btree/bt_close.c:163: `t' used prior to declaration
../../../src/db/PORT/../btree/bt_close.c:163: warning: data definition has
no type or storage class
../../../src/db/PORT/../btree/bt_close.c:164: parse error before `{'
../../../src/db/PORT/../btree/bt_close.c:168: parse error before `if'
../../../src/db/PORT/../btree/bt_close.c:179: parse error before `&'
../../../src/db/PORT/../btree/bt_close.c:180: parse error before `->'
../../../src/db/PORT/../btree/bt_close.c:180: warning: data definition has
no type or storage class
make[3]: *** [bt_close.o] Error 1
make[3]: Leaving directory `/build/build/db/PORT'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/build/db'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/build/build/db'
make: *** [all-db] Error 2
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem building Sourcenav under Cygwin (latest)
  2000-07-16  5:52 Mike Davies
@ 2000-07-16  9:11 ` Mo DeJong
  2000-07-16 12:33   ` Mike D
  0 siblings, 1 reply; 9+ messages in thread
From: Mo DeJong @ 2000-07-16  9:11 UTC (permalink / raw)
  To: Mike Davies; +Cc: sourcenav

On Sun, 16 Jul 2000, Mike Davies wrote:

> Hi,
> 
> I have just installed the latest cygwin ,  and apart from creating a HOME
> variable and some directories (/build,  /build/src, /build/build, /home,
> home/mike, home/mike/install) it is completely as it came out of the box
> (well,  the net).
> 
> I untarred the SN451.tar.gz to /build/src.  Then ran
> "../src/configure --prefix=/home/mike/install" from /build/build which all
> seemed to go OK.  When I ran make in /build/build I got this error at the
> end :

Keep in mind that building sourcenav under Cygwin is
still "on the cutting edge", so you should expect to
have some problems. The build process is well tested
under Linux, not so much under Cygwin.

Try setting CFLAGS="-g -mno-cygwin" and then rerun
./configure. That should get rid of the #include
problems, but it is likely there are others
lurking in there, so you might need to do a bit of hacking.
The build support under Cygwin will be much improved
in the first development snapshot for 5.0.

Mo DeJong
Red Hat Inc

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Problem building Sourcenav under Cygwin (latest)
@ 2000-07-16  5:52 Mike Davies
  2000-07-16  9:11 ` Mo DeJong
  0 siblings, 1 reply; 9+ messages in thread
From: Mike Davies @ 2000-07-16  5:52 UTC (permalink / raw)
  To: sourcenav

Hi,

I have just installed the latest cygwin ,  and apart from creating a HOME
variable and some directories (/build,  /build/src, /build/build, /home,
home/mike, home/mike/install) it is completely as it came out of the box
(well,  the net).

I untarred the SN451.tar.gz to /build/src.  Then ran
"../src/configure --prefix=/home/mike/install" from /build/build which all
seemed to go OK.  When I ran make in /build/build I got this error at the
end :


make[1]: Entering directory `/build/build/tcl8.1'
make[2]: Entering directory `/build/build/tcl8.1/win'
gcc -c   -DWIN32 -D_WIN32 -D_MT -D_DLL -I../../../src/tcl8.1/win/../win -I..
/../../src/tcl8.1/win/../generic -D__WIN32__   -g -O2
../../../src/tcl8.1/win/tclAppInit.c
windres --include ../../../src/tcl8.1/win/../generic --include
../../../src/tcl8.1/win/../win --define __WIN32__ --define VS_VERSION_INFO=1
../../../src/tcl8.1/win/tclsh.rc tclshres.o
gcc -c   -DWIN32 -D_WIN32 -D_MT -D_DLL -I../../../src/tcl8.1/win/../win -I..
/../../src/tcl8.1/win/../generic -D__WIN32__   -g -O2
../../../src/tcl8.1/win/../generic/compile.c
In file included from ../../../src/tcl8.1/win/../generic/tclPort.h:20,
                 from ../../../src/tcl8.1/win/../generic/compile.c:38:
../../../src/tcl8.1/win/../generic/../win/tclWinPort.h:46: direct.h: No such
file or directory
In file included from ../../../src/tcl8.1/win/../generic/tclPort.h:20,
                 from ../../../src/tcl8.1/win/../generic/compile.c:38:
../../../src/tcl8.1/win/../generic/../win/tclWinPort.h:57: tchar.h: No such
file or directory
make[2]: *** [compile.o] Error 1
make[2]: Leaving directory `/build/build/tcl8.1/win'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/build/tcl8.1'
make: *** [all-tcl8.1] Error 2


it seems to have built OK in db and in grep.

The problem occurs on both NT 4.0 (sp4) and Win 2000 - any ideas what I am
doing wrong ?

Thanks in advance,

Mike




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2000-07-19  9:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4.2.0.58.20000717121622.00ca2c10@pop.cygnus.com>
2000-07-18 13:32 ` Problem building Sourcenav under Cygwin (latest) Mike D
2000-07-18 13:35   ` Syd Polk
2000-07-18 13:53   ` Ian Roxborough
2000-07-18 23:56     ` Mike D
2000-07-19  9:42       ` Syd Polk
2000-07-16  5:52 Mike Davies
2000-07-16  9:11 ` Mo DeJong
2000-07-16 12:33   ` Mike D
2000-07-16 13:14     ` Mo DeJong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).