[CentOS] compiling buoh comic reader for C-6

fred smith

fredex at fcshome.stoneham.ma.us
Sat Aug 6 02:01:46 UTC 2011


Hi all!

I'm trying to build the buoh comic reader for centos 6 and my head is
getting tired of repeated forceful contact with the wall.

I built it on 5.6 without undue problems, but somehow 6.0 is beating me.
(and no, the 5.6 binary doesn't work, at least not without a lot of
futzing around, on 6.0. tried that first.)

before I give gory details, has anyone already done this, from whom 
maybe I could get packages? or advice?

it wants libsoup. fine, we got libsoup. but it seems to want version
2.2, while what we have comes in libsoup-2.28.*.rpm which seems to actually
deliver /usr/lib/libsoup-2.4.xxxx.so. Go figure.

The configure script refuses to deal with libsoup-2.4. so I look at what
pkgconfig thinks the installed libsoup is, hack the configure script
to look for that version and voila!

ok, so now to do "make", which chokes on the first (only) file that
includes any libsoup headers. it claims it can't find SoupURI, but
it's "right there"!!. I've followed the chain of header file directories,
heck, I've even compiled that one file with "-E" and verified that
it expands to the right code. I can't see why it's complaining!

can any of you see whatever the stupid thing is I'm doing wrong?

Thanks!

here's the diagnostic output for the brave:

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -Wall -Wmissing-prototypes       -g -O2 -MT buoh-comic-loader.o -MD -MP -MF ".deps/buoh-comic-loader.Tpo" -c -o buoh-comic-loader.o buoh-comic-loader.c; \
        then mv -f ".deps/buoh-comic-loader.Tpo" ".deps/buoh-comic-loader.Po"; else rm -f ".deps/buoh-comic-loader.Tpo"; exit 1; fi
buoh-comic-loader.c: In function \u2018buoh_comic_loader_job_new\u2019:
buoh-comic-loader.c:205: error: \u2018SoupUri\u2019 undeclared (first use in this function)
buoh-comic-loader.c:205: error: (Each undeclared identifier is reported only once
buoh-comic-loader.c:205: error: for each function it appears in.)
buoh-comic-loader.c:205: error: \u2018soup_uri\u2019 undeclared (first use in this function)
buoh-comic-loader.c: In function \u2018buoh_comic_loader_job_read_next\u2019:
buoh-comic-loader.c:256: error: too few arguments to function \u2018soup_session_cancel_message\u2019
buoh-comic-loader.c:262: error: \u2018SoupMessage\u2019 has no member named \u2018response\u2019
buoh-comic-loader.c:263: error: \u2018SoupMessage\u2019 has no member named \u2018response\u2019
buoh-comic-loader.c: In function \u2018buoh_comic_loader_job_run\u2019:
buoh-comic-loader.c:278: warning: implicit declaration of function \u2018soup_message_add_handler\u2019
buoh-comic-loader.c:278: error: \u2018SOUP_HANDLER_BODY_CHUNK\u2019 undeclared (first use in this function)
buoh-comic-loader.c:279: error: \u2018SoupMessageCallbackFn\u2019 undeclared (first use in this function)
buoh-comic-loader.c:279: error: expected \u2018)\u2019 before \u2018buoh_comic_loader_job_read_next\u2019
make[2]: *** [buoh-comic-loader.o] Error 1
make[2]: Leaving directory `/home/fredex/programs/buoh/buoh-0.8.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fredex/programs/buoh/buoh-0.8.2'
make: *** [all] Error 2

-- 
-------------------------------------------------------------------------------
    Under no circumstances will I ever purchase anything offered to me as
    the result of an unsolicited e-mail message. Nor will I forward chain
    letters, petitions, mass mailings, or virus warnings to large numbers
    of others. This is my contribution to the survival of the online
    community.
 --Roger Ebert, December, 1996
----------------------------- The Boulder Pledge -----------------------------



More information about the CentOS mailing list