I am again trying to compile on my (possible non standard) Solaris
platform.  I still have to add in library directories and -lucb in
order to find getrusage, &c.  One thing I have noticed is that the
configure script now checks for string.h vs strings.h, but this
information is not being propagated to the correct makefiles, so that
pgc.l gets the following problem:

gcc -I../../../include -I../../../backend    -Wall -Wmissing-prototypes -I../include -DMAJOR_VERSION=1 -DMINOR_VERSION=1 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/home/dolomite/pgsql/include\"   -c pgc.c 
pgc.l:8: strings.h: No such file or directory


I fixed this by hand in the ecpg Makefile, but I'm not quite sure how
to get the configure information into the correct Makefile.

Ocie


Wed, 25 Mar 1998 15:02:55 -0800 (PST)
ocie@paracel.com
string.h and strings.h in ecpg
ocie@paracel.com writes:
 > I am again trying to compile on my (possible non standard) Solaris
 > platform.  I still have to add in library directories and -lucb in
 > order to find getrusage, &c.  One thing I have noticed is that the
 > configure script now checks for string.h vs strings.h, but this
 > information is not being propagated to the correct makefiles, so that
 > pgc.l gets the following problem:
 > 
 > gcc -I../../../include -I../../../backend    -Wall -Wmissing-prototypes -I../include -DMAJOR_VERSION=1 -DMINOR_VERSION=1 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/home/dolomite/pgsql/include\"   -c pgc.c 
 > pgc.l:8: strings.h: No such file or directory

The file pgc.l is missing a "#include "config.h" at the
beginning. Then everything is fine.

 > 
 > 
 > I fixed this by hand in the ecpg Makefile, but I'm not quite sure how
 > to get the configure information into the correct Makefile.
 > 
 > Ocie
 > 

-- 
MfG/Regards
				     Siemens Nixdorf Informationssysteme AG
     /====                          Abt.: OEC XS QM4
    /    Ridderbusch        / ,    Heinz Nixdorf Ring
   /                       /./    33106 Paderborn, Germany
  /=== /,== ,===/  /,==,  //     Tel.: (49) 05251-8-15211
 /    //   /   /  //   / / \    NERV: ridderbusch.pad
/    /     `==/\ /    / /   \  Email: ridderbusch.pad@sni.de

Since I have taken all the Gates out of my computer, it finally works!!

Thu, 26 Mar 1998 08:44:50 +0100 (MET)
Frank Ridderbusch <ridderbusch.pad@sni.de>
[HACKERS] string.h and strings.h in ecpg
Frank Ridderbusch writes:
> The file pgc.l is missing a "#include "config.h" at the
> beginning. Then everything is fine.

Okay, I have added this to my source. It will go into cvs with my next
patch.

Michael

-- 
Dr. Michael Meskes, Project-Manager    | topsystem Systemhaus GmbH
meskes@topsystem.de                    | Europark A2, Adenauerstr. 20
meskes@debian.org                      | 52146 Wuerselen
Go SF49ers! Go Rhein Fire!             | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux!                  | Fax: (+49) 2405/4670-10

Thu, 26 Mar 1998 09:15:37 +0100 ()
Michael Meskes <meskes@topsystem.de>
Re: [HACKERS] string.h and strings.h in ecpg