compilation error

Started by Martin A. Marquesalmost 25 years ago2 messages
#1Martin A. Marques
martin@math.unl.edu.ar

I'm trying to compile postgres on a Solaris 7 SPARC machine and I get this
error:

make[4]: Leaving directory
`/space/pruebas/postgresql-7.1beta1/src/interfaces/libpq'
gcc -g -Wall -Wmissing-prototypes -Wmissing-declarations -fPIC
-I../../../src/include -I../../../src/interfaces/libpq -c pgtcl.c -o pgtcl.o
In file included from pgtcl.c:19:
libpgtcl.h:19: tcl.h: No such file or directory
In file included from pgtcl.c:20:
pgtclCmds.h:17: tcl.h: No such file or directory
make[3]: *** [pgtcl.o] Error 1
make[3]: Leaving directory
`/space/pruebas/postgresql-7.1beta1/src/interfaces/libpgtcl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/space/pruebas/postgresql-7.1beta1/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/space/pruebas/postgresql-7.1beta1/src'
make: *** [all] Error 2
*** Error code 2

Now, tcl.h is in /usr/local/include/.

What can I do?

Saludos... :-)

--
System Administration: It's a dirty job,
but someone told I had to do it.
-----------------------------------------------------------------
Mart�n Marqu�s email: martin@math.unl.edu.ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

#2Zeugswetter Andreas SB
ZeugswetterA@wien.spardat.at
In reply to: Martin A. Marques (#1)
AW: [HACKERS] compilation error

I'm trying to compile postgres on a Solaris 7 SPARC machine
and I get this error:

gcc -g -Wall -Wmissing-prototypes -Wmissing-declarations -fPIC
-I../../../src/include -I../../../src/interfaces/libpq -c pgtcl.c -o pgtcl.o
In file included from pgtcl.c:19:
libpgtcl.h:19: tcl.h: No such file or directory

Now, tcl.h is in /usr/local/include

Run configure with:
./configure --with-includes=/usr/local/include --with-libraries=/usr/local/lib

Andreas