pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: screen fails to find AIX sockets/fifos during config



OBATA Akio wrote:
Hi!

On Sat, 21 Feb 2009 09:15:03 +0900, Louis Guillaume 
<lguillaume%berklee.edu@localhost> wrote:

Trying to build screen on AIX...

configure: checking select...
configure: checking fifos...
- your fifos are not usable
configure: checking sockets...
- your sockets are not usable
configure: error: you have neither usable sockets nor usable pipes -> no
screen
*** Error code 1

Please look at config.log and find why the test failed.


Ok - here's what I see in config.log, when run as "bmake configure" in the pkgsrc directory...

configure:4159: checking fifos...
configure:4242: cc -o conftest -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma -I/usr/include -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.c >&5
configure:4245: $? = 0
configure:4247: ./conftest
./configure: line 4248: 1867908 Alarm clock             ./conftest$ac_exeext
configure:4250: $? = 142
configure: program exited with status 142

 < removed conftest program >

configure:4361: checking sockets...
configure:4430: cc -o conftest -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma -I/usr/include -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.c >&5 "configure", line 4431.18: 1506-280 (W) Function argument assignment between types "struct sockaddr* restrict" and "struct sockaddr_un*" is not allowed. "configure", line 4431.22: 1506-280 (W) Function argument assignment between types "unsigned int* restrict" and "int*" is not allowed.
configure:4433: $? = 0
configure:4435: ./conftest
./configure: line 4436: 1319286 Alarm clock             ./conftest$ac_exeext
configure:4438: $? = 142
configure: program exited with status 142

  < removed conftest program >

configure:4563: error: you have neither usable sockets nor usable pipes -> no screen




... so the big question is: why does it work when running ./configure directly in the work/screen-4.0.3 directory?

$ ./configure --with-sys-screenrc=/etc/screenrc --enable-telnet --prefix=/usr/pkg --host=powerpc-ibm-aix5.3.0.0 --infodir=/usr/pkg/info --mandir=/usr/pkg/man

It's the same exact configure line!

Louis


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Home | Main Index | Thread Index | Old Index