Hi all, I've just been put on a project that requires creating a modified version of Source Navigator that runs under Windows 2000 and HP-UX. My first task is to get a buildable version working under Windows 2000. When I get tired of that, I get to do it again under HP-UX. Anyway, to my point, I've read a lot of docs, readmes and a lot of the emails regarding doing this under Windows. This is totally new to me so bare with me. I am familiar with VC++ 6.0 and that is what is installed on my Windows system. The directions in the Readme seem to take into account details that are not obvious to me. For instance, where do I put the Cygwin stuff in relation to the sources (it assumes I already have it), why doesn't the source tree come with make.exe, etc. The source I downloaded came from SN50-010322-source.zip. I've set up the environment with limited success creating the make file, when making my source directory a sub-directory of where the Cygwin.bat file is installed. I did see some errors, mainly couldn't find a certain file. But it made a makefile. However, the make doesn't run now because make.exe doesn't exist. Do I need to get that too? Where do I get one that is already built. What other issues am I going to run into? Long story short, is there a much more detailed, or canned approach available that I can follow step by step knowing I have a Windows system with just VC++6.0 loaded on it? One that includes everything that I need to download and what/how to configure? I'm not real familiar with the unix arena but am with the Windows. Any help would be greatly appreciated. The downloaded executable forms of SN work great on Windows, so I know it is buildable. Thanks in advance. Bruce Edson
Hi, you need a full working Cygwin environment (which is kind of like UNIX) to build Source-Navigators, the include development tools like "make" (maybe in the usertools and binutils packages?). Don't know a great deal about Cygwin, but there is a bunch of information over at: http://www.cygwin.com/ I don't remember much about building on HP-UX, I'm not sure if you'll need gcc or the HP-UX compiler. Any HP-UX users got any tips? Ian. Bruce Edson wrote: > > Hi all, > > I've just been put on a project that requires creating a modified version of > Source Navigator that runs under Windows 2000 and HP-UX. My first task is > to get a buildable version working under Windows 2000. When I get tired of > that, I get to do it again under HP-UX. > > Anyway, to my point, I've read a lot of docs, readmes and a lot of the > emails regarding doing this under Windows. This is totally new to me so > bare with me. I am familiar with VC++ 6.0 and that is what is installed on > my Windows system. The directions in the Readme seem to take into account > details that are not obvious to me. For instance, where do I put the Cygwin > stuff in relation to the sources (it assumes I already have it), why doesn't > the source tree come with make.exe, etc. The source I downloaded came from > SN50-010322-source.zip. > > I've set up the environment with limited success creating the make file, > when making my source directory a sub-directory of where the Cygwin.bat file > is installed. I did see some errors, mainly couldn't find a certain file. > But it made a makefile. However, the make doesn't run now because make.exe > doesn't exist. Do I need to get that too? Where do I get one that is > already built. What other issues am I going to run into? > > Long story short, is there a much more detailed, or canned approach > available that I can follow step by step knowing I have a Windows system > with just VC++6.0 loaded on it? One that includes everything that I need to > download and what/how to configure? I'm not real familiar with the unix > arena but am with the Windows. Any help would be greatly appreciated. > > The downloaded executable forms of SN work great on Windows, so I know it is > buildable. > > Thanks in advance. > > Bruce Edson
On Thu, 21 Feb 2002 19:02:44 -0800 Ian Roxborough <irox@redhat.com> wrote: > I don't remember much about building on HP-UX, I'm > not sure if you'll need gcc or the HP-UX compiler. > > Any HP-UX users got any tips? There is a HP-UX binary up from the last release so it must build (I have not tried it myself). http://mirrors.rcn.com/pub/sourceware/sourcenav/releases/binaries/SN50-010322-HPUX.tar.gz Do we want to continue to provide a HP-UX binary in the 5.1 release? I assumed that we would not unless someone has access to a HP-UX box and is willing to do the builds. There are some tricky HP-UX shared library issues that are bound to be broken in the next release because of the build system overhaul. cheers Mo
Mo DeJong wrote:
>
> On Thu, 21 Feb 2002 19:02:44 -0800
> Ian Roxborough <irox@redhat.com> wrote:
>
> > I don't remember much about building on HP-UX, I'm
> > not sure if you'll need gcc or the HP-UX compiler.
> >
> > Any HP-UX users got any tips?
>
> There is a HP-UX binary up from the last release so it must build (I have not tried it myself).
>
> http://mirrors.rcn.com/pub/sourceware/sourcenav/releases/binaries/SN50-010322-HPUX.tar.gz
>
> Do we want to continue to provide a HP-UX binary in the 5.1 release? I assumed
> that we would not unless someone has access to a HP-UX box and is willing
> to do the builds. There are some tricky HP-UX shared library issues that
> are bound to be broken in the next release because of the build system overhaul.
For the next release, I would suggest the following
supported platform list:
- Windows NT 4.0
- Linux.
These are the two platforms I have access to.
If they are other people interested in having other
platforms supported, then we will gladly accept help
in supporting and testing them...
Ian.
Thanks Ian. I went to Cygwin site and figured out how to get the rest of the utilities. So, now I am at the point where the 'configure' as described in the readme file, breaks with the following errors. Could you possibly give me some direction on them? I've numbered the output for each issue I saw as it ran. Directory tree I'm using: C:/docume~1/bruce/hpkeck~1/snkeck~1 is where Cygwin and bin utilities are installed C:/docume~1/bruce/hpkeck~1/snkeck~1/source is where the Source Navigator source is C:/docume~1/bruce/hpkeck~1/snkeck~1/snbuild is where my build directory is I execute the configure from snbuild by invoking the following: ../sourc/configure --host=i686-pc-cygwin --prefix="c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav" 1. grep: /source/libstdc++-v3/configure.in: No such file or directory 2. configuring in itcl/win running /bin/sh ../../../../source/itcl/itcl/win/configure --host=i686-pc-cygwin --target=i686-pc-cygwin '--prefix=c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav' --cache-file=../../../config.cache --srcdir=../../../../source/itcl/itcl/win cd: can't cd to ../../../tcl/win 3. configuring in itk/win running /bin/sh ../../../../source/itcl/itk/win/configure --host=i686-pc-cygwin --target=i686-pc-cygwin '--prefix=c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourc enav' --cache-file=../../../config.cache --srcdir=../../../../source/itcl/itk/win cd: can't cd to ../../../tcl/win cd: can't cd to ../../../tk/win 4. Configuring libgui... checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing 5. Configuring grep... checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing 6. Configuring snavigator... checking for Tcl configuration script... (cached) /snbuild/tcl8.1/unix/tclConfig.sh checking for Tk configuration script... (cached) /snbuild/tk8.1/unix/tkConfig.sh checking for Tcl headers in the source tree... (cached) configure: error: Can't find any Tcl headers Configure in /snbuild/snavigator failed, exiting. Thanks. Bruce -----Original Message----- From: Ian Roxborough [mailto:irox@redhat.com] Sent: Thursday, February 21, 2002 7:03 PM To: Bruce Edson Cc: sourcenav@sources.redhat.com Subject: Re: Headaches building Source Navigator under Windows Hi, you need a full working Cygwin environment (which is kind of like UNIX) to build Source-Navigators, the include development tools like "make" (maybe in the usertools and binutils packages?). Don't know a great deal about Cygwin, but there is a bunch of information over at: http://www.cygwin.com/ I don't remember much about building on HP-UX, I'm not sure if you'll need gcc or the HP-UX compiler. Any HP-UX users got any tips? Ian. Bruce Edson wrote: > > Hi all, > > I've just been put on a project that requires creating a modified version of > Source Navigator that runs under Windows 2000 and HP-UX. My first task is > to get a buildable version working under Windows 2000. When I get tired of > that, I get to do it again under HP-UX. > > Anyway, to my point, I've read a lot of docs, readmes and a lot of the > emails regarding doing this under Windows. This is totally new to me so > bare with me. I am familiar with VC++ 6.0 and that is what is installed on > my Windows system. The directions in the Readme seem to take into account > details that are not obvious to me. For instance, where do I put the Cygwin > stuff in relation to the sources (it assumes I already have it), why doesn't > the source tree come with make.exe, etc. The source I downloaded came from > SN50-010322-source.zip. > > I've set up the environment with limited success creating the make file, > when making my source directory a sub-directory of where the Cygwin.bat file > is installed. I did see some errors, mainly couldn't find a certain file. > But it made a makefile. However, the make doesn't run now because make.exe > doesn't exist. Do I need to get that too? Where do I get one that is > already built. What other issues am I going to run into? > > Long story short, is there a much more detailed, or canned approach > available that I can follow step by step knowing I have a Windows system > with just VC++6.0 loaded on it? One that includes everything that I need to > download and what/how to configure? I'm not real familiar with the unix > arena but am with the Windows. Any help would be greatly appreciated. > > The downloaded executable forms of SN work great on Windows, so I know it is > buildable. > > Thanks in advance. > > Bruce Edson
On Friday, February 22, 2002, at 01:07 , Bruce Edson wrote: > Thanks Ian. > > I went to Cygwin site and figured out how to get the rest of the > utilities. > So, now I am at the point where the 'configure' as described in the > readme > file, breaks with the following errors. Could you possibly give me some > direction on them? I've numbered the output for each issue I saw as it > ran. > > Directory tree I'm using: > > C:/docume~1/bruce/hpkeck~1/snkeck~1 is where Cygwin and bin utilities > are > installed > C:/docume~1/bruce/hpkeck~1/snkeck~1/source is where the Source > Navigator > source is > C:/docume~1/bruce/hpkeck~1/snkeck~1/snbuild is where my build > directory > is > > I execute the configure from snbuild by invoking the following: > > ../sourc/configure --host=i686-pc-cygwin > --prefix="c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav" > Do you mean ../source/configure? > > 1. > grep: /source/libstdc++-v3/configure.in: No such file or directory This is probably benign. > > 2. > configuring in itcl/win > running /bin/sh ../../../../source/itcl/itcl/win/configure > --host=i686-pc-cygwin --target=i686-pc-cygwin > '--prefix=c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav' > --cache-file=../../../config.cache > --srcdir=../../../../source/itcl/itcl/win > cd: can't cd to ../../../tcl/win > This is also benign. It tries in two locations. > > 3. > configuring in itk/win > running /bin/sh ../../../../source/itcl/itk/win/configure > --host=i686-pc-cygwin > --target=i686-pc-cygwin > '--prefix=c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourc > enav' --cache-file=../../../config.cache > --srcdir=../../../../source/itcl/itk/win > cd: can't cd to ../../../tcl/win > cd: can't cd to ../../../tk/win > This is also benign. > 4. > Configuring libgui... > checking for working aclocal... missing > checking for working autoconf... missing > checking for working automake... missing > checking for working autoheader... missing > checking for working makeinfo... missing > This is also benign... > 5. > Configuring grep... > checking for working aclocal... missing > checking for working autoconf... missing > checking for working automake... missing > checking for working autoheader... missing > checking for working makeinfo... missing > ditto... > 6. > Configuring snavigator... > checking for Tcl configuration script... (cached) > /snbuild/tcl8.1/unix/tclConfig.sh > checking for Tk configuration script... (cached) > /snbuild/tk8.1/unix/tkConfig.sh > checking for Tcl headers in the source tree... (cached) configure: > error: > Can't find any Tcl headers > Configure in /snbuild/snavigator failed, exiting. > Where is your tcl.h? Do you have a preinstalled tcl/tk? Or did you check it out with snavigator? The problem here is that it cannot find tcl.h. > Thanks. > > Bruce > > -----Original Message----- > From: Ian Roxborough [mailto:irox@redhat.com] > Sent: Thursday, February 21, 2002 7:03 PM > To: Bruce Edson > Cc: sourcenav@sources.redhat.com > Subject: Re: Headaches building Source Navigator under Windows > > > > Hi, > > you need a full working Cygwin environment (which is kind > of like UNIX) to build Source-Navigators, the include > development tools like "make" (maybe in the usertools > and binutils packages?). > > Don't know a great deal about Cygwin, but there is > a bunch of information over at: > http://www.cygwin.com/ > > I don't remember much about building on HP-UX, I'm > not sure if you'll need gcc or the HP-UX compiler. > > Any HP-UX users got any tips? > > Ian. > > Bruce Edson wrote: >> >> Hi all, >> >> I've just been put on a project that requires creating a modified >> version > of >> Source Navigator that runs under Windows 2000 and HP-UX. My first >> task is >> to get a buildable version working under Windows 2000. When I get >> tired > of >> that, I get to do it again under HP-UX. >> >> Anyway, to my point, I've read a lot of docs, readmes and a lot of the >> emails regarding doing this under Windows. This is totally new to me >> so >> bare with me. I am familiar with VC++ 6.0 and that is what is >> installed > on >> my Windows system. The directions in the Readme seem to take into >> account >> details that are not obvious to me. For instance, where do I put the > Cygwin >> stuff in relation to the sources (it assumes I already have it), why > doesn't >> the source tree come with make.exe, etc. The source I downloaded came > from >> SN50-010322-source.zip. >> >> I've set up the environment with limited success creating the make >> file, >> when making my source directory a sub-directory of where the Cygwin.bat > file >> is installed. I did see some errors, mainly couldn't find a certain >> file. >> But it made a makefile. However, the make doesn't run now because > make.exe >> doesn't exist. Do I need to get that too? Where do I get one that is >> already built. What other issues am I going to run into? >> >> Long story short, is there a much more detailed, or canned approach >> available that I can follow step by step knowing I have a Windows >> system >> with just VC++6.0 loaded on it? One that includes everything that I >> need > to >> download and what/how to configure? I'm not real familiar with the >> unix >> arena but am with the Windows. Any help would be greatly appreciated. >> >> The downloaded executable forms of SN work great on Windows, so I know >> it > is >> buildable. >> >> Thanks in advance. >> >> Bruce Edson > > Syd Polk QA and Integration Manager, Mac OS X Development Tools +1 408 974-0577
Bruce Edson wrote: > ../sourc/configure --host=i686-pc-cygwin > --prefix="c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav" > > 1. > grep: /source/libstdc++-v3/configure.in: No such file or directory Looks like you are trying to build libstdc++. You don't need this to build SN. > 2. > configuring in itcl/win > running /bin/sh ../../../../source/itcl/itcl/win/configure > --host=i686-pc-cygwin --target=i686-pc-cygwin > '--prefix=c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav' > --cache-file=../../../config.cache --srcdir=../../../../source/itcl/itcl/win > cd: can't cd to ../../../tcl/win Do you have tcl and tk sources in the correct place? > 4. > Configuring libgui... > checking for working aclocal... missing > checking for working autoconf... missing > checking for working automake... missing > checking for working autoheader... missing > checking for working makeinfo... missing This means the you don't have automake and autoconf install. If you are not changing Makefile.ams or configure files this doesn't matter........ > 6. > Configuring snavigator... > checking for Tcl configuration script... (cached) > /snbuild/tcl8.1/unix/tclConfig.sh > checking for Tk configuration script... (cached) > /snbuild/tk8.1/unix/tkConfig.sh > checking for Tcl headers in the source tree... (cached) configure: error: > Can't find any Tcl headers > Configure in /snbuild/snavigator failed, exiting. did you get the source from the tarball or CVS? Can you build Tcl by itself? I'm not sure it SN builds with VC++v6, I thought it did, but I'm not 100% sure. Ian. > -----Original Message----- > From: Ian Roxborough [mailto:irox@redhat.com] > Sent: Thursday, February 21, 2002 7:03 PM > To: Bruce Edson > Cc: sourcenav@sources.redhat.com > Subject: Re: Headaches building Source Navigator under Windows > > Hi, > > you need a full working Cygwin environment (which is kind > of like UNIX) to build Source-Navigators, the include > development tools like "make" (maybe in the usertools > and binutils packages?). > > Don't know a great deal about Cygwin, but there is > a bunch of information over at: > http://www.cygwin.com/ > > I don't remember much about building on HP-UX, I'm > not sure if you'll need gcc or the HP-UX compiler. > > Any HP-UX users got any tips? > > Ian. > > Bruce Edson wrote: > > > > Hi all, > > > > I've just been put on a project that requires creating a modified version > of > > Source Navigator that runs under Windows 2000 and HP-UX. My first task is > > to get a buildable version working under Windows 2000. When I get tired > of > > that, I get to do it again under HP-UX. > > > > Anyway, to my point, I've read a lot of docs, readmes and a lot of the > > emails regarding doing this under Windows. This is totally new to me so > > bare with me. I am familiar with VC++ 6.0 and that is what is installed > on > > my Windows system. The directions in the Readme seem to take into account > > details that are not obvious to me. For instance, where do I put the > Cygwin > > stuff in relation to the sources (it assumes I already have it), why > doesn't > > the source tree come with make.exe, etc. The source I downloaded came > from > > SN50-010322-source.zip. > > > > I've set up the environment with limited success creating the make file, > > when making my source directory a sub-directory of where the Cygwin.bat > file > > is installed. I did see some errors, mainly couldn't find a certain file. > > But it made a makefile. However, the make doesn't run now because > make.exe > > doesn't exist. Do I need to get that too? Where do I get one that is > > already built. What other issues am I going to run into? > > > > Long story short, is there a much more detailed, or canned approach > > available that I can follow step by step knowing I have a Windows system > > with just VC++6.0 loaded on it? One that includes everything that I need > to > > download and what/how to configure? I'm not real familiar with the unix > > arena but am with the Windows. Any help would be greatly appreciated. > > > > The downloaded executable forms of SN work great on Windows, so I know it > is > > buildable. > > > > Thanks in advance. > > > > Bruce Edson
Thanks Syd and Ian. I started by downloading the zip file, SN50-010322-source.zip. I'm using the configure in the source directory that was unzipped from the zip. Did Tcl/TK not come with it? Where should they be in relation to the source directories? Do I need to install this separately from SN and Cygwin? Bruce -----Original Message----- From: Syd Polk [mailto:jazzman@bayarea.net] Sent: Friday, February 22, 2002 1:21 PM To: Bruce Edson Cc: sourcenav@sources.redhat.com Subject: Re: Headaches building Source Navigator under Windows On Friday, February 22, 2002, at 01:07 , Bruce Edson wrote: > Thanks Ian. > > I went to Cygwin site and figured out how to get the rest of the > utilities. > So, now I am at the point where the 'configure' as described in the > readme > file, breaks with the following errors. Could you possibly give me some > direction on them? I've numbered the output for each issue I saw as it > ran. > > Directory tree I'm using: > > C:/docume~1/bruce/hpkeck~1/snkeck~1 is where Cygwin and bin utilities > are > installed > C:/docume~1/bruce/hpkeck~1/snkeck~1/source is where the Source > Navigator > source is > C:/docume~1/bruce/hpkeck~1/snkeck~1/snbuild is where my build > directory > is > > I execute the configure from snbuild by invoking the following: > > ../sourc/configure --host=i686-pc-cygwin > --prefix="c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav" > Do you mean ../source/configure? > > 1. > grep: /source/libstdc++-v3/configure.in: No such file or directory This is probably benign. > > 2. > configuring in itcl/win > running /bin/sh ../../../../source/itcl/itcl/win/configure > --host=i686-pc-cygwin --target=i686-pc-cygwin > '--prefix=c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav' > --cache-file=../../../config.cache > --srcdir=../../../../source/itcl/itcl/win > cd: can't cd to ../../../tcl/win > This is also benign. It tries in two locations. > > 3. > configuring in itk/win > running /bin/sh ../../../../source/itcl/itk/win/configure > --host=i686-pc-cygwin > --target=i686-pc-cygwin > '--prefix=c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourc > enav' --cache-file=../../../config.cache > --srcdir=../../../../source/itcl/itk/win > cd: can't cd to ../../../tcl/win > cd: can't cd to ../../../tk/win > This is also benign. > 4. > Configuring libgui... > checking for working aclocal... missing > checking for working autoconf... missing > checking for working automake... missing > checking for working autoheader... missing > checking for working makeinfo... missing > This is also benign... > 5. > Configuring grep... > checking for working aclocal... missing > checking for working autoconf... missing > checking for working automake... missing > checking for working autoheader... missing > checking for working makeinfo... missing > ditto... > 6. > Configuring snavigator... > checking for Tcl configuration script... (cached) > /snbuild/tcl8.1/unix/tclConfig.sh > checking for Tk configuration script... (cached) > /snbuild/tk8.1/unix/tkConfig.sh > checking for Tcl headers in the source tree... (cached) configure: > error: > Can't find any Tcl headers > Configure in /snbuild/snavigator failed, exiting. > Where is your tcl.h? Do you have a preinstalled tcl/tk? Or did you check it out with snavigator? The problem here is that it cannot find tcl.h. > Thanks. > > Bruce >
Bruce Edson wrote: > > Thanks Syd and Ian. > > I started by downloading the zip file, SN50-010322-source.zip. I'm using > the configure in the source directory that was unzipped from the zip. Did > Tcl/TK not come with it? Where should they be in relation to the source > directories? It should come with Tcl/Tk sources. I would be interesting if you could compare it to an Windows NT 4.0 machine to see if this is something related to Win2K. > Do I need to install this separately from SN and Cygwin? You normally don't have to worry about there Cygwin is installed (just as you don't have to worry about where VC++ is installed with relation to SN). Ian.
Under my 'source' directory, which is where the files from SN50-010322-source.zip were extracted to, I find the tcl.h file in tcl8.1/generic. I also find a tcl.h file under usr/include, 'usr' being at the same level as 'source'. As I have directories for tcl8.1 and tk8.1 I'm assuming that I have TCL/TK sources and they're in the right place. Is this not the case? Do I need to change something in the configure.in file located in the 'snavigator' directory? Bruce -----Original Message----- From: Ian Roxborough [mailto:irox@redhat.com] Sent: Friday, February 22, 2002 3:10 PM To: Bruce Edson Cc: sourcenav@sources.redhat.com Subject: Re: Headaches building Source Navigator under Windows Bruce Edson wrote: > > Thanks Syd and Ian. > > I started by downloading the zip file, SN50-010322-source.zip. I'm using > the configure in the source directory that was unzipped from the zip. Did > Tcl/TK not come with it? Where should they be in relation to the source > directories? It should come with Tcl/Tk sources. I would be interesting if you could compare it to an Windows NT 4.0 machine to see if this is something related to Win2K. > Do I need to install this separately from SN and Cygwin? You normally don't have to worry about there Cygwin is installed (just as you don't have to worry about where VC++ is installed with relation to SN). Ian.
On Fri, 22 Feb 2002 13:07:46 -0800 Bruce Edson <bruce@steptech.com> wrote: > I went to Cygwin site and figured out how to get the rest of the utilities. > So, now I am at the point where the 'configure' as described in the readme > file, breaks with the following errors. > ../sourc/configure --host=i686-pc-cygwin > --prefix="c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav" Well, this looks ok. Any particular reason you passed a --host option here? > 2. > configuring in itcl/win > running /bin/sh ../../../../source/itcl/itcl/win/configure > --host=i686-pc-cygwin --target=i686-pc-cygwin > '--prefix=c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav' > --cache-file=../../../config.cache --srcdir=../../../../source/itcl/itcl/win > cd: can't cd to ../../../tcl/win Humm, I would think that should be looking in ../tcl8.1/win, but I am not sure if it matters. > 6. > Configuring snavigator... > checking for Tcl configuration script... (cached) > /snbuild/tcl8.1/unix/tclConfig.sh > checking for Tk configuration script... (cached) > /snbuild/tk8.1/unix/tkConfig.sh > checking for Tcl headers in the source tree... (cached) configure: error: > Can't find any Tcl headers > Configure in /snbuild/snavigator failed, exiting. Well, this is not right. It should be checking in tcl8.1/win not the unix subdir. Me thinks something has gone wrong in tcl8.1/configure.in where it selects either the unix subdir or the win subdir based on the --host setting. Go into your $build/tcl8.1 dir and run this grep: grep CONFIGDIR config.status You should get a result like: s%@CONFIGDIR@%win%g If you get "unix" instead of "win" then that is the problem. You could try to not pass a --host option and see if that makes any diff. cheers Mo
At 12:47 AM -0800 2/26/02, Mo DeJong wrote: >On Fri, 22 Feb 2002 13:07:46 -0800 >Bruce Edson <bruce@steptech.com> wrote: > >> I went to Cygwin site and figured out how to get the rest of the utilities. >> So, now I am at the point where the 'configure' as described in the readme >> file, breaks with the following errors. > >> ../sourc/configure --host=i686-pc-cygwin >> --prefix="c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav" > >Well, this looks ok. Any particular reason you passed a --host option here? > >> 2. >> configuring in itcl/win >> running /bin/sh ../../../../source/itcl/itcl/win/configure >> --host=i686-pc-cygwin --target=i686-pc-cygwin >> '--prefix=c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav' >> --cache-file=../../../config.cache --srcdir=../../../../source/itcl/itcl/win >> cd: can't cd to ../../../tcl/win > >Humm, I would think that should be looking in ../tcl8.1/win, but I >am not sure if it matters. When looking for tclConfig.sh, it looks both in ../../../tcl/win, and ../../../tcl8.3/win. This was to get it to work in either the classic Cygnus directory layout or the Source-Navigator directory layout. I never figured out how to get rid of this spurious error message. >cheers >Mo -- Syd Polk jazzman@bayarea.net http://www.bayarea.net/~jazzman "Let the music be your light." -- Dave Edwards, KUHF-FM, 1982
Thanks for responding, Mo. I removed the host option and still get the same results. I originally put it there after my first attempt of a cygwin install. That's been updated now, so it appears that the host option isn't needed. When configuring itcl/win, it attempts to cd into '../../../tcl/win' and fails. Maybe I need to change something to get it cd into '../../../tcl8.1/win'. If so what and where would I make the change? Ran grep in snbuild/tcl8.1 directory and got the expected results, 's%@CONFIGDIR@%win%g'. I agree, it looks mighty strange that its playing in the unix path here. I also noticed that when creating tclconfig.sh and tkconfig.sh, they were created in snbuild/tcl8.1/unix and snbuild/tk8.1/unix subdirectories. This was shortly after receiving the message '> cd: can't cd to ../../../tcl/win'. Can anyone think of why? Bruce -----Original Message----- From: Mo DeJong [mailto:supermo@bayarea.net] Sent: Tuesday, February 26, 2002 12:48 AM To: sourcenav Subject: Re: Headaches building Source Navigator under Windows On Fri, 22 Feb 2002 13:07:46 -0800 Bruce Edson <bruce@steptech.com> wrote: > I went to Cygwin site and figured out how to get the rest of the utilities. > So, now I am at the point where the 'configure' as described in the readme > file, breaks with the following errors. > ../sourc/configure --host=i686-pc-cygwin > --prefix="c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav" Well, this looks ok. Any particular reason you passed a --host option here? > 2. > configuring in itcl/win > running /bin/sh ../../../../source/itcl/itcl/win/configure > --host=i686-pc-cygwin --target=i686-pc-cygwin > '--prefix=c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav' > --cache-file=../../../config.cache --srcdir=../../../../source/itcl/itcl/win > cd: can't cd to ../../../tcl/win Humm, I would think that should be looking in ../tcl8.1/win, but I am not sure if it matters. > 6. > Configuring snavigator... > checking for Tcl configuration script... (cached) > /snbuild/tcl8.1/unix/tclConfig.sh > checking for Tk configuration script... (cached) > /snbuild/tk8.1/unix/tkConfig.sh > checking for Tcl headers in the source tree... (cached) configure: error: > Can't find any Tcl headers > Configure in /snbuild/snavigator failed, exiting. Well, this is not right. It should be checking in tcl8.1/win not the unix subdir. Me thinks something has gone wrong in tcl8.1/configure.in where it selects either the unix subdir or the win subdir based on the --host setting. Go into your $build/tcl8.1 dir and run this grep: grep CONFIGDIR config.status You should get a result like: s%@CONFIGDIR@%win%g If you get "unix" instead of "win" then that is the problem. You could try to not pass a --host option and see if that makes any diff. cheers Mo
Just as another attempt at this, I tried what you suggested, namely putting cl.exe in quotes. Configure now runs to the end. Yahoo! Quite the stab in the dark, Ian. I am not sure what was happening, maybe you could explain. Thanks! Now on to the next road block in the 'make' portion of the build. This seems to run along for a while without errors, although a few warnings, until the following: LINK : LNK6004: ./tix4181.exe not found or not built by the last incremental link; performing full link make[2]: Leaving directory `/snbuild/tix/win' make[1]: Leaving directory `/snbuild/tix' make[1]: Entering directory `/snbuild/itcl' Making in itcl/win make[2]: Entering directory `/snbuild/itcl/itcl/win' make[2]: *** No rule to make target `itcl_bicmds.obj', needed by `snitcl30.dll'. Stop. make[2]: Leaving directory `/snbuild/itcl/itcl/win' make[1]: *** [all] Error 1 make[1]: Leaving directory `/snbuild/itcl' make: *** [all-itcl] Error 2 Any thoughts? Bruce -----Original Message----- From: Ian Roxborough [mailto:irox@redhat.com] Sent: Tuesday, February 26, 2002 12:07 PM To: Bruce Edson Cc: Mo DeJong Subject: Re: Headaches building Source Navigator under Windows A stab in the dark: Are you setting to CC="cl.exe ...." before you run configure? Ian. Bruce Edson wrote: > > Thanks for responding, Mo. > > I removed the host option and still get the same results. I originally put > it there after my first attempt of a cygwin install. That's been updated > now, so it appears that the host option isn't needed. > > When configuring itcl/win, it attempts to cd into '../../../tcl/win' and > fails. Maybe I need to change something to get it cd into > '../../../tcl8.1/win'. If so what and where would I make the change? > > Ran grep in snbuild/tcl8.1 directory and got the expected results, > 's%@CONFIGDIR@%win%g'. I agree, it looks mighty strange that its playing in > the unix path here. > > I also noticed that when creating tclconfig.sh and tkconfig.sh, they were > created in snbuild/tcl8.1/unix and snbuild/tk8.1/unix subdirectories. This > was shortly after receiving the message '> cd: can't cd to > ../../../tcl/win'. Can anyone think of why? > > Bruce > > -----Original Message----- > From: Mo DeJong [mailto:supermo@bayarea.net] > Sent: Tuesday, February 26, 2002 12:48 AM > To: sourcenav > Subject: Re: Headaches building Source Navigator under Windows > > On Fri, 22 Feb 2002 13:07:46 -0800 > Bruce Edson <bruce@steptech.com> wrote: > > > I went to Cygwin site and figured out how to get the rest of the > utilities. > > So, now I am at the point where the 'configure' as described in the readme > > file, breaks with the following errors. > > > ../sourc/configure --host=i686-pc-cygwin > > --prefix="c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav" > > Well, this looks ok. Any particular reason you passed a --host option here? > > > 2. > > configuring in itcl/win > > running /bin/sh ../../../../source/itcl/itcl/win/configure > > --host=i686-pc-cygwin --target=i686-pc-cygwin > > '--prefix=c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav' > > --cache-file=../../../config.cache > --srcdir=../../../../source/itcl/itcl/win > > cd: can't cd to ../../../tcl/win > > Humm, I would think that should be looking in ../tcl8.1/win, but I > am not sure if it matters. > > > 6. > > Configuring snavigator... > > checking for Tcl configuration script... (cached) > > /snbuild/tcl8.1/unix/tclConfig.sh > > checking for Tk configuration script... (cached) > > /snbuild/tk8.1/unix/tkConfig.sh > > checking for Tcl headers in the source tree... (cached) configure: error: > > Can't find any Tcl headers > > Configure in /snbuild/snavigator failed, exiting. > > Well, this is not right. It should be checking in tcl8.1/win not the > unix subdir. Me thinks something has gone wrong in tcl8.1/configure.in > where it selects either the unix subdir or the win subdir based on the > --host setting. > > Go into your $build/tcl8.1 dir and run this grep: > grep CONFIGDIR config.status > > You should get a result like: > s%@CONFIGDIR@%win%g > > If you get "unix" instead of "win" then that is the problem. You could try > to not pass a --host option and see if that makes any diff. > > cheers > Mo
Am Die, 2002-02-26 um 18.11 schrieb Syd Polk: > At 12:47 AM -0800 2/26/02, Mo DeJong wrote: > >On Fri, 22 Feb 2002 13:07:46 -0800 > >Bruce Edson <bruce@steptech.com> wrote: > >Well, this looks ok. Any particular reason you passed a --host option here? > > > >> 2. > >> configuring in itcl/win > >> running /bin/sh ../../../../source/itcl/itcl/win/configure > >> --host=i686-pc-cygwin --target=i686-pc-cygwin > >> '--prefix=c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav' > >> --cache-file=../../../config.cache --srcdir=../../../../source/itcl/itcl/win > >> cd: can't cd to ../../../tcl/win > > > >Humm, I would think that should be looking in ../tcl8.1/win, but I > >am not sure if it matters. > > When looking for tclConfig.sh, it looks both in ../../../tcl/win, and > ../../../tcl8.3/win. This was to get it to work in either the classic > Cygnus directory layout or the Source-Navigator directory layout. I > never figured out how to get rid of this spurious error message. Just a guess: CDPATH? From autoconf-2.52's autoconf.info: `CDPATH' When this variable is set `cd' is verbose, so idioms such as `abs=`cd $rel && pwd`' break because `abs' receives the path twice. At least the fragment from itcl/itcl/win/configure.in below smells like being subject to this portability issue: .. if test ! -f $TCL_BIN_DIR/../unix/tclConfig.sh; then TCL_BIN_DIR=`cd ../../../tcl8.1/win;pwd` fi .. Ralf