mingw compile error - Mailing list pgsql-bugs

From Bob Rossi
Subject mingw compile error
Date
Msg-id 20080515151818.GA23354@brasko.net
Whole thread Raw
Responses Re: mingw compile error  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: mingw compile error  (Bob Rossi <bob_rossi@cox.net>)
List pgsql-bugs
Hi,

I noticed that if I build postgresql-8.3.1 on mingw with
--disable-shared --without-zlib, I get a compiler error when it goes to
build the regress test in src/test/regress.

The problem is here,
  $(NAME)$(DLSUFFIX): $(shlib)
          rm -f $(NAME)$(DLSUFFIX)
          $(LN_S) $(shlib) $(NAME)$(DLSUFFIX)
It uses the variable $(shlib) which is only defined if the build is
configured with a shared library. Therefor, the ln -s command comes out
like 'ln -s  regress.dll', and the build fails.

Bob Rossi

pgsql-bugs by date:

Previous
From: "Chris West (Faux)"
Date:
Subject: BUG #4173: Illogical error message with aggregates + order by
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: [ADMIN] problem in installing pgsql-8.3.1