[Pidgin] #6903: configure misses networkmanager dependency

Pidgin trac at pidgin.im
Sun Aug 31 15:34:49 EDT 2008


#6903: configure misses networkmanager dependency
-----------------------+----------------------------------------------------
 Reporter:  lesshaste  |        Owner:  lschiere    
     Type:  defect     |       Status:  new         
Milestone:             |    Component:  unclassified
  Version:             |   Resolution:              
 Keywords:             |  
-----------------------+----------------------------------------------------

Old description:

> Attempting to compile 2.5.1 on rhel configure detects network manager.
>
>    1.
>       pidgin 2.5.1
>    2.
>
>    3.
>       Build GTK+ 2.x UI............. : yes
>    4.
>       Build console UI.............. : yes
>    5.
>       Build for X11................. : yes
>    6.
>
>    7.
>       Enable Gestures............... : yes
>    8.
>       Protocols to build dynamically : gg irc jabber msn myspace novell
> oscar qq silc10 simple yahoo zephyr
>    9.
>       Protocols to link statically.. :
>   10.
>
>   11.
>       Build with GStreamer support.. : no
>   12.
>       Build with D-Bus support...... : no
>   13.
>       Build with NetworkManager..... : yes
>   14.
>       SSL Library/Libraries......... : Mozilla NSS and GnuTLS
>   15.
>       Build with Cyrus SASL support. : no
>   16.
>       Use kerberos 4 with zephyr.... : no
>   17.
>       Use external libzephyr........ : no
>   18.
>       Install pixmaps............... : yes
>   19.
>       Install translations.......... : yes
>   20.
>       Has you....................... : yes
>   21.
>
>   22.
>       Use XScreenSaver Extension.... : yes
>   23.
>       Use X Session Management...... : yes
>   24.
>       Use startup notification...... : yes
>   25.
>       Build with GtkSpell support... : yes
>   26.
>
>   27.
>       Build with plugin support..... : yes
>   28.
>       Build with Mono support....... : no
>   29.
>       Build with Perl support....... : yes
>   30.
>       Build with Tcl support........ : yes
>   31.
>       Build with Tk support......... : yes
>   32.
>
>   33.
>       Print debugging messages...... : no
>
> however make fails saying
>
>    1.
>       /bin/sh ../libtool --silent --tag=CC   --mode=compile gcc
> -DHAVE_CONFIG_H -I. -I..  -DBR_PTHREADS=0
> -DDATADIR=\"/space/clifford/share\"
> -DLIBDIR=\"/space/clifford/lib/purple-2/\"
> -DLOCALEDIR=\"/space/clifford/share/locale\"
> -DSYSCONFDIR=\"/space/clifford/etc\" -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include   -Wall  -Waggregate-return -Wcast-align
> -Wdeclaration-after-statement -Wendif-labels -Werror-implicit-function-
> declaration -Wextra -Wno-sign-compare -Wno-unused-parameter -Winit-self
> -Wmissing-declarations -Wmissing-noreturn -Wmissing-prototypes -Wpointer-
> arith -Wundef -Wp,-D_FORTIFY_SOURCE=2  -I/usr/include/libxml2
> -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include      -g -g -O2 -MT
> nat-pmp.lo -MD -MP -MF .deps/nat-pmp.Tpo -c -o nat-pmp.lo nat-pmp.c
>    2.
>       mv -f .deps/nat-pmp.Tpo .deps/nat-pmp.Plo
>    3.
>       /bin/sh ../libtool --silent --tag=CC   --mode=compile gcc
> -DHAVE_CONFIG_H -I. -I..  -DBR_PTHREADS=0
> -DDATADIR=\"/space/clifford/share\"
> -DLIBDIR=\"/space/clifford/lib/purple-2/\"
> -DLOCALEDIR=\"/space/clifford/share/locale\"
> -DSYSCONFDIR=\"/space/clifford/etc\" -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include   -Wall  -Waggregate-return -Wcast-align
> -Wdeclaration-after-statement -Wendif-labels -Werror-implicit-function-
> declaration -Wextra -Wno-sign-compare -Wno-unused-parameter -Winit-self
> -Wmissing-declarations -Wmissing-noreturn -Wmissing-prototypes -Wpointer-
> arith -Wundef -Wp,-D_FORTIFY_SOURCE=2  -I/usr/include/libxml2
> -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include      -g -g -O2 -MT
> network.lo -MD -MP -MF .deps/network.Tpo -c -o network.lo network.c
>    4.
>       network.c:64:28: NetworkManager.h: No such file or directory
>    5.
>       network.c:85: error: syntax error before "nm_get_network_state"
>    6.
>       network.c:85: warning: type defaults to `int' in declaration of
> `nm_get_network_state'
>    7.
>       network.c:85: warning: data definition has no type or storage class
>    8.
>       network.c: In function `purple_network_is_available':
>    9.
>       network.c:599: error: `NMState' undeclared (first use in this
> function)
>   10.
>       network.c:599: error: (Each undeclared identifier is reported only
> once
>   11.
>       network.c:599: error: for each function it appears in.)
>   12.
>       network.c:599: error: syntax error before "state"
>   13.
>       network.c:600: error: `state' undeclared (first use in this
> function)
>   14.
>       network.c:600: error: `NM_STATE_UNKNOWN' undeclared (first use in
> this function)
>   15.
>       network.c:605: error: `NM_STATE_CONNECTED' undeclared (first use in
> this function)
>   16.
>       network.c: At top level:
>   17.
>       network.c:619: error: syntax error before "state"
>   18.
>       network.c: In function `nm_update_state':
>   19.
>       network.c:621: error: syntax error before "prev"
>   20.
>       network.c:626: error: `state' undeclared (first use in this
> function)
>   21.
>       network.c:628: error: `NM_STATE_CONNECTED' undeclared (first use in
> this function)
>   22.
>       network.c:633: error: `prev' undeclared (first use in this
> function)
>   23.
>       network.c:635: error: `NM_STATE_ASLEEP' undeclared (first use in
> this function)
>   24.
>       network.c:636: error: `NM_STATE_CONNECTING' undeclared (first use
> in this function)
>   25.
>       network.c:637: error: `NM_STATE_DISCONNECTED' undeclared (first use
> in this function)
>   26.
>       network.c:644: error: `NM_STATE_UNKNOWN' undeclared (first use in
> this function)
>   27.
>       network.c: At top level:
>   28.
>       network.c:651: error: syntax error before "NMState"
>   29.
>       network.c: In function `nm_state_change_cb':
>   30.
>       network.c:653: error: `state' undeclared (first use in this
> function)
>   31.
>       network.c: At top level:
>   32.
>       network.c:658: error: syntax error before "nm_get_network_state"
>   33.
>       network.c:659: warning: return type defaults to `int'
>   34.
>       network.c: In function `nm_get_network_state':
>   35.
>       network.c:661: error: `NMState' undeclared (first use in this
> function)
>   36.
>       network.c:661: error: syntax error before "state"
>   37.
>       network.c:664: error: `NM_STATE_UNKNOWN' undeclared (first use in
> this function)
>   38.
>       network.c:666: error: implicit declaration of function
> `dbus_g_proxy_call'
>   39.
>       network.c:666: error: `state' undeclared (first use in this
> function)
>   40.
>       network.c: In function `nm_dbus_name_owner_changed_cb':
>   41.
>       network.c:678: error: `NM_DBUS_SERVICE' undeclared (first use in
> this function)
>   42.
>       network.c:688: error: `NM_STATE_UNKNOWN' undeclared (first use in
> this function)
>   43.
>       network.c: In function `purple_network_init':
>   44.
>       network.c:740: error: implicit declaration of function
> `dbus_g_proxy_new_for_name'
>   45.
>       network.c:741: error: `NM_DBUS_SERVICE' undeclared (first use in
> this function)
>   46.
>       network.c:742: error: `NM_DBUS_PATH' undeclared (first use in this
> function)
>   47.
>       network.c:743: error: `NM_DBUS_INTERFACE' undeclared (first use in
> this function)
>   48.
>       network.c:743: warning: assignment makes pointer from integer
> without a cast
>   49.
>       network.c:744: error: implicit declaration of function
> `dbus_g_proxy_add_signal'
>   50.
>       network.c:749: error: `DBUS_SERVICE_DBUS' undeclared (first use in
> this function)
>   51.
>       network.c:750: error: `DBUS_PATH_DBUS' undeclared (first use in
> this function)
>   52.
>       network.c:751: error: `DBUS_INTERFACE_DBUS' undeclared (first use
> in this function)
>   53.
>       network.c:751: warning: assignment makes pointer from integer
> without a cast
>   54.
>       network.c: In function `purple_network_uninit':
>   55.
>       network.c:778: error: implicit declaration of function
> `dbus_g_connection_unref'
>   56.
>       make[4]: *** [network.lo] Error 1
>   57.
>       make[4]: Leaving directory `/space/clifford/pidgin-2.5.1/libpurple'
>   58.
>       make[3]: *** [all-recursive] Error 1
>   59.
>       make[3]: Leaving directory `/space/clifford/pidgin-2.5.1/libpurple'
>   60.
>       make[2]: *** [all] Error 2
>   61.
>       make[2]: Leaving directory `/space/clifford/pidgin-2.5.1/libpurple'
>   62.
>       make[1]: *** [all-recursive] Error 1
>   63.
>       make[1]: Leaving directory `/space/clifford/pidgin-2.5.1'
>   64.
>       make: *** [all] Error 2
>
> running configure with --disable-nm fixes the make problem.

New description:

 Attempting to compile 2.5.1 on rhel configure detects network manager.

 {{{
 pidgin 2.5.1
 Build GTK+ 2.x UI............. : yes
 Build console UI.............. : yes
 Build for X11................. : yes

 Enable Gestures............... : yes
 Protocols to build dynamically : gg irc jabber msn myspace novell oscar qq
 silc10 simple yahoo zephyr
 Protocols to link statically.. :

 Build with GStreamer support.. : no
 Build with D-Bus support...... : no
 Build with NetworkManager..... : yes
 SSL Library/Libraries......... : Mozilla NSS and GnuTLS
 Build with Cyrus SASL support. : no
 Use kerberos 4 with zephyr.... : no
 Use external libzephyr........ : no
 Install pixmaps............... : yes
 Install translations.......... : yes
 Has you....................... : yes

 Use XScreenSaver Extension.... : yes
 Use X Session Management...... : yes
 Use startup notification...... : yes
 Build with GtkSpell support... : yes

 Build with plugin support..... : yes
 Build with Mono support....... : no
 Build with Perl support....... : yes
 Build with Tcl support........ : yes
 Build with Tk support......... : yes

 Print debugging messages...... : no
 }}}

 however make fails saying

 {{{
 /bin/sh ../libtool --silent --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
 -I. -I..  -DBR_PTHREADS=0 -DDATADIR=\"/space/clifford/share\"
 -DLIBDIR=\"/space/clifford/lib/purple-2/\"
 -DLOCALEDIR=\"/space/clifford/share/locale\"
 -DSYSCONFDIR=\"/space/clifford/etc\" -pthread -I/usr/include/glib-2.0
 -I/usr/lib/glib-2.0/include   -Wall  -Waggregate-return -Wcast-align
 -Wdeclaration-after-statement -Wendif-labels -Werror-implicit-function-
 declaration -Wextra -Wno-sign-compare -Wno-unused-parameter -Winit-self
 -Wmissing-declarations -Wmissing-noreturn -Wmissing-prototypes -Wpointer-
 arith -Wundef -Wp,-D_FORTIFY_SOURCE=2  -I/usr/include/libxml2
 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include-g -g -O2 -MT nat-
 pmp.lo -MD -MP -MF .deps/nat-pmp.Tpo -c -o nat-pmp.lo nat-pmp.c
 mv -f .deps/nat-pmp.Tpo .deps/nat-pmp.Plo
 /bin/sh ../libtool --silent --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
 -I. -I..  -DBR_PTHREADS=0 -DDATADIR=\"/space/clifford/share\"
 -DLIBDIR=\"/space/clifford/lib/purple-2/\"
 -DLOCALEDIR=\"/space/clifford/share/locale\"
 -DSYSCONFDIR=\"/space/clifford/etc\" -pthread -I/usr/include/glib-2.0
 -I/usr/lib/glib-2.0/include   -Wall  -Waggregate-return -Wcast-align
 -Wdeclaration-after-statement -Wendif-labels -Werror-implicit-function-
 declaration -Wextra -Wno-sign-compare -Wno-unused-parameter -Winit-self
 -Wmissing-declarations -Wmissing-noreturn -Wmissing-prototypes -Wpointer-
 arith -Wundef -Wp,-D_FORTIFY_SOURCE=2  -I/usr/include/libxml2
 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include-g -g -O2 -MT
 network.lo -MD -MP -MF .deps/network.Tpo -c -o network.lo network.c
 network.c:64:28: NetworkManager.h: No such file or directory
 network.c:85: error: syntax error before "nm_get_network_state"
 network.c:85: warning: type defaults to `int' in declaration of
 `nm_get_network_state'
 network.c:85: warning: data definition has no type or storage class
 network.c: In function `purple_network_is_available':
 network.c:599: error: `NMState' undeclared (first use in this function)
 network.c:599: error: (Each undeclared identifier is reported only once
 network.c:599: error: for each function it appears in.)
 network.c:599: error: syntax error before "state"
 network.c:600: error: `state' undeclared (first use in this function)
 network.c:600: error: `NM_STATE_UNKNOWN' undeclared (first use in this
 function)
 network.c:605: error: `NM_STATE_CONNECTED' undeclared (first use in this
 function)
 network.c: At top level:
 network.c:619: error: syntax error before "state"
 network.c: In function `nm_update_state':
 network.c:621: error: syntax error before "prev"
 network.c:626: error: `state' undeclared (first use in this function)
 network.c:628: error: `NM_STATE_CONNECTED' undeclared (first use in this
 function)
 network.c:633: error: `prev' undeclared (first use in this function)
 network.c:635: error: `NM_STATE_ASLEEP' undeclared (first use in this
 function)
 network.c:636: error: `NM_STATE_CONNECTING' undeclared (first use in this
 function)
 network.c:637: error: `NM_STATE_DISCONNECTED' undeclared (first use in
 this function)
 network.c:644: error: `NM_STATE_UNKNOWN' undeclared (first use in this
 function)
 network.c: At top level:
 network.c:651: error: syntax error before "NMState"
 network.c: In function `nm_state_change_cb':
 network.c:653: error: `state' undeclared (first use in this function)
 network.c: At top level:
 network.c:658: error: syntax error before "nm_get_network_state"
 network.c:659: warning: return type defaults to `int'
 network.c: In function `nm_get_network_state':
 network.c:661: error: `NMState' undeclared (first use in this function)
 network.c:661: error: syntax error before "state"
 network.c:664: error: `NM_STATE_UNKNOWN' undeclared (first use in this
 function)
 network.c:666: error: implicit declaration of function `dbus_g_proxy_call'
 network.c:666: error: `state' undeclared (first use in this function)
 network.c: In function `nm_dbus_name_owner_changed_cb':
 network.c:678: error: `NM_DBUS_SERVICE' undeclared (first use in this
 function)
 network.c:688: error: `NM_STATE_UNKNOWN' undeclared (first use in this
 function)
 network.c: In function `purple_network_init':
 network.c:740: error: implicit declaration of function
 `dbus_g_proxy_new_for_name'
 network.c:741: error: `NM_DBUS_SERVICE' undeclared (first use in this
 function)
 network.c:742: error: `NM_DBUS_PATH' undeclared (first use in this
 function)
 network.c:743: error: `NM_DBUS_INTERFACE' undeclared (first use in this
 function)
 network.c:743: warning: assignment makes pointer from integer without a
 cast
 network.c:744: error: implicit declaration of function
 `dbus_g_proxy_add_signal'
 network.c:749: error: `DBUS_SERVICE_DBUS' undeclared (first use in this
 function)
 network.c:750: error: `DBUS_PATH_DBUS' undeclared (first use in this
 function)
 network.c:751: error: `DBUS_INTERFACE_DBUS' undeclared (first use in this
 function)
 network.c:751: warning: assignment makes pointer from integer without a
 cast
 network.c: In function `purple_network_uninit':
 network.c:778: error: implicit declaration of function
 `dbus_g_connection_unref'
 make[4]: *** [network.lo] Error 1
 make[4]: Leaving directory `/space/clifford/pidgin-2.5.1/libpurple'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/space/clifford/pidgin-2.5.1/libpurple'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/space/clifford/pidgin-2.5.1/libpurple'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/space/clifford/pidgin-2.5.1'
 make: *** [all] Error 2
 }}}

 running configure with --disable-nm fixes the make problem.

--

Comment(by QuLogic):

 I don't know what kind of weird copy/paste you did.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/6903#comment:2>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list