gnukman / pidgin-guiops

Automatically exported from code.google.com/p/pidgin-guiops
0 stars 0 forks source link

Doesn't compile on Ubuntu Lucid #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open a terminal in the extracted folder and type "make".

What is the expected output? What do you see instead?

Expected: it makes the pidgin-guiops.so file.
Instead:
[CC] pidgin-guiops.o
Package pidgin was not found in the pkg-config search path.
Perhaps you should add the directory containing `pidgin.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pidgin' found
Package purple was not found in the pkg-config search path.
Perhaps you should add the directory containing `purple.pc'
to the PKG_CONFIG_PATH environment variable
No package 'purple' found
pidgin-guiops.c:22:21: error: signals.h: No such file or directory
pidgin-guiops.c:23:21: error: version.h: No such file or directory
pidgin-guiops.c:24:20: error: purple.h: No such file or directory
pidgin-guiops.c:25:21: error: gtkconv.h: No such file or directory
pidgin-guiops.c:27:22: error: gtkblist.h: No such file or directory
pidgin-guiops.c:28:23: error: gtkplugin.h: No such file or directory
pidgin-guiops.c:29:22: error: gtkprefs.h: No such file or directory
pidgin-guiops.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ 
before ‘*’ token
pidgin-guiops.c:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ 
before ‘*’ token
pidgin-guiops.c:66: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ 
before ‘*’ token
pidgin-guiops.c: In function ‘StringReplace’:
pidgin-guiops.c:80: warning: implicit declaration of function ‘sprintf’
pidgin-guiops.c:80: warning: incompatible implicit declaration of built-in 
function ‘sprintf’
pidgin-guiops.c: In function ‘set_row_heights’:
pidgin-guiops.c:89: error: ‘gboolean’ undeclared (first use in this 
function)
pidgin-guiops.c:89: error: (Each undeclared identifier is reported only 
once
pidgin-guiops.c:89: error: for each function it appears in.)
pidgin-guiops.c:89: error: expected ‘;’ before ‘smallstatus’
pidgin-guiops.c:91: error: ‘smallstatus’ undeclared (first use in this 
function)
pidgin-guiops.c:93: error: ‘PidginBuddyList’ undeclared (first use in this 
function)
pidgin-guiops.c:93: error: ‘gtkblist’ undeclared (first use in this 
function)
pidgin-guiops.c:93: warning: implicit declaration of function 
‘pidgin_blist_get_default_gtk_blist’
pidgin-guiops.c:94: error: ‘GtkTreeViewColumn’ undeclared (first use in 
this function)
pidgin-guiops.c:94: error: ‘col’ undeclared (first use in this function)
pidgin-guiops.c:94: warning: implicit declaration of function 
‘gtk_tree_view_get_column’
pidgin-guiops.c:94: warning: implicit declaration of function 
‘GTK_TREE_VIEW’
pidgin-guiops.c:95: error: ‘GList’ undeclared (first use in this function)
pidgin-guiops.c:95: error: ‘iter’ undeclared (first use in this function)
pidgin-guiops.c:95: warning: implicit declaration of function 
‘gtk_tree_view_column_get_cell_renderers’
pidgin-guiops.c:97: warning: implicit declaration of function 
‘g_list_delete_link’
pidgin-guiops.c:98: error: ‘GtkCellRenderer’ undeclared (first use in this 
function)
pidgin-guiops.c:98: error: ‘rend’ undeclared (first use in this function)
pidgin-guiops.c:99: warning: implicit declaration of function 
‘GTK_IS_CELL_RENDERER_PIXBUF’
pidgin-guiops.c:100: warning: implicit declaration of function 
‘g_object_set’
pidgin-guiops.c:105: warning: implicit declaration of function 
‘g_list_free’
pidgin-guiops.c: At top level:
pidgin-guiops.c:109: error: expected ‘)’ before ‘*’ token
pidgin-guiops.c: In function ‘ToggleConvMenu’:
pidgin-guiops.c:181: error: ‘gboolean’ undeclared (first use in this 
function)
pidgin-guiops.c:181: error: expected ‘;’ before ‘menuhidden’
pidgin-guiops.c:182: error: ‘GList’ undeclared (first use in this function)
pidgin-guiops.c:182: error: ‘convs’ undeclared (first use in this function)
pidgin-guiops.c:182: warning: implicit declaration of function 
‘purple_get_conversations’
pidgin-guiops.c:186: error: ‘PurpleConversation’ undeclared (first use in 
this function)
pidgin-guiops.c:186: error: ‘conv’ undeclared (first use in this function)
pidgin-guiops.c:186: error: expected expression before ‘)’ token
pidgin-guiops.c:188: warning: implicit declaration of function 
‘PIDGIN_IS_PIDGIN_CONVERSATION’
pidgin-guiops.c:190: error: ‘menuhidden’ undeclared (first use in this 
function)
pidgin-guiops.c:191: warning: implicit declaration of function 
‘purple_prefs_set_bool’
pidgin-guiops.c:191: error: ‘FALSE’ undeclared (first use in this function)
pidgin-guiops.c:193: warning: implicit declaration of function 
‘gtk_widget_set_size_request’
pidgin-guiops.c:193: error: ‘w_conv_menu’ undeclared (first use in this 
function)
pidgin-guiops.c:195: error: ‘TRUE’ undeclared (first use in this function)
pidgin-guiops.c: In function ‘InitConvMenu’:
pidgin-guiops.c:208: error: ‘gboolean’ undeclared (first use in this 
function)
pidgin-guiops.c:208: error: expected ‘;’ before ‘menuhidden’
pidgin-guiops.c:210: error: ‘menuhidden’ undeclared (first use in this 
function)
pidgin-guiops.c:212: error: ‘w_conv_menu’ undeclared (first use in this 
function)
pidgin-guiops.c: In function ‘ToggleBlistMenu’:
pidgin-guiops.c:219: error: ‘gboolean’ undeclared (first use in this 
function)
pidgin-guiops.c:219: error: expected ‘;’ before ‘menuhidden’
pidgin-guiops.c:221: error: ‘menuhidden’ undeclared (first use in this 
function)
pidgin-guiops.c:222: error: ‘FALSE’ undeclared (first use in this function)
pidgin-guiops.c:224: error: ‘w_blist_menu’ undeclared (first use in this 
function)
pidgin-guiops.c:226: error: ‘TRUE’ undeclared (first use in this function)
pidgin-guiops.c: In function ‘InitBlistMenu’:
pidgin-guiops.c:235: error: ‘gboolean’ undeclared (first use in this 
function)
pidgin-guiops.c:235: error: expected ‘;’ before ‘menuhidden’
pidgin-guiops.c:237: error: ‘menuhidden’ undeclared (first use in this 
function)
pidgin-guiops.c:239: error: ‘w_blist_menu’ undeclared (first use in this 
function)
pidgin-guiops.c: In function ‘ToggleStatusBox’:
pidgin-guiops.c:246: error: ‘gboolean’ undeclared (first use in this 
function)
pidgin-guiops.c:246: error: expected ‘;’ before ‘statusboxhidden’
pidgin-guiops.c:248: error: ‘statusboxhidden’ undeclared (first use in this 
function)
pidgin-guiops.c:249: error: ‘FALSE’ undeclared (first use in this function)
pidgin-guiops.c:250: warning: implicit declaration of function 
‘gtk_widget_show’
pidgin-guiops.c:250: error: ‘w_statusbox’ undeclared (first use in this 
function)
pidgin-guiops.c:252: error: ‘TRUE’ undeclared (first use in this function)
pidgin-guiops.c:253: warning: implicit declaration of function 
‘gtk_widget_hide’
pidgin-guiops.c: In function ‘InitStatusBox’:
pidgin-guiops.c:260: error: ‘gboolean’ undeclared (first use in this 
function)
pidgin-guiops.c:260: error: expected ‘;’ before ‘statusboxhidden’
pidgin-guiops.c:262: error: ‘statusboxhidden’ undeclared (first use in this 
function)
pidgin-guiops.c:263: error: ‘w_statusbox’ undeclared (first use in this 
function)
pidgin-guiops.c: At top level:
pidgin-guiops.c:270: error: expected ‘)’ before ‘*’ token
pidgin-guiops.c:287: error: expected ‘)’ before ‘*’ token
pidgin-guiops.c:300: error: expected ‘)’ before ‘*’ token
pidgin-guiops.c: In function ‘redraw_convs_cb’:
pidgin-guiops.c:356: error: ‘GList’ undeclared (first use in this function)
pidgin-guiops.c:356: error: ‘convs’ undeclared (first use in this function)
pidgin-guiops.c:360: error: ‘PurpleConversation’ undeclared (first use in 
this function)
pidgin-guiops.c:360: error: ‘conv’ undeclared (first use in this function)
pidgin-guiops.c:360: error: expected expression before ‘)’ token
pidgin-guiops.c:363: warning: implicit declaration of function 
‘conversation_displayed_cb’
pidgin-guiops.c:363: warning: implicit declaration of function 
‘PIDGIN_CONVERSATION’
pidgin-guiops.c: At top level:
pidgin-guiops.c:371: error: expected declaration specifiers or ‘...’ before 
‘PurplePrefType’
pidgin-guiops.c:371: error: expected declaration specifiers or ‘...’ before 
‘gconstpointer’
pidgin-guiops.c:371: error: expected declaration specifiers or ‘...’ before 
‘gpointer’
pidgin-guiops.c: In function ‘redraw_blist_cb’:
pidgin-guiops.c:374: error: ‘gboolean’ undeclared (first use in this 
function)
pidgin-guiops.c:374: error: expected ‘;’ before ‘allowtoggle’
pidgin-guiops.c:376: error: ‘allowtoggle’ undeclared (first use in this 
function)
pidgin-guiops.c:378: error: ‘w_blist_menu’ undeclared (first use in this 
function)
pidgin-guiops.c:379: error: ‘FALSE’ undeclared (first use in this function)
pidgin-guiops.c:381: error: ‘w_statusbox’ undeclared (first use in this 
function)
pidgin-guiops.c:386: warning: implicit declaration of function 
‘pidgin_blist_refresh’
pidgin-guiops.c:386: error: ‘data’ undeclared (first use in this function)
pidgin-guiops.c: At top level:
pidgin-guiops.c:393: error: expected ‘)’ before ‘*’ token
pidgin-guiops.c:419: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ before ‘plugin_load’
pidgin-guiops.c:452: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ before ‘plugin_unload’
pidgin-guiops.c:475: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ before ‘*’ token
pidgin-guiops.c:509: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ before ‘prefs_info’
pidgin-guiops.c:521: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ before ‘info’
pidgin-guiops.c:554: error: expected ‘)’ before ‘*’ token
pidgin-guiops.c:569: error: expected ‘)’ before ‘-’ token
make: *** [pidgin-guiops.o] Error 1

What version of the product are you using? On what operating system?

Version 0.4 in Ubuntu 10.4

Please provide any additional information below.

Original issue reported on code.google.com by marktrut...@gmail.com on 10 May 2010 at 7:02

GoogleCodeExporter commented 8 years ago
I also had this problem, but i sucess compile it on my older version of Ubuntu.

download here : http://capekfilip.cz/pidgin-guiops/pidgin-guiops.so

Original comment by capek.fi...@gmail.com on 12 Aug 2010 at 12:12

Attachments:

GoogleCodeExporter commented 8 years ago
You don't have any of the pidgin-development packages installed. (pidgin-dev, 
pidgin-data, libpurple0, libpurple-dev, and probably others).

Original comment by craigwharding on 10 Oct 2010 at 3:57

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
craigwharding is correct. I usually install Pidgin from source. First I execute:

sudo apt-get build-dep pidgin

This gets me all the dependencies to compile Pidgin. Then I download the source 
code from the pidgin website and run: ./configure;make;sudo make install

After doing this, the GUIOps plugin compiles just fine.

Original comment by daspo...@gmail.com on 15 Oct 2010 at 7:23

GoogleCodeExporter commented 8 years ago
Maybe adding install instructions would be helpful

</understatement>

Original comment by derrick....@gmail.com on 10 Jun 2011 at 1:20

GoogleCodeExporter commented 8 years ago
http://developer.pidgin.im/wiki/Scripting_and_Plugins is helpful, but not 
linked from the right places (e.g. the places you might get to if you google 
"Pidgin Plugins"), including here.

Original comment by derrick....@gmail.com on 10 Jun 2011 at 1:23

GoogleCodeExporter commented 8 years ago
I added more install instructions: installing pidgin-dev and libpurple-dev is 
necessary to compile this plugin.

Original comment by daspo...@gmail.com on 10 Nov 2011 at 6:26

GoogleCodeExporter commented 8 years ago

Original comment by daspo...@gmail.com on 10 Nov 2011 at 6:28