Error when Installing

Error when Installing

am 08.05.2002 16:28:53 von jcuz

--=====================_172750962==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Hi--

I'm getting the following error(?) when trying to "gmake" Postgresql 7.2.1,
any ideas?

>----------------------------------------------------------- -------------------------------
> -e 's,@includedir_server@,/usr/local/pgsql/include/server,g' \
> -e 's,@libdir@,/usr/local/pgsql/lib,g' \
> -e 's,@pkglibdir@,/usr/local/pgsql/lib,g' \
> -e "s,@configure@,$configure,g" \
> -e 's,@version@,7.2.1,g' \
> pg_config.sh >pg_config
>chmod a+x pg_config
>gmake[3]: Leaving directory `/download/postgresql-7.2.1/src/bin/pg_config'
>gmake[3]: Entering directory `/download/postgresql-7.2.1/src/bin/pgaccess'
>sed -e 's,@WISH@,/usr/bin/wish,g' \
> -e 's,@PGACCESSHOME@,/usr/local/pgsql/share/pgaccess,g' \
> -e 's,@PGLIB@,/usr/local/pgsql/lib,g' \
> -e 's,@DEF_PGPORT@,5432,g' \
> pgaccess.sh >pgaccess
>chmod a+x pgaccess
>gmake[3]: Leaving directory `/download/postgresql-7.2.1/src/bin/pgaccess'
>gmake[3]: Entering directory `/download/postgresql-7.2.1/src/bin/pgtclsh'
>/bin/sh mkMakefile.tkdefs.sh '/usr/lib/tkConfig.sh' 'Makefile.tkdefs'
>/bin/sh mkMakefile.tcldefs.sh '/usr/lib/tclConfig.sh' 'Makefile.tcldefs'
>gmake[3]: Leaving directory `/download/postgresql-7.2.1/src/bin/pgtclsh'
>gmake[3]: Entering directory `/download/postgresql-7.2.1/src/bin/pgtclsh'
>gmake -C ../../../src/interfaces/libpgtcl all
>gmake[4]: Entering directory
>`/download/postgresql-7.2.1/src/interfaces/libpgtcl'
>gmake -C ../../../src/interfaces/libpq all
>gmake[5]: Entering directory `/download/postgresql-7.2.1/src/interfaces/libpq'
>gmake[5]: Nothing to be done for `all'.
>gmake[5]: Leaving directory `/download/postgresql-7.2.1/src/interfaces/libpq'
>gmake[4]: Leaving directory
>`/download/postgresql-7.2.1/src/interfaces/libpgtcl'
>gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
>-I../../../src/interfaces/libpgtcl
>-I../../../src/include -I/usr/X11R6/include -c -o pgtclAppInit.o
>pgtclAppInit.c
>gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations pgtclAppInit.o
>-L../../../src/interfaces/libpgtcl -lpgtcl -L../../../src/interfaces/libpq
>-lpq -L/usr/lib -ltcl8.3 -ldl -lieee -lm -Wl,-rpath,/usr/local/pgsql/lib
>-lcrypt -lresolv -lnsl -ldl -lm -lbsd -o pgtclsh
>gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
>-I../../../src/interfaces/libpgtcl
>-I../../../src/include -I/usr/X11R6/include -c -o pgtkAppInit.o pgtkAppInit.c
>In file included from pgtkAppInit.c:15:
>/usr/include/tk.h:83:29: X11/Xlib.h: No such file or directory
>gmake[3]: *** [pgtkAppInit.o] Error 1
>gmake[3]: Leaving directory `/download/postgresql-7.2.1/src/bin/pgtclsh'
>gmake[2]: *** [all] Error 2
>gmake[2]: Leaving directory `/download/postgresql-7.2.1/src/bin'
>gmake[1]: *** [all] Error 2
>gmake[1]: Leaving directory `/download/postgresql-7.2.1/src'
>gmake: *** [all] Error 2
>[root@R_MICRO_2 postgresql-7.2.1]#
>----------------------------------------------------------- -------------------------------

Julio Cuz, Jr.
Riverside Community College
jcuz@rccd.cc.ca.us
--=====================_172750962==_.ALT
Content-Type: text/html; charset="us-ascii"


Hi--


I'm getting the following error(?) when trying to "gmake"
Postgresql 7.2.1, any ideas?


------------------------------------------------------------ ------------------------------

    -e
's,@includedir_server@,/usr/local/pgsql/include/server,g' \

    -e 's,@libdir@,/usr/local/pgsql/lib,g' \

    -e 's,@pkglibdir@,/usr/local/pgsql/lib,g' \

    -e "s,@configure@,$configure,g" \

    -e 's,@version@,7.2.1,g' \

  pg_config.sh >pg_config

chmod a+x pg_config

gmake[3]: Leaving directory
`/download/postgresql-7.2.1/src/bin/pg_config'

gmake[3]: Entering directory
`/download/postgresql-7.2.1/src/bin/pgaccess'

sed -e 's,@WISH@,/usr/bin/wish,g' \

    -e
's,@PGACCESSHOME@,/usr/local/pgsql/share/pgaccess,g' \

    -e 's,@PGLIB@,/usr/local/pgsql/lib,g' \

    -e 's,@DEF_PGPORT@,5432,g' \

  pgaccess.sh >pgaccess

chmod a+x pgaccess

gmake[3]: Leaving directory
`/download/postgresql-7.2.1/src/bin/pgaccess'

gmake[3]: Entering directory
`/download/postgresql-7.2.1/src/bin/pgtclsh'

/bin/sh mkMakefile.tkdefs.sh '/usr/lib/tkConfig.sh'
'Makefile.tkdefs'

/bin/sh mkMakefile.tcldefs.sh '/usr/lib/tclConfig.sh'
'Makefile.tcldefs'

gmake[3]: Leaving directory
`/download/postgresql-7.2.1/src/bin/pgtclsh'

gmake[3]: Entering directory
`/download/postgresql-7.2.1/src/bin/pgtclsh'

gmake -C ../../../src/interfaces/libpgtcl all

gmake[4]: Entering directory
`/download/postgresql-7.2.1/src/interfaces/libpgtcl'

gmake -C ../../../src/interfaces/libpq all

gmake[5]: Entering directory
`/download/postgresql-7.2.1/src/interfaces/libpq'

gmake[5]: Nothing to be done for `all'.

gmake[5]: Leaving directory
`/download/postgresql-7.2.1/src/interfaces/libpq'

gmake[4]: Leaving directory
`/download/postgresql-7.2.1/src/interfaces/libpgtcl'

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../src/interfaces/libpgtcl -I../../../src/include 
-I/usr/X11R6/include  -c -o pgtclAppInit.o pgtclAppInit.c

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations pgtclAppInit.o
-L../../../src/interfaces/libpgtcl -lpgtcl
-L../../../src/interfaces/libpq -lpq -L/usr/lib -ltcl8.3 -ldl 
-lieee -lm  -Wl,-rpath,/usr/local/pgsql/lib -lcrypt -lresolv -lnsl
-ldl -lm -lbsd  -o pgtclsh

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../src/interfaces/libpgtcl -I../../../src/include 
-I/usr/X11R6/include  -c -o pgtkAppInit.o pgtkAppInit.c

In file included from pgtkAppInit.c:15:

/usr/include/tk.h:83:29: X11/Xlib.h: No such file or directory

gmake[3]: *** [pgtkAppInit.o] Error 1

gmake[3]: Leaving directory
`/download/postgresql-7.2.1/src/bin/pgtclsh'

gmake[2]: *** [all] Error 2

gmake[2]: Leaving directory `/download/postgresql-7.2.1/src/bin'

gmake[1]: *** [all] Error 2

gmake[1]: Leaving directory `/download/postgresql-7.2.1/src'

gmake: *** [all] Error 2

[root@R_MICRO_2 postgresql-7.2.1]#

------------------------------------------------------------ ------------------------------


Julio Cuz, Jr.

Riverside Community College

jcuz@rccd.cc.ca.us


--=====================_172750962==_.ALT--

Re: Error when Installing

am 08.05.2002 19:05:43 von Scott Marlowe

On Wed, 8 May 2002, Julio Cuz, Jr. wrote:

> Hi--
>
> I'm getting the following error(?) when trying to "gmake" Postgresql 7.2.1,
> any ideas?
> >-I../../../src/include -I/usr/X11R6/include -c -o pgtkAppInit.o pgtkAppInit.c
> >In file included from pgtkAppInit.c:15:
> >/usr/include/tk.h:83:29: X11/Xlib.h: No such file or directory

It looks like you are on a machine without X11 installed, and postgresql
is trying to make the tcl/tk interface for pgaccess.

what switches are you using in your ./configure script?



---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Re: Error when Installing

am 08.05.2002 19:56:50 von Keary Suska

on 5/8/02 8:28 AM, jcuz@rccd.cc.ca.us purportedly said:

> Hi--
>
> I'm getting the following error(?) when trying to "gmake" Postgresql 7.2.1,
> any ideas?
>
> In file included from pgtkAppInit.c:15:
> /usr/include/tk.h:83:29: X11/Xlib.h: No such file or directory

The file X11/Xlib.h cannot be found in the known include paths. Find this
file, then add its path to the include path options. ./configure --help for
info on how to do this.

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Re: Error when Installing

am 08.05.2002 23:07:48 von jcuz

--=====================_196686229==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Problem solved...thank you! It was the X11 thingie...

At 11:05 AM 5/8/2002 Wednesday, Scott Marlowe wrote:
>On Wed, 8 May 2002, Julio Cuz, Jr. wrote:
>
> > Hi--
> >
> > I'm getting the following error(?) when trying to "gmake" Postgresql
> 7.2.1,
> > any ideas?
> > >-I../../../src/include -I/usr/X11R6/include -c -o pgtkAppInit.o
> pgtkAppInit.c
> > >In file included from pgtkAppInit.c:15:
> > >/usr/include/tk.h:83:29: X11/Xlib.h: No such file or directory
>
>It looks like you are on a machine without X11 installed, and postgresql
>is trying to make the tcl/tk interface for pgaccess.
>
>what switches are you using in your ./configure script?
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>http://archives.postgresql.org

Julio Cuz, Jr.
Riverside Community College
jcuz@rccd.cc.ca.us
--=====================_196686229==_.ALT
Content-Type: text/html; charset="us-ascii"


Problem solved...thank you!  It was the X11
thingie...


At 11:05 AM 5/8/2002 Wednesday, Scott Marlowe wrote:

On Wed, 8 May 2002, Julio Cuz, Jr.
wrote:


> Hi--

>

> I'm getting the following error(?) when trying to "gmake"
Postgresql 7.2.1,

> any ideas?

> >-I../../../src/include  -I/usr/X11R6/include  -c -o
pgtkAppInit.o pgtkAppInit.c

> >In file included from pgtkAppInit.c:15:

> >/usr/include/tk.h:83:29: X11/Xlib.h: No such file or
directory


It looks like you are on a machine without X11 installed, and postgresql


is trying to make the tcl/tk interface for pgaccess.


what switches are you using in your ./configure script?





---------------------------(end of
broadcast)---------------------------

TIP 6: Have you searched our list archives?




Julio Cuz, Jr.

Riverside Community College

jcuz@rccd.cc.ca.us


--=====================_196686229==_.ALT--