Re: BUG #6641: uuid.h warning during configure

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: BUG #6641: uuid.h warning during configure
Дата
Msg-id CA+TgmobyhJEMKrPqtu8dooxTvn1mOpB6JZ0CQmqEuOmEcqWk1w@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #6641: uuid.h warning during configure  (chris@cdrbill.com)
Ответы Re: BUG #6641: uuid.h warning during configure  (Chris Ruprecht <chris@cdrbill.com>)
Список pgsql-bugs
On Tue, May 22, 2012 at 4:37 PM, Chris Ruprecht <chris@cdrbill.com> wrote:
> Hi Robert,
>
> I was compiling 9.2beta1 - but that wasn't an option when submitting the =
issue.
> I can compile the 9.1.x versions just fine.
>
> Below is a list of the uuid.h files on the system.
> It appears, that the file being used is "/usr/local/include/uuid.h" - the=
 same as with the 9.0.x and 9.1.x compiles.
>
> I don't think the platform files matter much.

I am guessing that the problem is that we're looking for the uuid.h
that comes with the OSSP package, and you're uuid.h is something else.
 You might want to see if there's anything helpful in config.log.
Weirdly, there don't seem to be any UUID-related changes to
configure.in between 9.1 and 9.2beta1, so I'm not quite sure why
you're seeing different behavior.

>
>
> locate uuid.h
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Deve=
loper/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Kernel.framework/Versio=
ns/A/Headers/uuid/uuid.h
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Deve=
loper/SDKs/MacOSX10.6.sdk/usr/include/uuid/uuid.h
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Deve=
loper/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Kernel.framework/Versio=
ns/A/Headers/uuid/uuid.h
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Deve=
loper/SDKs/MacOSX10.7.sdk/usr/include/postgresql/server/utils/uuid.h
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Deve=
loper/SDKs/MacOSX10.7.sdk/usr/include/uuid/uuid.h
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/De=
veloper/SDKs/iPhoneOS5.0.sdk/usr/include/uuid/uuid.h
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.plat=
form/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/Kernel=
.framework/Versions/A/Headers/uuid/uuid.h
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.plat=
form/Developer/SDKs/iPhoneSimulator5.0.sdk/usr/include/uuid/uuid.h
> /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/uuid/uuid.h
> /usr/include/postgresql/server/utils/uuid.h
> /usr/include/uuid/uuid.h
> /usr/local/include/postgresql/server/utils/uuid.h
> /usr/local/include/uuid.h
> /usr/local/source/postgresql-9.1.2/src/include/utils/uuid.h
> /usr/local/source/postgresql-9.1.3/src/include/utils/uuid.h
> /usr/local/source/postgresql-9.2beta1/src/include/utils/uuid.h
>
>
> best regards,
> chris
> --
> chris ruprecht
> database grunt and bit pusher extraordina=EDre
>
> On May 22, 2012, at 15:58 , Robert Haas wrote:
>
>> On Tue, May 15, 2012 at 7:28 PM, =A0<chris@cdrbill.com> wrote:
>>> The following bug has been logged on the website:
>>>
>>> Bug reference: =A0 =A0 =A06641
>>> Logged by: =A0 =A0 =A0 =A0 =A0Chris Ruprecht
>>> Email address: =A0 =A0 =A0chris@cdrbill.com
>>> PostgreSQL version: 9.1.3
>>> Operating system: =A0 Mac OS X 10.7.4
>>> Description:
>>>
>>> running configure as such:
>>>
>>> export MACOSX_DEPLOYMENT_TARGET=3D10.7
>>> export CC=3Dgcc
>>> export CPP=3D"gcc -E"
>>> export CXX=3Dg++
>>> export CXXFLAGS=3D'-O3 -fno-common -arch x86_64'
>>> export CFLAGS=3D'-O3 -fno-common -arch x86_64'
>>> export LDFLAGS=3D'-O3 -fno-common -arch x86_64'
>>>
>>> ./configure =A0\
>>> =A0--prefix=3D/usr/local \
>>> =A0--enable-integer-datetimes \
>>> =A0--enable-thread-safety =A0 =A0 =A0 =A0\
>>> =A0--with-libxml =A0 =A0 =A0 =A0 \
>>> =A0--with-libxslt =A0 =A0 =A0 =A0\
>>> =A0--with-ossp-uuid =A0 =A0 =A0\
>>> =A0--with-tcl =A0 =A0 =A0 =A0 =A0 =A0 =A0\
>>> =A0--with-perl =A0 =A0 =A0 =A0 =A0 =A0 \
>>> =A0--with-python =A0 =A0 =A0 =A0 =A0 \
>>> =A0--with-gssapi =A0 =A0 =A0 =A0 =A0 \
>>> =A0--with-krb5 =A0 =A0 =A0 =A0 =A0 =A0 \
>>> =A0--with-pam =A0 =A0 =A0 =A0 =A0 =A0 =A0\
>>> =A0--with-ldap =A0 =A0 =A0 =A0 =A0 =A0 \
>>> =A0--with-bonjour =A0 =A0 =A0 =A0 =A0\
>>> =A0--with-openssl =A0 =A0 =A0 \
>>> =A0--with-zlib
>>>
>>> During the configuration phase, I get this message:
>>>
>>>
>>> checking uuid.h presence... yes
>>> configure: WARNING: uuid.h: present but cannot be compiled
>>> configure: WARNING: uuid.h: =A0 =A0 check for missing prerequisite head=
ers?
>>> configure: WARNING: uuid.h: see the Autoconf documentation
>>> configure: WARNING: uuid.h: =A0 =A0 section "Present But Cannot Be Comp=
iled"
>>> configure: WARNING: uuid.h: proceeding with the preprocessor's result
>>> configure: WARNING: uuid.h: in the future, the compiler will take
>>> precedence
>>> configure: WARNING: =A0 =A0 ## ----------------------------------------=
 ##
>>> configure: WARNING: =A0 =A0 ## Report this to pgsql-bugs@postgresql.org=
 ##
>>> configure: WARNING: =A0 =A0 ## ----------------------------------------=
 ##
>>> checking for uuid.h... yes
>>
>> How many copies of uuid.h do you have on your machine, and which one
>> is being chosen here?



--=20
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: BUG #6659: Error when install postgres
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #6666: pg_upgrade 9.2beta1 plpython/plpython2