LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem with installing gipmsg-0.4.0beta1.tar.gz (https://www.linuxquestions.org/questions/linux-software-2/problem-with-installing-gipmsg-0-4-0beta1-tar-gz-575372/)

me4linux 08-07-2007 11:25 AM

Problem with installing gipmsg-0.4.0beta1.tar.gz
 
Hi everyone

I have downloaded gipmsg-0.4.0beta1.tar.gz and tried to install it in conventional way as we do for every tar.gz file.

i am getting an error when i configure it
the error is as follows
----------------------------------------------------------------------
checking for pthread_create in -lpthread... yes
checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: GTK not installed
----------------------------------------------------------------------

but when i type the command rpm -qa |grep gtk
i am getting that gtk is installed
==========================================================
package gtk2-2.10.11-7.fc7 is already installed
==========================================================
package gtk+-1.2.10-57.fc7 is already installed
==========================================================

PLEASE HELP ME TO INSTALL GIPMSG

thanks in advanvce

Bye

colucix 08-07-2007 12:35 PM

You probably miss the gtk+-devel package, since it installs /usr/bin/gtk-config.

me4linux 08-09-2007 02:39 AM

problem with make file after configure
 
Quote:

Originally Posted by colucix
You probably miss the gtk+-devel package, since it installs /usr/bin/gtk-config.

Thanks for ur reply
after installing gtk+-devel i am able to configure it ...
when i run the make command after it i am getting the following ..
==============================================================================================
make all-recursive
make[1]: Entering directory `/home/fedora/Desktop/gipmsg-0.4.0beta1'
Making all in src
make[2]: Entering directory `/home/fedora/Desktop/gipmsg-0.4.0beta1/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 -Wall -Wunused -c main.c
main.c:13:19: error: gnome.h: No such file or directory
In file included from main.c:18:
properties.h:13: error: expected specifier-qualifier-list before ‘guint16’
properties.h:41: error: expected ‘)’ before ‘*’ token
properties.h:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
properties.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
properties.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
properties.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from main.c:19:
win.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
win.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
win.h:43: error: expected ‘)’ before ‘*’ token
win.h:49: error: expected ‘)’ before ‘*’ token
win.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
win.h:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
win.h:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
win.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
win.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
win.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
win.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
win.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
win.h:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
win.h:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from main.c:20:
ipmsg.h:115: error: expected specifier-qualifier-list before ‘gchar’
ipmsg.h:126: error: expected specifier-qualifier-list before ‘gint’
ipmsg.h:145: error: expected specifier-qualifier-list before ‘guint’
ipmsg.h:162: error: expected specifier-qualifier-list before ‘guint’
ipmsg.h:176: error: expected ‘)’ before ‘port’
ipmsg.h:180: error: expected ‘)’ before ‘data’
ipmsg.h:181: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘IPMsgSend’
ipmsg.h:182: error: expected ‘)’ before ‘com’
ipmsg.h:183: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘IPMsgReSendData’
ipmsg.h:184: error: expected ‘)’ before ‘mode’
ipmsg.h:186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
ipmsg.h:192: error: expected declaration specifiers or ‘...’ before ‘guint32’
ipmsg.h:193: error: expected declaration specifiers or ‘...’ before ‘guint32’
ipmsg.h:200: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
ipmsg.h:207: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sendWin_clist_comp’
ipmsg.h:219: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
ipmsg.h:224: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘IPMsgNonPopupTimeout’
ipmsg.h:232: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nIPMsgNonPopup’
In file included from main.c:21:
sig.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
sig.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
sig.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
sig.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
sig.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
sig.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
sig.h:37: error: expected ‘)’ before ‘*’ token
sig.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘on_sendWin_key_press_event’
sig.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘on_sendWinEv_button_press_event’
sig.h:51: error: expected ‘)’ before ‘*’ token
sig.h:55: error: expected ‘)’ before ‘*’ token
sig.h:59: error: expected ‘)’ before ‘*’ token
sig.h:63: error: expected ‘)’ before ‘*’ token
sig.h:67: error: expected ‘)’ before ‘*’ token
sig.h:71: error: expected ‘)’ before ‘*’ token
sig.h:75: error: expected ‘)’ before ‘*’ token
sig.h:79: error: expected ‘)’ before ‘*’ token
sig.h:83: error: expected ‘)’ before ‘*’ token
sig.h:87: error: expected ‘)’ before ‘*’ token
sig.h:92: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘on_sendUserList_button_press_event’
sig.h:97: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘on_menu_select_group_cb’
sig.h:101: error: expected ‘)’ before ‘*’ token
sig.h:105: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘on_buttonWin_delete_event’
sig.h:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘on_buttonWin_button_press_event’
sig.h:115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘on_buttonWin_button_press_event’
sig.h:120: error: expected ‘)’ before ‘*’ token
sig.h:124: error: expected ‘)’ before ‘*’ token
sig.h:129: error: expected ‘)’ before ‘*’ token
sig.h:133: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘on_buttonWin_button_press_event’
sig.h:138: error: expected ‘)’ before ‘*’ token
sig.h:143: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘on_buttonWinEv_key_press_event’
sig.h:148: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘on_buttonWinEv_button_press_event’
sig.h:153: error: expected ‘)’ before ‘*’ token
sig.h:157: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘on_logWin_delete_event’
sig.h:162: error: expected ‘)’ before ‘*’ token
sig.h:167: error: expected ‘)’ before ‘*’ token
sig.h:171: error: expected ‘)’ before ‘*’ token
sig.h:180: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘on_popupmenu_fuzai_cb’
sig.h:183: error: expected ‘)’ before ‘user_data’
sig.h:186: error: expected ‘)’ before ‘user_data’
sig.h:189: error: expected ‘)’ before ‘user_data’
sig.h:197: error: expected ‘)’ before ‘*’ token
sig.h:200: error: expected ‘)’ before ‘*’ token
sig.h:203: error: expected ‘)’ before ‘*’ token
main.c: In function ‘kill_exit_proc’:
main.c:63: warning: implicit declaration of function ‘alarm’
main.c:64: warning: implicit declaration of function ‘exit’
main.c:64: warning: incompatible implicit declaration of built-in function ‘exit’
main.c:64: error: ‘EXIT_SUCCESS’ undeclared (first use in this function)
main.c:64: error: (Each undeclared identifier is reported only once
main.c:64: error: for each function it appears in.)
main.c: In function ‘trap_usr1’:
main.c:69: warning: implicit declaration of function ‘IPMsgOpenSendWin’
main.c: At top level:
main.c:72: error: array type has incomplete element type
main.c:73: error: ‘POPT_ARG_STRING’ undeclared here (not in a function)
main.c:73: warning: implicit declaration of function ‘N_’
main.c:76: error: ‘POPT_ARG_INT’ undeclared here (not in a function)
main.c:76: error: ‘struct OPTION_T’ has no member named ‘port’
main.c:77: error: ‘struct OPTION_T’ has no member named ‘localnet_bcast’
main.c: In function ‘main_quit’:
main.c:107: warning: implicit declaration of function ‘gtk_main_quit’
main.c: At top level:
main.c:111: error: expected ‘)’ before ‘client_data’
main.c:118: error: expected ‘)’ before ‘*’ token
main.c:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
main.c: In function ‘main’:
main.c:160: error: ‘GnomeClient’ undeclared (first use in this function)
main.c:160: error: ‘smClient’ undeclared (first use in this function)
main.c:162: error: expected specifier-qualifier-list before ‘gint’
main.c:163: warning: excess elements in struct initializer
main.c:163: warning: (near initialization for ‘geom’)
main.c:163: warning: excess elements in struct initializer
main.c:163: warning: (near initialization for ‘geom’)
main.c:163: warning: excess elements in struct initializer
main.c:163: warning: (near initialization for ‘geom’)
main.c:163: warning: excess elements in struct initializer
main.c:163: warning: (near initialization for ‘geom’)
main.c:164: error: ‘GtkWidget’ undeclared (first use in this function)
main.c:164: error: ‘app’ undeclared (first use in this function)
main.c:178: warning: implicit declaration of function ‘bindtextdomain’
main.c:179: warning: implicit declaration of function ‘textdomain’
main.c:188: warning: implicit declaration of function ‘gnome_init_with_popt_table’
main.c:189: error: ‘winMain’ undeclared (first use in this function)
main.c:189: warning: implicit declaration of function ‘gnome_app_new’
main.c:191: warning: implicit declaration of function ‘newGnomeClient’
main.c:192: warning: implicit declaration of function ‘gtk_signal_connect’
main.c:192: warning: implicit declaration of function ‘GTK_OBJECT’
main.c:193: warning: implicit declaration of function ‘GTK_SIGNAL_FUNC’
main.c:193: error: ‘on_buttonWin_destroy’ undeclared (first use in this function)
main.c:195: warning: implicit declaration of function ‘getenv’
main.c:195: warning: assignment makes pointer from integer without a cast
main.c:199: warning: implicit declaration of function ‘IPMsgSetup’
main.c:199: error: ‘struct OPTION_T’ has no member named ‘port’
main.c:200: warning: implicit declaration of function ‘create_buttonWin’
main.c:211: warning: implicit declaration of function ‘gnome_parse_geometry’
main.c:211: error: ‘struct <anonymous>’ has no member named ‘x’
main.c:211: error: ‘struct <anonymous>’ has no member named ‘y’
main.c:211: error: ‘struct <anonymous>’ has no member named ‘w’
main.c:211: error: ‘struct <anonymous>’ has no member named ‘h’
main.c:212: warning: implicit declaration of function ‘gtk_widget_set_uposition’
main.c:212: error: ‘struct <anonymous>’ has no member named ‘x’
main.c:212: error: ‘struct <anonymous>’ has no member named ‘y’
main.c:214: error: ‘struct <anonymous>’ has no member named ‘w’
main.c:214: error: ‘struct <anonymous>’ has no member named ‘w’
main.c:215: error: ‘struct <anonymous>’ has no member named ‘h’
main.c:215: error: ‘struct <anonymous>’ has no member named ‘h’
main.c:216: warning: implicit declaration of function ‘gtk_widget_set_usize’
main.c:216: error: ‘struct <anonymous>’ has no member named ‘w’
main.c:216: error: ‘struct <anonymous>’ has no member named ‘h’
main.c:218: warning: implicit declaration of function ‘gtk_widget_show_all’
main.c:219: warning: implicit declaration of function ‘gtk_widget_hide’
main.c:219: warning: implicit declaration of function ‘get_widget’
main.c:219: warning: implicit declaration of function ‘GTK_WIDGET’
main.c:225: warning: implicit declaration of function ‘atexit’
main.c:232: warning: implicit declaration of function ‘gtk_main’
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/fedora/Desktop/gipmsg-0.4.0beta1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fedora/Desktop/gipmsg-0.4.0beta1'
===================================================================================
PLEASE HELP ME TO INSTALL IT ,...

THANKS IN ADVANCE

colucix 08-09-2007 03:32 AM

Quote:

main.c:13:19: error: gnome.h: No such file or directory
It seems you miss another "dependency". On my FC6 the file gnome.h is under /usr/include/libgnomeui-2.0 and is provided by the libgnomeui-devel-2.16.0-4.fc6 package. It is a matter of patience to go through all the missing stuff. You will probably need some other "devel" packages, that on Fedora and other distros contain all the header files which will likely to be included in the code you're compiling. Check carefully for these kind of errors and try to figure out which package provides the missing ones. Good luck! :)

me4linux 08-09-2007 06:26 AM

Quote:

Originally Posted by colucix
It seems you miss another "dependency". On my FC6 the file gnome.h is under /usr/include/libgnomeui-2.0 and is provided by the libgnomeui-devel-2.16.0-4.fc6 package. It is a matter of patience to go through all the missing stuff. You will probably need some other "devel" packages, that on Fedora and other distros contain all the header files which will likely to be included in the code you're compiling. Check carefully for these kind of errors and try to figure out which package provides the missing ones. Good luck! :)

thanks for the advice
i will surely try it out

can u give me the link for the rpm file ..?
i have got one and only one link and its not working
http://218.140.108.7/rpm/vine4.1/gip...ta1-1.i386.rpm

if u dont mind can u give me the rpm link

bye

colucix 08-09-2007 08:21 AM

Quote:

Originally Posted by me4linux
can u give me the link for the rpm file ..?
i have got one and only one link and its not working
http:/.../vine4.1/gipmsg-0.4.0beta1-1.i386.rpm

Sorry, probably you've misunderstood my post. I was not talking about a RPM of gipmsg: indeed I tried to look for it and it seems no Fedora packager support it, right now! My suggestion was to proceed with compilation from source, trying to resolve any other dependency, first of all the above mentioned libgnomeui-devel RPM.

me4linux 08-09-2007 12:26 PM

Quote:

Originally Posted by colucix
Sorry, probably you've misunderstood my post. I was not talking about a RPM of gipmsg: indeed I tried to look for it and it seems no Fedora packager support it, right now! My suggestion was to proceed with compilation from source, trying to resolve any other dependency, first of all the above mentioned libgnomeui-devel RPM.

even after installing libgnomeui-devel using yum i am getting the same error while running the make commanda after configuring

PLEASE HELP ME TO SOLVE THIS PROBLEM

thanks in advance

colucix 08-10-2007 06:04 AM

I checked and actually tried to compile gipmsg by myself and I reached the conclusion that is a real nightmare! After resolving all the issues related to the location of the .h files, it complains about unresolved symbols, misconfigured types and a lot of other common C error messages. I think the reason is that gipmsg is a very old (1999) and unmantained software and probably the source code is not compatible with the later versions of the gcc compiler. So, my only advice is to look for something more recent (e.g. gaim, called pidgin now). Furthermore, you will likely find the RPM for your system! Cheers :)

me4linux 08-10-2007 07:12 AM

Quote:

Originally Posted by colucix
I checked and actually tried to compile gipmsg by myself and I reached the conclusion that is a real nightmare! After resolving all the issues related to the location of the .h files, it complains about unresolved symbols, misconfigured types and a lot of other common C error messages. I think the reason is that gipmsg is a very old (1999) and unmantained software and probably the source code is not compatible with the later versions of the gcc compiler. So, my only advice is to look for something more recent (e.g. gaim, called pidgin now). Furthermore, you will likely find the RPM for your system! Cheers :)

thanks for ur advice
i shall download other package...
i have a small doubt..
will i be able to chat/sendfiles/.....etc from gaim/pidgin to those who are using ipmessenger in windows..

colucix 08-10-2007 07:25 AM

I never used messenger nor gaim, but according to the declared capabilities:
Quote:

Pidgin supports many features of the various networks, such as file transfer...
You can see http://pidgin.im/pidgin/about/ for details.


All times are GMT -5. The time now is 04:09 PM.