mingw compile error

From: Bob Rossi <bob_rossi(at)cox(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Subject: mingw compile error
Date: 2008-05-15 15:18:18
Message-ID: 20080515151818.GA23354@brasko.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2008-05-15 15:21:50 Re: BUG #4172: postgres stops working after restart
Previous Message John R Pierce 2008-05-15 14:33:16 Re: problem in installing pgsql-8.3.1