|
sudo makepkg
==> Making package: gsopcast 0.2.9-1 (Sat Oct 21 22:31:26 UTC 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Found gsopcast-0.2.9.tar.bz2 in build dir
==> Found gtk-sopcast.desktop in build dir
==> Validating source files with MD5sums
gsopcast-0.2.9.tar.bz2 ... Passed
gtk-sopcast.desktop ... Passed
==> Extracting Sources...
==> tar --use-compress-program=bzip2 -xf gsopcast-0.2.9.tar.bz2
==> Removing existing pkg/ directory...
==> Starting build()...
g++ -O2 -Wall `pkg-config --cflags gtk+-2.0` -c callbacks.cc -o callbacks.o
/bin/sh: pkg-config: command not found
In file included from callbacks.cc:21:
header.h:29:21: error: gtk/gtk.h: No such file or directory
header.h:45:23: error: curl/curl.h: No such file or directory
callbacks.cc:432:28: error: gdk/gdkkeysyms.h: No such file or directory
header.h:65: error: ISO C++ forbids declaration of ‘GIOChannel’ with no type
header.h:65: error: expected ‘;’ before ‘*’ token
header.h:66: error: ‘guint’ does not name a type
fork.h:8: error: ‘gboolean’ does not name a type
channel.h:5: error: variable or field ‘tree_search_key’ declared void
channel.h:5: error: ‘gchar’ was not declared in this scope
channel.h:5: error: ‘key’ was not declared in this scope
sound.h:3: error: ‘gboolean’ does not name a type
iostatistics.h:4: error: ‘gboolean’ does not name a type
iostatistics.h:6: error: ‘gboolean’ does not name a type
iostatistics.h:8: error: ‘gboolean’ does not name a type
iorecord.h:3: error: ‘gboolean’ does not name a type
iorecord.h:4: error: ‘gboolean’ does not name a type
iochannel.h:3: error: ‘GIOFunc’ has not been declared
callbacks.cc:30: error: expected initializer before ‘*’ token
callbacks.cc:31: error: expected initializer before ‘*’ token
callbacks.cc:32: error: expected initializer before ‘*’ token
callbacks.cc:33: error: expected initializer before ‘*’ token
callbacks.cc:34: error: expected initializer before ‘*’ token
callbacks.cc:35: error: expected initializer before ‘*’ token
callbacks.cc:36: error: expected initializer before ‘*’ token
callbacks.cc:38: error: expected constructor, destructor, or type conversion before ‘*’ token
callbacks.cc:39: error: expected constructor, destructor, or type conversion before ‘*’ token
callbacks.cc:40: error: expected initializer before ‘*’ token
callbacks.cc:46: error: ‘gboolean’ does not name a type
callbacks.cc:48: error: ‘guint’ does not name a type
callbacks.cc:50: error: ‘guint’ does not name a type
callbacks.cc:52: error: expected initializer before ‘*’ token
callbacks.cc: In function ‘void start_statistics_monitor()’:
callbacks.cc:76: error: ‘struct Channel’ has no member named ‘tag’
callbacks.cc:79: error: ‘struct Channel’ has no member named ‘tag’
callbacks.cc:83: error: ‘ptimer_statistics’ was not declared in this scope
callbacks.cc:84: error: ‘g_source_remove’ was not declared in this scope
callbacks.cc:85: error: ‘ptimer_record’ was not declared in this scope
callbacks.cc:86: error: ‘g_source_remove’ was not declared in this scope
callbacks.cc:88: error: ‘label_record’ was not declared in this scope
callbacks.cc:88: error: ‘GTK_LABEL’ was not declared in this scope
callbacks.cc:88: error: ‘gtk_label_set_text’ was not declared in this scope
callbacks.cc:89: error: ‘entry_status’ was not declared in this scope
callbacks.cc:89: error: ‘GTK_ENTRY’ was not declared in this scope
callbacks.cc:89: error: ‘gtk_entry_set_text’ was not declared in this scope
callbacks.cc:91: error: ‘GdkColor’ was not declared in this scope
callbacks.cc:91: error: expected `;' before ‘color’
callbacks.cc:92: error: ‘color’ was not declared in this scope
callbacks.cc:92: error: ‘gdk_color_parse’ was not declared in this scope
callbacks.cc:93: error: ‘GTK_STATE_NORMAL’ was not declared in this scope
callbacks.cc:93: error: ‘gtk_widget_modify_fg’ was not declared in this scope
callbacks.cc:97: error: ‘ptimer_statistics’ was not declared in this scope
callbacks.cc:97: error: ‘statistics_monitor’ was not declared in this scope
callbacks.cc:97: error: ‘g_timeout_add’ was not declared in this scope
callbacks.cc:99: error: ‘flag_player’ was not declared in this scope
callbacks.cc:99: error: ‘TRUE’ was not declared in this scope
callbacks.cc: At global scope:
callbacks.cc:104: error: expected constructor, destructor, or type conversion before ‘*’ token
callbacks.cc:125: error: ‘GList’ was not declared in this scope
callbacks.cc:125: error: ‘slist’ was not declared in this scope
callbacks.cc:125: error: ‘GList’ was not declared in this scope
callbacks.cc:125: error: ‘ulist’ was not declared in this scope
callbacks.cc:125: error: expected primary-expression before ‘const’
callbacks.cc:125: error: initializer expression list treated as compound expression
callbacks.cc:126: error: expected ‘,’ or ‘;’ before ‘{’ token
callbacks.cc:142: error: variable or field ‘on_treeview1_row_activated’ declared void
callbacks.cc:142: error: ‘GtkTreeView’ was not declared in this scope
callbacks.cc:142: error: ‘treeview’ was not declared in this scope
callbacks.cc:143: error: ‘GtkTreePath’ was not declared in this scope
callbacks.cc:143: error: ‘arg1’ was not declared in this scope
callbacks.cc:144: error: ‘GtkTreeViewColumn’ was not declared in this scope
callbacks.cc:144: error: ‘arg2’ was not declared in this scope
callbacks.cc:144: error: ‘gpointer’ was not declared in this scope
callbacks.cc:144: error: initializer expression list treated as compound expression
callbacks.cc:145: error: expected ‘,’ or ‘;’ before ‘{’ token
callbacks.cc: In function ‘void on_button_sopcast_clicked()’:
callbacks.cc:198: error: expected initializer before ‘*’ token
callbacks.cc:199: error: ‘str’ was not declared in this scope
callbacks.cc:199: error: ‘combo’ was not declared in this scope
callbacks.cc:199: error: ‘GTK_ENTRY’ was not declared in this scope
callbacks.cc:199: error: ‘gtk_entry_get_text’ was not declared in this scope
callbacks.cc:203: error: ‘items_title’ was not declared in this scope
callbacks.cc:203: error: ‘items_url’ was not declared in this scope
callbacks.cc:203: error: ‘list_search_url’ cannot be used as a function
callbacks.cc: In function ‘void tree_search()’:
callbacks.cc:234: error: expected initializer before ‘*’ token
callbacks.cc:235: error: ‘str’ was not declared in this scope
callbacks.cc:235: error: ‘entry_search’ was not declared in this scope
callbacks.cc:235: error: ‘GTK_ENTRY’ was not declared in this scope
callbacks.cc:235: error: ‘gtk_entry_get_text’ was not declared in this scope
callbacks.cc:236: error: ‘gchar’ was not declared in this scope
callbacks.cc:236: error: ‘str2’ was not declared in this scope
callbacks.cc:241: error: ‘tree_search_key’ cannot be used as a function
callbacks.cc: At global scope:
callbacks.cc:260: error: variable or field ‘on_button_expand_clicked’ declared void
callbacks.cc:260: error: ‘GtkWidget’ was not declared in this scope
callbacks.cc:260: error: ‘widget’ was not declared in this scope
callbacks.cc:261: error: expected ‘,’ or ‘;’ before ‘{’ token
callbacks.cc: In function ‘void on_button_player_clicked()’:
callbacks.cc:302: error: ‘flag_player’ was not declared in this scope
callbacks.cc:302: error: ‘TRUE’ was not declared in this scope
callbacks.cc: At global scope:
callbacks.cc:308: error: variable or field ‘on_button_channel_toggled’ declared void
callbacks.cc:308: error: ‘GtkWidget’ was not declared in this scope
callbacks.cc:308: error: ‘widget’ was not declared in this scope
callbacks.cc:308: error: ‘gpointer’ was not declared in this scope
callbacks.cc:308: error: initializer expression list treated as compound expression
callbacks.cc:309: error: expected ‘,’ or ‘;’ before ‘{’ token
callbacks.cc: In function ‘void on_button_stop_clicked()’:
callbacks.cc:326: error: ‘struct Channel’ has no member named ‘tag’
callbacks.cc:329: error: ‘struct Channel’ has no member named ‘tag’
callbacks.cc:333: error: ‘ptimer_statistics’ was not declared in this scope
callbacks.cc:334: error: ‘g_source_remove’ was not declared in this scope
callbacks.cc:335: error: ‘ptimer_record’ was not declared in this scope
callbacks.cc:336: error: ‘g_source_remove’ was not declared in this scope
callbacks.cc:338: error: ‘label_record’ was not declared in this scope
callbacks.cc:338: error: ‘GTK_LABEL’ was not declared in this scope
callbacks.cc:338: error: ‘gtk_label_set_text’ was not declared in this scope
callbacks.cc:339: error: ‘entry_status’ was not declared in this scope
callbacks.cc:339: error: ‘GTK_ENTRY’ was not declared in this scope
callbacks.cc:339: error: ‘gtk_entry_set_text’ was not declared in this scope
callbacks.cc:341: error: ‘GdkColor’ was not declared in this scope
callbacks.cc:341: error: expected `;' before ‘color’
callbacks.cc:342: error: ‘color’ was not declared in this scope
callbacks.cc:342: error: ‘gdk_color_parse’ was not declared in this scope
callbacks.cc:343: error: ‘GTK_STATE_NORMAL’ was not declared in this scope
callbacks.cc:343: error: ‘gtk_widget_modify_fg’ was not declared in this scope
callbacks.cc: In function ‘void destroy()’:
callbacks.cc:362: error: ‘gtk_main_quit’ was not declared in this scope
callbacks.cc: At global scope:
callbacks.cc:383: error: variable or field ‘on_adj_sound_change_value’ declared void
callbacks.cc:383: error: ‘GtkAdjustment’ was not declared in this scope
callbacks.cc:383: error: ‘adj’ was not declared in this scope
callbacks.cc:384: error: expected ‘,’ or ‘;’ before ‘{’ token
callbacks.cc:399: error: variable or field ‘on_button_record_clicked’ declared void
callbacks.cc:399: error: ‘GtkWidget’ was not declared in this scope
callbacks.cc:399: error: ‘widget’ was not declared in this scope
callbacks.cc:399: error: ‘gpointer’ was not declared in this scope
callbacks.cc:399: error: initializer expression list treated as compound expression
callbacks.cc:400: error: expected ‘,’ or ‘;’ before ‘{’ token
callbacks.cc:434: error: ‘gboolean’ does not name a type
make: *** [callbacks.o] Error 1
==> ERROR: Build Failed. Aborting...
请各位多多指教,帮我看看问题在哪里?谢谢! |
|