#./configure --with-perl
Configuring ESC[1mOSSP uuidESC[m (Universally Unique Identifier), version ESC[1m1.5.1 (31-Jul-2006)ESC[m
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether compiler option(s) -pipe work... yes
checking for compilation debug mode... disabled
checking build system type... i386-unknown-freebsd6.1
checking host system type... i386-unknown-freebsd6.1
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... freebsd6.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
checking for gethostname in -lnsl... no
checking for gethostbyname in -lnsl... no
checking for accept in -lsocket... no
checking for va_copy() function... yes
checking for sys/types.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for netdb.h... yes
checking for ifaddrs.h... yes
checking for net/if.h... yes
checking for net/if_dl.h... yes
checking for net/if_arp.h... yes
checking for netinet/in.h... yes
checking for arpa/inet.h... yes
checking for getifaddrs... yes
checking for nanosleep... yes
checking for long long... yes
checking for long double... yes
checking for char... yes
checking size of char... 1
checking for unsigned char... yes
checking size of unsigned char... 1
checking for short... yes
checking size of short... 2
checking for unsigned short... yes
checking size of unsigned short... 2
checking for int... yes
checking size of int... 4
checking for unsigned int... yes
checking size of unsigned int... 4
checking for long... yes
checking size of long... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for long long... (cached) yes
checking size of long long... 8
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking whether to build DCE 1.1 backward compatibility API... (cached) no
checking whether to build C++ bindings to C API... (cached) no
checking whether to build Perl bindings to C API... (cached) yes
checking whether to build Perl compatibility API... (cached) no
checking for perl... /usr/bin/perl
checking whether to build PHP bindings to C API... (cached) no
checking for php5... no
checking for php... no
checking whether to build PostgreSQL bindings to C API... (cached) no
checking for pg_config... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating uuid-config
config.status: creating uuid.pc
config.status: creating uuid.h
config.status: creating config.h
config.status: executing adjustment commands
config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
config.status: WARNING: uuid-config.in seems to ignore the --datarootdir setting
#make
mkdir .libs
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c ./uuid.c -fPIC -DPIC -o .libs/uuid.o
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c ./uuid.c -o uuid.o >/dev/null 2>&1
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c ./uuid_md5.c -fPIC -DPIC -o .libs/uuid_md5.o
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c ./uuid_md5.c -o uuid_md5.o >/dev/null 2>&1
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c ./uuid_sha1.c -fPIC -DPIC -o .libs/uuid_sha1.o
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c ./uuid_sha1.c -o uuid_sha1.o >/dev/null 2>&1
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c ./uuid_prng.c -fPIC -DPIC -o .libs/uuid_prng.o
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c ./uuid_prng.c -o uuid_prng.o >/dev/null 2>&1
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c ./uuid_mac.c -fPIC -DPIC -o .libs/uuid_mac.o
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c ./uuid_mac.c -o uuid_mac.o >/dev/null 2>&1
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c ./uuid_ui64.c -fPIC -DPIC -o .libs/uuid_ui64.o
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c ./uuid_ui64.c -o uuid_ui64.o >/dev/null 2>&1
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c uuid_ui128.c -fPIC -DPIC -o .libs/uuid_ui128.o
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c uuid_ui128.c -o uuid_ui128.o >/dev/null 2>&1
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c ./uuid_str.c -fPIC -DPIC -o .libs/uuid_str.o
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c ./uuid_str.c -o uuid_str.o >/dev/null 2>&1
gcc -shared .libs/uuid.o .libs/uuid_md5.o .libs/uuid_sha1.o .libs/uuid_prng.o .libs/uuid_mac.o .libs/uuid_ui64.o .libs/uuid_u
i128.o .libs/uuid_str.o -Wl,-soname -Wl,libuuid.so.15 -o .libs/libuuid.so.15
(cd .libs && rm -f libuuid.so && ln -s libuuid.so.15 libuuid.so)
(cd .libs && rm -f libuuid.so && ln -s libuuid.so.15 libuuid.so)
ar cru .libs/libuuid.a uuid.o uuid_md5.o uuid_sha1.o uuid_prng.o uuid_mac.o uuid_ui64.o uuid_ui128.o uuid_str.o
ranlib .libs/libuuid.a
creating libuuid.la
(cd .libs && rm -f libuuid.la && ln -s ../libuuid.la libuuid.la)
gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -c ./uuid_cli.c
gcc -o .libs/uuid uuid_cli.o ./.libs/libuuid.so -Wl,--rpath -Wl,/usr/local/lib
creating uuid
Checking if your kit is complete...
Looks good
Writing Makefile for OSSP::uuid
cp uuid.pod blib/lib/OSSP/uuid.pod
cp uuid.pm blib/lib/OSSP/uuid.pm
/usr/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap uuid.t
m uuid.xs > uuid.xsc && mv uuid.xsc uuid.c
cc -c -I. -I.. -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing
-pipe -Wdeclaration-after-statement -I/usr/local/include -O2 -pipe -march=pentium4 -DVERSION=\"1.0501\" -DXS_VERSION=\"1.0
501\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE" uuid.c
Running Mkbootstrap for OSSP::uuid ()
chmod 644 uuid.bs
rm -f blib/arch/auto/OSSP/uuid/uuid.so
LD_RUN_PATH="/usr/home/alexvs/uuid-1.5.1/perl/../.libs" cc -shared -L/usr/local/lib -Wl,-Bsymbolic uuid.o -o blib/arch/auto
/OSSP/uuid/uuid.so -L/usr/home/alexvs/uuid-1.5.1/perl/../.libs -L/usr/home/alexvs/uuid-1.5.1/perl/.. -luuid
chmod 755 blib/arch/auto/OSSP/uuid/uuid.so
cp uuid.bs blib/arch/auto/OSSP/uuid/uuid.bs
chmod 644 blib/arch/auto/OSSP/uuid/uuid.bs
Manifying blib/man3/OSSP::uuid.3
Warning: -L../.libs changed to -L/usr/home/alexvs/uuid-1.5.1/perl/../.libs
Warning: -L.. changed to -L/usr/home/alexvs/uuid-1.5.1/perl/..
#make check
==== UUID version 1 (time and node based): 4 single iterations
4717f0ee-7240-11db-b1bf-00167647fabf
4717f440-7240-11db-add1-00167647fabf
4717f530-7240-11db-aa32-00167647fabf
4717f60c-7240-11db-aad3-00167647fabf
==== UUID version 1 (time and node based): 4 subsequent iterations
47210d82-7240-11db-9367-00167647fabf
472110d4-7240-11db-9368-00167647fabf
4721119c-7240-11db-9369-00167647fabf
47211246-7240-11db-936a-00167647fabf
==== UUID version 3 (name based, MD5): 2 times repeated
02d9e6d5-9467-382e-8f9b-9300a64ac3cd
02d9e6d5-9467-382e-8f9b-9300a64ac3cd
==== UUID version 5 (name based, SHA-1): 2 times repeated
8f4ca4fd-154e-5063-b6db-aa91af137037
8f4ca4fd-154e-5063-b6db-aa91af137037
==== UUID version 4 (random data based): 4 single iterations
2be24da0-ee73-4bc5-b5ba-c26f0bbbdb95
cc0a2811-835d-4b65-ba67-e00bedf0f75b
10fecc0a-0cea-41ed-a16b-112616ea99b1
0e00ae23-7766-42dd-babd-c6e9cb5b3799
==== UUID version 4 (random data based): 4 subsequent iterations
3d3224bb-c8ed-42d9-9814-890f7239f219
3e19ea08-8925-4bf0-a45f-29caa0ef56e2
255d6d9c-c9fd-4506-a880-ef0e09776c80
2c65f7a7-e314-4563-8bd8-86d3aea4f9f9
==== UUID version 1 generation and decoding
encode: STR: 4751335e-7240-11db-be68-00167647fabf
SIV: 94796805631966157295996677974942808767
decode: variant: DCE 1.1, ISO/IEC 11578:1996
version: 1 (time and node based)
content: time: 2006-11-12 11:23:53.753891.0 UTC
clock: 15976 (usually random)
node: 00:16:76:47:fa:bf (global unicast)
encode: STR: 475ff290-7240-11db-b92a-47c26816a9a9
SIV: 94873375689628068064686297910821169577
decode: variant: DCE 1.1, ISO/IEC 11578:1996
version: 1 (time and node based)
content: time: 2006-11-12 11:23:53.850536.0 UTC
clock: 14634 (usually random)
node: 47:c2:68:16:a9:a9 (local multicast)
==== UUID version 3 generation and decoding
encode: STR: 02d9e6d5-9467-382e-8f9b-9300a64ac3cd
SIV: 3789866285607910888100818383505376205
decode: variant: DCE 1.1, ISO/IEC 11578:1996
version: 3 (name based, MD5)
content: 02:D9:E6:D5:94:67:08:2E:0F:9B:93:00:A6:4A:C3:CD
(not decipherable: MD5 message digest only)
==== UUID version 5 generation and decoding
encode: STR: 8f4ca4fd-154e-5063-b6db-aa91af137037
SIV: 190477564324985592756740458922137317431
decode: variant: DCE 1.1, ISO/IEC 11578:1996
version: 5 (name based, SHA-1)
content: 8F:4C:A4:FD:15:4E:00:63:36:DB:AA:91:AF:13:70:37
(not decipherable: truncated SHA-1 message digest only)
==== UUID version 3 generation and decoding
encode: STR: 95693357-fc2b-4b95-af6a-d871748ef5e5
SIV: 198601203915881110163765567909717276133
decode: variant: DCE 1.1, ISO/IEC 11578:1996
version: 4 (random data based)
content: 95:69:33:57:FC:2B:0B:95:2F:6A:D8:71:74:8E:F5:E5
(no semantics: random data only)
==== Perl bindings to C API
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" uuid.ts
uuid....dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 4-36
Failed 33/36 tests, 8.33% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
uuid.ts 0 139 36 66 183.33% 4-36
Failed 1/1 test scripts, 0.00% okay. 33/36 subtests failed, 8.33% okay.
*** Error code 255
Stop in /usr/home/alexvs/uuid-1.5.1/perl.
*** Error code 1 (ignored)
#perl -v
This is perl, v5.8.8 built for i386-freebsd-64int
#uname -a
FreeBSD dst10 6.1-RELEASE-p6 FreeBSD 6.1-RELEASE-p6