Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs

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

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group