OK, I think I may have found the offending patch.
In this file: kdelibs/kioslave/http/Makefile.am
Replace this:
-lgssapi_krb5
with this:
$(GSSAPI_LIBS)
Okay. Here's the scoop. This took most of the day because each compile takes so long.
I believe we are getting closer. (Bear with me!)
I made the Makefile.am change as suggested.
I kept krb5 installed.
The build failed exactly as before.
Some things I noticed that might help further.
====================================================
1. With the change to the Makefile.am file, the final Makefile changed as expected:
WAS:
kio_http_la_LDFLAGS = $(all_libraries) $(GSSAPI_RPATH) -module $(KDE_PLUGIN)
-lgssapi_krb5
CHANGED TO:
kio_http_la_LDFLAGS = $(all_libraries) $(GSSAPI_RPATH) -module $(KDE_PLUGIN)
$(GSSAPI_LIBS)
No more build fails at the previous point.
Conclusion: Makefile.am should be patched.
====================================================
2. A suspect message in the configuration messages:
./configure: line 48785: test: =: unary operator expected
Line 48785 in the configure file:
if test $system_has_xrandr = no; then
Conclusion: Possibly harmless but who knows.
====================================================
3. Some suspicious text in kdelibs/kioslave/http/configure.in.in. Should there be a space
before the dash?
IS:
${GSSAPI_LIBS}-lgssapi_krb5
CHANGE TO?:
${GSSAPI_LIBS} -lgssapi_krb5
Conclusion: ??
====================================================
I ran the build again. The build failed again but at a new point.
The end of the build output:
autostart.cpp: In constructor 'AutoStart::AutoStart(bool)':
autostart.cpp:51: error: 'getenv' was not declared in this scope
make[3]: *** [autostart.lo] Error 1
make[3]: Leaving directory `/tmp/kdelibs/kinit'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/kdelibs/kinit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/kdelibs'
make: *** [all] Error 2
I'm no c++ programmer, but I searched the web a bit and then wondered whether a
missing '#include <stdlib.h>' might help. I added that in the autostart.cpp
headers.
I again ran the build script. The build failed again but at a new point.
Maybe this is a gcc thing because I'm sure the package compiles for you. I'm using
gcc 4.2.4.
Conclusion: Patch autostart.cpp.
====================================================
I ran the build again.
The end of the build output:
kmmainview.cpp: In member function 'void
KMMainView::slotServerConfigureAccess()':
kmmainview.cpp:700: error: 'KProcess' was not declared in this scope
kmmainview.cpp:700: error: 'proc' was not declared in this scope
kmmainview.cpp:700: error: expected type-specifier before 'KProcess'
kmmainview.cpp:700: error: expected `;' before 'KProcess'
kmmainview.cpp:702: error: 'KProcess' is not a class or namespace
make[3]: *** [kmmainview.lo] Error 1
make[3]: Leaving directory `/tmp/kdelibs/kdeprint/management'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/kdelibs/kdeprint'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/kdelibs'
make: *** [all] Error 2
I tried the same remedy by adding '#include <stdlib.h>'.
I ran the build again. Nope.
I again checked the web and saw something about including the header file that defines
KProcess. A quick grep and I found smbview.h. In kmmainview.cpp I added #include
"smbview.h".
I ran the build again. Nope.
Conclusion: Back to you!