# New Ticket Created by  "Nick Kostirya" 
# Please include the string:  [perl #24329]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24329 >


 Testing error sys/socket.h for FreeBSD.

 When testing headers in config/auto/headers.pl file, headers are tested
one by one, but sys/types.h is needed to successfully complete testing of
 sys/socket.h for FreeBSD.

 What can be done?

 Is it possible to control testing of headers from
 config/init/hints/freebsd.pl? As far as I could see, I can't. Am I wrong?

 Otherwise, it would be necessary to introduce the idea of 'headers that
are
 required for testing a header'. Or may be it makes sense to include all
 successfully tested headers in file config/auto/headers/test_c.in when
 proceeding to the next header test.

 BTW, besides the above mentioned,  to successfully build parrot, you
should
 move

 #ifdef PARROT_HAS_HEADER_SYSTYPES
 #  include <sys/types.h>
 #endif

 #ifdef PARROT_HAS_HEADER_SYSSOCKET
 #include <sys/socket.h>
 #endif

before

 #ifdef PARROT_HAS_HEADER_NIIN
 #  include <netinet/in.h>
 #endif

 In this case building and tests are successful:
 Irresolute (FreeBSD 4.8-RELEASE #7) on Tinderbox.

Nick.






Reply via email to