I'm going mad, wheeeeeeeeeeeeeeeeeeee!
This will be a semi-technical rant, so please bear with me. I need to configure our stand-alone DEV environment, so we can work in peace and not trash our main production server every time something runs amok. So, I need to install the JWSDP (java webservices development platform – [insert profanity here]), and a whole bunch of secondary components.
Of course, none of them want to play nice together.
I've been spending the last 2 days hacking configure scripts and Makefiles, trying to get components to compile. In some cases, it's not recognizing the dependencies (even though I KNOW they're there and working properly), in others, headers are missing or the include paths are incomplete. Pissy little details that you have to slog through hundreds of lines of crap to get to.
# # Check for gd # if test $CHECK = "1"; then echo "$as_me:$LINENO: checking for gdImageCreateFromPng in -lgd" >&5 echo $ECHO_N "checking for gdImageCreateFromPng in -lgd... $ECHO_C" >&6 if test "$cv_lib_gd_gdImageCreateFromPng+set= set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lgd -L$-lgd -lpng -lz -lm $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageCreateFromPng (); int main () gdImageCreateFromPng (); ; return 0; _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if (eval echo "$as_me:$LINENO: >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: = $ac_status" >&5 (exit $ac_status); && ac_try="test -z "$ac_c_werror_flag" || test ! -s conftest.err' (eval echo "$as_me:$LINENO: >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: = $ac_status" >&5 (exit $ac_status); && ac_try="test -s conftest$ac_exeext' (eval echo "$as_me:$LINENO: >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: = $ac_status" >&5 (exit $ac_status); then ac_cv_lib_gd_gdImageCreateFromPng=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_gd_gdImageCreateFromPng=no fi rm -f conftest.err conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImageCreateFromPng" >&5 echo "$cv_lib_gd_gdImageCreateFromPng" >&6 #Rcmodif - bug in GD detection - force it to detect #if test $ac_cv_lib_gd_gdImageCreateFromPng = yes; then CHECK=1 #else # CHECK=0 #fi
I mean, I'm a geek damnit, and I have trouble following that.
What's pissing me off is that a lot of these components are still in alpha. They themselves say that they don't really know how everything will fit together. It's like trying to fit a square peg in a round hole… except you're not even really sure what exact shape the hole is.
Fun, fun, fun.