Thread: Compilation failes in CVS tip

Compilation failes in CVS tip

From
Devrim GUNDUZ
Date:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

I've made a fresh checkout from CVS and getting the following error. 
Platform is RHEL 3 with 

[pgsql75@devrim pgsql]$ gcc -v
...
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-24)

======================================================================
make -C interfaces all
make[2]: Entering directory `/home/pgsql75/pgsql/src/interfaces'
make[3]: Entering directory `/home/pgsql75/pgsql/src/interfaces/libpq'
Makefile:75: *** invalid syntax in conditional.  Stop.
make[3]: Leaving directory `/home/pgsql75/pgsql/src/interfaces/libpq'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/pgsql75/pgsql/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/pgsql75/pgsql/src'
make: *** [all] Error 2
======================================================================

Below are the relevant lines in 
/home/pgsql75/pgsql/src/interfaces/libpq/Makefile:

======================================================================
ifeq ($(PTHREAD_H_WIN32))
pthread.h : % : $(top_srcdir)/src/interfaces/libpq/pthread.h.win       rm -f $@ && $(LN_S) $< .
endif
======================================================================

Any commments?

Regards,
- -- 
Devrim GUNDUZ           
devrim~gunduz.org                devrim.gunduz~linux.org.tr         http://www.tdmsoft.com
http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFA1ANQtl86P3SPfQ4RAra7AJsFk4ZCguSMNrEdp57XPO1VTprthACfeT8C
VmNWZ8AvLNJ00J9mT/ZVMQ0=
=8tuI
-----END PGP SIGNATURE-----



Re: Compilation failes in CVS tip

From
Andreas Pflug
Date:
Devrim GUNDUZ wrote:

>======================================================================
>
>Below are the relevant lines in 
>/home/pgsql75/pgsql/src/interfaces/libpq/Makefile:
>
>======================================================================
>ifeq ($(PTHREAD_H_WIN32))
>pthread.h : % : $(top_srcdir)/src/interfaces/libpq/pthread.h.win
>        rm -f $@ && $(LN_S) $< .
>endif
>======================================================================
>
>  
>
pthread.h.win is the pthread partial emu for win32 libpq (compilable 
with win32.mak), which shouldn't be mentioned in Linux Makefile at all 
(copying to pthread.h would override /usr/include/pthread.h, we don't 
want that). Might be caused by Bruce's change to the native win32 port.

Regards,
Andreas





Re: Compilation failes in CVS tip

From
Bruce Momjian
Date:
Fix applied.  Sorry.

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

Andreas Pflug wrote:
> Devrim GUNDUZ wrote:
> 
> >======================================================================
> >
> >Below are the relevant lines in 
> >/home/pgsql75/pgsql/src/interfaces/libpq/Makefile:
> >
> >======================================================================
> >ifeq ($(PTHREAD_H_WIN32))
> >pthread.h : % : $(top_srcdir)/src/interfaces/libpq/pthread.h.win
> >        rm -f $@ && $(LN_S) $< .
> >endif
> >======================================================================
> >
> >  
> >
> pthread.h.win is the pthread partial emu for win32 libpq (compilable 
> with win32.mak), which shouldn't be mentioned in Linux Makefile at all 
> (copying to pthread.h would override /usr/include/pthread.h, we don't 
> want that). Might be caused by Bruce's change to the native win32 port.
> 
> Regards,
> Andreas
> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073