Skip to contentSkip to conversation

configure failure

DISCUSSION Christoph Egger 4 participants 11 messages Feb 22, 2012 – Feb 29, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

configure fails on NetBSD that there is no brctl. NetBSD has no brctl, NetBSD has brconfig.

Christoph

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
#1 lore raw

2012/2/22 Christoph Egger <[email protected]>:

Quoted 5 lines

Hi,

configure fails on NetBSD that there is no brctl. NetBSD has no brctl, NetBSD has brconfig.

Sorry Christoph, the brctl test is going away (from configure at least).

Quoted 16 lines

Christoph

--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#2 lore raw
Quoted 8 lines · Roger Pau Monné

2012/2/22 Christoph Egger<[email protected]>:

Quoted 5 lines

Hi,

configure fails on NetBSD that there is no brctl.
NetBSD has no brctl, NetBSD has brconfig.

Sorry Christoph, the brctl test is going away (from configure at least).

There are some more Linux specific tests:
- ip
- uuid_clear in libuuid

Also the check for yajl_alloc in libyajl fails although I have libyajl version 1 installed. The check may be correct but configure shouldn't fail if version 1 is still supported.

Christoph

Signature · 12 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
#3 lore raw

2012/2/22 Christoph Egger <[email protected]>:

Quoted 11 lines · Roger Pau Monné
Quoted 10 lines

2012/2/22 Christoph Egger<[email protected]>:

Quoted 6 lines

Hi,

configure fails on NetBSD that there is no brctl.
NetBSD has no brctl, NetBSD has brconfig.

Quoted 6 lines
Quoted 1 line

Sorry Christoph, the brctl test is going away (from configure at least).

There are some more Linux specific tests:
- ip
- uuid_clear in libuuid

Thanks for reporting, I will take care of those once the patch has passed the test system (sorry for that, but I cannot test on so many systems).

Quoted 3 lines

Also the check for yajl_alloc in libyajl fails although I have libyajl version 1 installed. The check may be correct but configure shouldn't fail if version 1 is still supported.

Since I guess you have it in /usr/pkg/, have you set PREPEND_LIB or APPEND_LIB env variables before executing configure?

Quoted 13 lines

Christoph

--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#4 lore raw
Quoted 23 lines · Roger Pau Monné

2012/2/22 Christoph Egger<[email protected]>:

Quoted 11 lines · Roger Pau Monné
Quoted 10 lines

2012/2/22 Christoph Egger<[email protected]>:

Quoted 6 lines

Hi,

configure fails on NetBSD that there is no brctl.
NetBSD has no brctl, NetBSD has brconfig.

Quoted 6 lines
Quoted 1 line

Sorry Christoph, the brctl test is going away (from configure at least).

There are some more Linux specific tests:
- ip
- uuid_clear in libuuid

Thanks for reporting, I will take care of those once the patch has passed the test system (sorry for that, but I cannot test on so many systems).

Quoted 6 lines
Quoted 3 lines

Also the check for yajl_alloc in libyajl fails although I have libyajl version 1 installed. The check may be correct but configure shouldn't fail if version 1 is still supported.

Since I guess you have it in /usr/pkg/, have you set PREPEND_LIB or APPEND_LIB env variables before executing configure?

No, I have set EXTRA_LIB and EXTRA_INCLUDES.
I tried both PREPEND_LIB and APPEND_LIB and that works.

Oh and the integer type checks fail. Snippet from config.log:

configure:7600: checking for int64_t
configure:7600: gcc -c -I/usr/pkg/include -g -O2 conftest.c >&5 conftest.c: In function 'main':
conftest.c:90: error: expected ')' before ';' token conftest.c:91: error: expected expression before ']' token
configure: 7600: $? = 1

The unsigned integer type checks succeed.

Christoph

Signature · 12 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
#5 lore raw

2012/2/22 Christoph Egger <[email protected]>:

Quoted 37 lines · Roger Pau Monné
Quoted 36 lines

2012/2/22 Christoph Egger<[email protected]>:

Quoted 15 lines · Roger Pau Monné
Quoted 13 lines

2012/2/22 Christoph Egger<[email protected]>:

Quoted 7 lines

Hi,

configure fails on NetBSD that there is no brctl.
NetBSD has no brctl, NetBSD has brconfig.

Quoted 7 lines
Quoted 1 line

Sorry Christoph, the brctl test is going away (from configure at least).

There are some more Linux specific tests:
- ip
- uuid_clear in libuuid

Thanks for reporting, I will take care of those once the patch has passed the test system (sorry for that, but I cannot test on so many systems).

Quoted 4 lines

Also the check for yajl_alloc in libyajl fails although I have libyajl version 1 installed. The check may be correct but configure shouldn't fail
if version 1 is still supported.

Quoted 6 lines
Quoted 2 lines

Since I guess you have it in /usr/pkg/, have you set PREPEND_LIB or APPEND_LIB env variables before executing configure?

No, I have set EXTRA_LIB and EXTRA_INCLUDES.
I tried both PREPEND_LIB and APPEND_LIB and that works.

EXTRA_LIB and EXTRA_INCLUDES is deprecated in favor of PREPEND_ and APPEND_, which it's basically the same but allows a more fine grained control.

Quoted 9 lines

Oh and the integer type checks fail. Snippet from config.log:

configure:7600: checking for int64_t
configure:7600: gcc -c -I/usr/pkg/include -g -O2 conftest.c >&5 conftest.c: In function 'main':
conftest.c:90: error: expected ')' before ';' token conftest.c:91: error: expected expression before ']' token
configure: 7600: $? = 1

This was added by default when running autoscan, I guess we can disable those checks.

Quoted 6 lines

The unsigned integer type checks succeed.

Christoph

Quoted 8 lines

--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#6 lore raw
In reply to Christoph Egger

2012/2/22 Christoph Egger <[email protected]>:

Quoted 11 lines · Roger Pau Monné
Quoted 10 lines

2012/2/22 Christoph Egger<[email protected]>:

Quoted 6 lines

Hi,

configure fails on NetBSD that there is no brctl.
NetBSD has no brctl, NetBSD has brconfig.

Quoted 6 lines
Quoted 1 line

Sorry Christoph, the brctl test is going away (from configure at least).

There are some more Linux specific tests:
- ip
- uuid_clear in libuuid

I'm going to fix this right now. Should I commit the output from autoconf also with my patches Ian? I'm asking this because we use different versions and the output is slightly different.

Quoted 16 lines

Also the check for yajl_alloc in libyajl fails although I have libyajl version 1 installed. The check may be correct but configure shouldn't fail if version 1 is still supported.

Christoph

--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#7 lore raw
Quoted 15 lines · Roger Pau Monné

2012/2/22 Christoph Egger <[email protected]>:

Quoted 14 lines · Roger Pau Monné
Quoted 11 lines

2012/2/22 Christoph Egger<[email protected]>:

Quoted 6 lines

Hi,

configure fails on NetBSD that there is no brctl.
NetBSD has no brctl, NetBSD has brconfig.

Sorry Christoph, the brctl test is going away (from configure at least).

Quoted 7 lines
Quoted 3 lines

There are some more Linux specific tests:
- ip
- uuid_clear in libuuid

I'm going to fix this right now. Should I commit the output from autoconf also with my patches Ian? I'm asking this because we use different versions and the output is slightly different.

I also think configure should just check compile time requirements. ip(1) is most likely not needed to compile and link xen+tools.

Olaf

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#9 lore raw
In reply to Roger Pau Monné

Roger Pau Monné writes ("Re: [Xen-devel] configure failure"):

Quoted 3 lines

I'm going to fix this right now. Should I commit the output from autoconf also with my patches Ian? I'm asking this because we use different versions and the output is slightly different.

I don't mind whether you commit the output from autoconf and include it in your patch. It's probably easier for other people not to have to read the autoconf output diff if your version is different to mine.

BUT please include a note instructing me to rerun autogen.sh. Or I might just possibly forget...

Ian.

#8 lore raw
In reply to Olaf Hering

Olaf Hering writes ("Re: [Xen-devel] configure failure"):

Quoted 2 lines

I also think configure should just check compile time requirements. ip(1) is most likely not needed to compile and link xen+tools.

Indeed.

Ian.

#10 lore raw
In reply to Ian Jackson

2012/2/29 Ian Jackson <[email protected]>:

Quoted 11 lines

Roger Pau Monné writes ("Re: [Xen-devel] configure failure"):

Quoted 3 lines

I'm going to fix this right now. Should I commit the output from autoconf also with my patches Ian? I'm asking this because we use different versions and the output is slightly different.

I don't mind whether you commit the output from autoconf and include it in your patch.  It's probably easier for other people not to have to read the autoconf output diff if your version is different to mine.

BUT please include a note instructing me to rerun autogen.sh.  Or I might just possibly forget...

Nevermind, I've installed the same version that you used, so changes to configure script are minimal and related to the actual changes being made in configure.ac.

Quoted 1 line

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel