OpenSource is great, and thus GNU is great as they make OpenSource
widely available.

Most (if not all) GNU source developers are on some flavor of Linux,
which is also open and has all the tools available to make new nice
things happen. So far so good.

Now they make fixes - good - and test cases for the fixes - even better!

WHY THE FUCK DO THEY REQUIRE G++ FOR TESTS IF THE REST OF THE PACKAGE
IS ONLY REQUIRING ANSI C????????

My case ...

wget not released version 1.13, which fixes a whole lot of bad things.
One very good reason to try to update it on my HP-UX 11.23/64 box. That
is the version of HP-UX that runs on Itanium2 and has the least
problems with most OpenSource packages.

PROBLEM ONE:

--enable-ssl requires gnutls, which I do not (yet) have available on
that system, instead of OpenSSL, for which I have the latest 0.9.8
fully available.

PROBLEM TWO:

--disable-cxx to unconditionally disable all c++ parts still checks for
c++/g++, which is available but from the GNU gcc builds and thus mostly
conflicting flag-wise with HP C-ANSI-C

Right, so I fetch gnutls-2.12.8 using wget-1.12 which *did* build fine
out of the box.

$ configure --prefix=/pro/local --disable-nls --disable-gtk-doc-html \
  --disable-cxx --disable-shared

I just want a libgnutsl.a and the include files, as I never want to
distribute the .so files to my customers. wget should be able to run
standalone and most of the target machines do not have libintl.so,
libnls.o and such

HATE! it depends on nettle

Let the yak-shaving begin

I fetch nettle-2.2

$ configure --prefix=/pro/local --disable-nls --disable-shared \
  --enable-pic

due to my $CONFIG_SITE, all flags for HP C-ANSI-C are set correctly and
build pregresses

$ make check

WTF it starts using g++ with the INCOMPATIBLE flags for C-ANSI-C

WHY ON EARTH WOULD YOU REQUIRE C++ FOR TESTING WHEN ALL OTHER PARTS OF
THE PACKAGE DO NOT???????

C++ DIE DIE DIE !

Now I have to modify config.make - yeah sure, yet another variation.
Why not just store the flags in the Makefiles itself, so I can modify
it where it has to be used - to find a combination of CFLAGS CXXFLAGS
and LDFLAGS that will all warn about unsupported options but still pass

Tests now pass, annoyance level already to almost inacceptable levels
HATE

nettle installed. Indeed it just installed the header files and the .a
lib. that should do

back to gnutls

checking for fork... yes
checking for P11_KIT... configure: error: in `/pro/3gl/GNU/gnutls-2.12.8':
configure: error: The pkg-config script could not be found or is too old.  Make 
sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables P11_KIT_CFLAGS
and P11_KIT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details

WHAT? You *need* a newer version of pkg_config to check that I do not
have p11_kit at all? Now I have to start all over and explicitely tell
you you are a moron and don't have it?

/me adds  --without-p11-kit to configure options and starts all over

  version:          2.12.8 shared 47:2:21
  Host type:        ia64-hp-hpux11.23
  Install prefix:   /pro/local
  Compiler:         cc
  Warning flags:    errors:  warnings:
  Library types:    Shared=no, Static=yes
  Valgrind:         no
  Guile wrappers:   no
  C++ library:      no
  OpenSSL library:  yes
  /dev/crypto:      no
  Crypto library:   nettle
  PKCS#11 support:  no

make

  CC     egd.lo
"egd.c", line 144: error #2020: identifier "AF_LOCAL" is undefined
    addr.sun_family = AF_LOCAL;
                      ^

egd.lo, so the damn process uses libtool, which is the ultimate FAIL
itself. Once created to work around linker problems on different
systems and architectures eventually only works on Linux where even
there makes you blood boil. Try using libtool to create libraries on
AIX, where the libs contain both 64bit and 32bit object files. I wish
you all the luck in the world!

Yeah, right, Linux == POSIX?

Linux:
/usr/include/linux/socket.h
158:#define AF_LOCAL    1       /* POSIX name for AF_UNIX       */

HP-UX:
/usr/include/sys/socket.h
165:#define     AF_UNIX         1               /* local to host (pipes, 
portals) */
297:#define     PF_UNIX         AF_UNIX

changed to AF_UNIX and continue

  CCLD   gnutls-serv
ld: Mismatched ABI for -lgmp, found /usr/local/ia64/lib/libgmp.a

I give up. No time for this shit

-- 
H.Merijn Brand  http://tux.nl      Perl Monger  http://amsterdam.pm.org/
using 5.00307 through 5.14 and porting perl5.15.x on HP-UX 10.20, 11.00,
11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.4 and AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/

Reply via email to