public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] trying to build ecosconfig for Solaris 7
@ 2000-09-11 19:08 Deborah Bennett
  2000-09-12  2:09 ` Robert Swindells
  2000-09-12  6:21 ` Bart Veer
  0 siblings, 2 replies; 12+ messages in thread
From: Deborah Bennett @ 2000-09-11 19:08 UTC (permalink / raw)
  To: ecos-discuss

I am trying to build ecosconfig for Solaris 7.

I found the reasonable README in tools/src/ which I am following.
This file doesn't give the relative path to the configure script,
but I found one in  tools/src/tools/configtool/standalone/common
which I am using.

I discovered that this configure script inherently assumes that
the build directory (from where you will execute configure
and then do the make) must be in tools/src/tools/configtool/standalone.
I created the build directory (tools/src/tools/configtool/standalone/build)
and ran configure from there.
I got configure to run to completion and create a Makefile.
However, when I try to run make, I get these errors:


c++ -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes 
-Wmissing-prototypes -Wnested-externs -Woverloaded-virtual 
-DPACKAGE=\"ecosconfig\" -DVERSION=\"0.1\"  -I. -I../common  -I../../../../infra 
-I../common/../../../../libcdl -I/pkg/local/include 
-I../common/../../common/common    -g -O2 -c ../common/ecosconfig.cxx
In file included from ../common/../../../../libcdl/cdl.hxx:57,
                 from ../common/cdl_exec.hxx:25,
                 from ../common/ecosconfig.cxx:48:
../common/../../../../libcdl/cdlcore.hxx:85: cyg/infra/cyg_type.h: No such file 
or directory
../common/../../../../libcdl/cdlcore.hxx:89: cyg/infra/cyg_ass.h: No such file 
or directory

The files which can't be found are located in tools/src/infra, but
there is no "cyg" in their pathname. Note also that the -I directives
do include the infra directory.

Has anyone gotten this to work? I'm puzzled how an include file
in "tools/src/infra" could be found in <cyg/infra>. Have I found
a bug, or is there something I'm missing? I saw some mail in
the August mail archives from someone else who said he got the host-side tools
to build on Solaris 7, but then they dumped core.

Thanks in advance,
-deborah bennett

^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <200009120909.CAA20410@cygnus.com>]
* Re: [ECOS] trying to build ecosconfig for Solaris 7
@ 2000-09-12  9:42 Deborah Bennett
  2000-09-12 10:27 ` Bart Veer
  0 siblings, 1 reply; 12+ messages in thread
From: Deborah Bennett @ 2000-09-12  9:42 UTC (permalink / raw)
  To: bartv; +Cc: ecos-discuss

> 
> >>>>> "Deborah" == Deborah Bennett <Deborah.Bennett@eng.sun.com> writes:
> 
>     Deborah> I am trying to build ecosconfig for Solaris 7. I found
>     Deborah> the reasonable README in tools/src/ which I am following.
>     Deborah> This file doesn't give the relative path to the configure
>     Deborah> script, but I found one in
>     Deborah> tools/src/tools/configtool/standalone/common which I am
>     Deborah> using.
> 
>     <snip>
> 
> You need to build the entire host-side tree and not just ecosconfig,
> since the latter relies on various libraries such as libcdl.a. You
> should be using the configure script that is in the same directory as
> the README file. That will take care of all the required
> subdirectories in the appropriate order.

Thank you Bart, this was the trick. The README isn't that specific
about which configure script to use in the tools/src tree
(and I found several). I used tools/src/configure and the configure
worked properly the first time.

> 
> With appropriate care it is possible to use the lower-level configure
> scripts, but those are really intended for use only by the
> maintainers. The top-level configure script is for general use.

This makes sense and explains what I was seeing.
Thanks again.

-deborah bennett

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [ECOS] trying to build ecosconfig for Solaris 7
@ 2000-09-12 10:47 Deborah Bennett
  2000-09-12 11:13 ` Greg Shubin
  0 siblings, 1 reply; 12+ messages in thread
From: Deborah Bennett @ 2000-09-12 10:47 UTC (permalink / raw)
  To: ecos-discuss

> 
> >>>>> "Deborah" == Deborah Bennett <Deborah.Bennett@eng.sun.com> writes:
> 
>     Deborah> I am trying to build ecosconfig for Solaris 7. I found
>     Deborah> the reasonable README in tools/src/ which I am following.
>     Deborah> This file doesn't give the relative path to the configure
>     Deborah> script, but I found one in
>     Deborah> tools/src/tools/configtool/standalone/common which I am
>     Deborah> using.
> 
>     <snip>
> 
> You need to build the entire host-side tree and not just ecosconfig,
> since the latter relies on various libraries such as libcdl.a. You
> should be using the configure script that is in the same directory as
> the README file. That will take care of all the required
> subdirectories in the appropriate order.
> 

I have now sucessfully built ecosconfig for Solaris 7.
Here are some notes I compiled.

1) You must use c++ (gcc) 2.9. 2.8 will not work. You will get an
   internal compiler error. (I didn't debug this problem, but I
   could reproduce it if someone wants to see the message).
   I don't think this is currently noted in the README.

2) As someone else noted tangentially, you must use the
   --with-tcl-version flag to configure, since Solaris Tcl installs
   can be multi-version.

3) As is already noted in the tools/src/README file, you must use
   Tcl version 8.

4) As Bart noted earlier in this thread, use tools/src/configure.

I did my tools build from tools/src/build. Here is the configure
command which worked for me (note /pkg/local is where I get
my tools, $CODEMGR_WS is the top of the ecos tree):

../configure --prefix=$CODEMGR_WS/tools/install.solaris --with-tcl=/pkg/local 
--with-tcl-version=8.0

This produced a Makefile which I was able to use to run
make and make install sucessfully.

Thanks to everyone who sent email to help me with this.

-deborah bennett



^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [ECOS] trying to build ecosconfig for Solaris 7
@ 2000-09-12 11:17 Deborah Bennett
  0 siblings, 0 replies; 12+ messages in thread
From: Deborah Bennett @ 2000-09-12 11:17 UTC (permalink / raw)
  To: gshubin; +Cc: ecos-discuss

> 
> Deborah Bennett wrote:
> 
> > ...
> 
> >
> > This produced a Makefile which I was able to use to run
> > make and make install sucessfully.
> >
> > Thanks to everyone who sent email to help me with this.
> >
> > -deborah bennett
> 
> Just wondering, did you use GNU make or Solaris make?

GNU Make version 3.75. Good question, and sorry I didn't
make that point clear.

-deborah

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

end of thread, other threads:[~2000-09-12 11:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-11 19:08 [ECOS] trying to build ecosconfig for Solaris 7 Deborah Bennett
2000-09-12  2:09 ` Robert Swindells
2000-09-12  6:21 ` Bart Veer
     [not found] <200009120909.CAA20410@cygnus.com>
2000-09-12  6:07 ` Jonathan Larmour
2000-09-12  9:49   ` Greg Shubin
2000-09-12 10:06     ` Bart Veer
2000-09-12  9:54   ` Greg Shubin
2000-09-12  9:42 Deborah Bennett
2000-09-12 10:27 ` Bart Veer
2000-09-12 10:47 Deborah Bennett
2000-09-12 11:13 ` Greg Shubin
2000-09-12 11:17 Deborah Bennett

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).