On 22/07/2009, at 12:34, monipol wrote:
> On 22/07/2009, at 12:27, monipol wrote:
>> On 22/07/2009, at 11:25, PNM wrote:
>>> On Jul 22, 2009, at 3:37 AM, Alexander Hansen wrote:
>>> PNM wrote:
>>>>> Hello everyone,
>>>>>
>>>>> Compiling rhythmbox fails repeatedly with this error. I should add
>>>>> that a couple of times I had to manually install a particular
>>>>> version
>>>>> of the gnome desktop because fink could not resolve a dubious
>>>>> dependency.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> Payam
>>>>> In file included from rb-proxy-config.c:26:
>>>>> rb-proxy-config.h:69: error: syntax error before '*' token
>>>>> rb-proxy-config.h:69: warning: data definition has no type or
>>>>> storage
>>>>> class
>>>>> rb-proxy-config.c:235: error: syntax error before '*' token
>>>>> rb-proxy-config.c: In function 'rb_proxy_config_get_libsoup_uri':
>>>>> rb-proxy-config.c:238: error: 'SoupUri' undeclared (first use in
>>>>> this
>>>>> function)
>>>>> rb-proxy-config.c:238: error: (Each undeclared identifier is
>>>>> reported
>>>>> only once
>>>>> rb-proxy-config.c:238: error: for each function it appears in.)
>>>>> rb-proxy-config.c:238: error: 'uri' undeclared (first use in this
>>>>> function)
>>>>> rb-proxy-config.c:243: error: syntax error before ')' token
>>>>> rb-proxy-config.c:244: error: 'SOUP_PROTOCOL_HTTP' undeclared
>>>>> (first
>>>>> use in this function)
>>>>> make[3]: *** [rb-proxy-config.lo] Error 1
>>>>> make[2]: *** [all] Error 2
>>>>> make[1]: *** [all-recursive] Error 1
>>>>> make: *** [all] Error 2
>>>>> ### execution of /var/tmp/tmp.1.rSUW6D failed, exit code 2
>>>>> Removing runtime build-lock...
>>>>> Removing build-lock package...
>>>>> /sw/bin/dpkg-lockwait -r fink-buildlock-rhythmbox-0.11.2-3
>>>>> (Reading database ... 94550 files and directories currently
>>>>> installed.)
>>>>> Removing fink-buildlock-rhythmbox-0.11.2-3 ...
>>>>> Failed: phase compiling: rhythmbox-0.11.2-3 failed
>>>>>
>>>> Can you go back a little more in the output--all the way to the  
>>>> last
>>>> line the compiler ran before errors occurred?  It _looks_ like this
>>>> might just be a missing header, and we might see what exactly that
>>>> is.
>>>>
>>> I believe this is it:
>>>
>>> gcc -DHAVE_CONFIG_H -I. -I.. -DGNOMELOCALEDIR=\"/sw/share/locale\" -
>>> DG_LOG_DOMAIN=\"Rhythmbox\" -DSHARE_DIR=\"/sw/share/rhythmbox\" -
>>> DDATADIR=\"/sw/share\" -I.. -I../widgets -I/sw/include/libsoup-2.4 -
>>> I/
>>> sw/include/libxml2 -I/sw/include -I/sw/include/glib-2.0 -I/sw/lib/
>>> glib-2.0/include -I/sw/include/pango-1.0 -I/sw/lib/fontconfig2/
>>> include
>>> -I/sw/include/freetype2 -I/sw/include -I/sw/include/gtk-2.0 -I/sw/
>>> lib/
>>> gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/
>>> include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -
>>> I/
>>> sw/include/libpng12 -I/sw/include/libgnomeui-2.0 -I/sw/include/
>>> libart-2.0 -I/sw/include/gconf/2 -I/sw/include/gnome-keyring-1 -I/ 
>>> sw/
>>> include/libgnome-2.0 -I/sw/include/libbonoboui-2.0 -I/sw/include/
>>> libgnomecanvas-2.0 -I/sw/include/gnome-vfs-2.0 -I/sw/lib/gnome-
>>> vfs2.16/
>>> gnome-vfs-2.0/include -I/sw/include/orbit-2.0 -I/sw/include/
>>> dbus-1.0 -
>>> I/sw/lib/dbus-1.0/include -I/sw/include/libbonobo-2.0 -I/sw/include/
>>> bonobo-activation-2.0 -I/sw/include/libxml2 -I/sw/include/gail-1.0 -
>>> I/
>>> sw/include/libglade-2.0 -I/sw/include/gnome-vfs-module-2.0 -I/usr/
>>> X11R6/include -I/usr/X11/include -DORBIT2=1 -I/sw/include/
>>> gstreamer-0.10 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/
>>> sw/
>>> include/libxml2 -I/sw/include -I/sw/include -fno-common -I/sw/lib/
>>> pango-ft219/include/pango-1.0 -I/sw/lib/pango-ft219/include -I/sw/
>>> lib/
>>> freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/
>>> lib/
>>> fontconfig2/include -I/sw/include -Os -pipe -c rb-proxy-config.c  -
>>> fno-
>>> common -DPIC -o .libs/rb-proxy-config.o
>>> In file included from rb-proxy-config.c:26:
>>
>> Some notes:
>>
>> * libsoup-ssl-2.2.1-1004 defines SoupUri (lowercase ri) in /sw/
>> include/
>> libsoup-2.2/libsoup/soup-types.h
>> * libsoup2.2.8-ssl-2.2.105-3 also defines SoupUri (lowercase ri) in /
>> sw/include/libsoup-2.2/libsoup/soup-types.h
>> * libsoup2.4.1-2.26.3-1 defines SoupURI (uppercase RI) in /sw/ 
>> include/
>> libsoup-2.4/libsoup/soup-types.h
>>
>> The GCC command is using -I/sw/include/libsoup-2.4 (hence libsoup-
>> ssl-2.4.1) but Rhythmbox uses SoupUri, so it seems to me that the
>> rhythmbox package should depend on libsoup2.2.8-ssl (or maybe  
>> libsoup-
>> ssl) instead.
>
> Hmm, rhythmbox.info doesn't explicitly depend on libsoup.


I'm not being able to reproduce this error because of a build error in  
another package. PNM, could you please try the following and tell us  
if it works?

fink install libsoup2.2.8-ssl
fink install rhythmbox


Cheers,

--
monipol
http://finkers.wordpress.com

Submitting a Fink bug report? Read this:
http://www.finkproject.org/doc/netiquette/index.php
http://finkers.wordpress.com/2009/06/03/bug-reports/


------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to