XProt for openSuse 11

There is a nice GUI for F-Prot anti-virus, which is ‘+’](http://web.tiscali.it/sharp/xfprot/).

But I’m trying to install it in openSuse 11 without any success.

The Readme says that I have to check if I got all GTK 2.6 or superior. But in the website of GTK (GTK+ - About) the latest version is 2.1.
I tried to install by YaST, but how can I know whick is the GTK? If I type GTK in the search field will bring thousands of results.

Here is the output of my command ./configure.


checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for sudo... /usr/bin/sudo
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

Thank you in advance for the support.

“no acceptable C compiler found”

In Yast, select “Patterns” then select C/C++ and Kernel Development. then select “Details” and check for make, gcc, kernel-source & kernel-syms installed. kernel-source & kernel-syms must match your running kernel “uname -a”; if they don’t, do a YOU update & yast will make them match.

Being that you have been messing around do “make clean” prior to starting the recompile.

Have fun; should work:)

Where do I find this? Patterns?

Do I have to install the following packages? “gcc, kernel-source & kernel-syms”?

I try to do make clean and I receive the following error:

No rule to process target clean.

“Where do I find this? Patterns?”
Yast > Software Management > in the Filter, select “Patterns”
then select C/C++ and Kernel Development.

“Do I have to install the following packages? “gcc, kernel-source & kernel-syms”?”
Yes, in the right window of Yast make sure they are installed or ticked for install (while you are doing the above) then “Accept”

“I try to do make clean and I receive the following error:”
You have to be on the same path that you were before when you tried to compile xfprot like:
cd /pathto/xfprot/folderwhereyouwerebefore

Hi,

Thanks for the information. I installed the packages and the command “./configure” goes OK. But them I got an error and had to install “intltool”. I installed and now I got an error in “make” that I don’t know how to identify the problem.

Output for make:

about_window.c:29:21: error: gtk/gtk.h: Arquivo ou diretório não encontrado
In file included from about_window.c:32:
mygtk.h:101: error: expected ‘)’ before ‘*’ token
mygtk.h:103: error: expected ‘)’ before ‘*’ token
mygtk.h:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:109: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:116: error: expected ‘)’ before ‘*’ token
mygtk.h:121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:141: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:151: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:157: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:164: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:170: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:172: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:174: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:176: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:184: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:192: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:198: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:207: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:214: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:216: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:223: error: expected specifier-qualifier-list before ‘GtkWidget’
mygtk.h:238: error: expected declaration specifiers or ‘...’ before ‘GtkFileChooserAction’
mygtk.h:238: error: expected declaration specifiers or ‘...’ before ‘gboolean’
mygtk.h:238: error: expected declaration specifiers or ‘...’ before ‘gboolean’
mygtk.h:240: error: expected declaration specifiers or ‘...’ before ‘GtkFileChooserAction’
mygtk.h:296: error: expected declaration specifiers or ‘...’ before ‘GtkTextBuffer’
mygtk.h:297: error: expected ‘)’ before ‘*’ token
mygtk.h:298: error: expected ‘)’ before ‘*’ token
mygtk.h:304: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:305: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:322: error: expected specifier-qualifier-list before ‘gpointer’
mygtk.h:330: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mygtk.h:344: error: expected specifier-qualifier-list before ‘GtkWidget’
mygtk.h:354: error: expected declaration specifiers or ‘...’ before ‘GtkWidget’
mygtk.h:404: error: expected ‘)’ before ‘*’ token
about_window.c:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
about_window.c:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
about_window.c: In function ‘about_wrap_text’:
about_window.c:41: warning: implicit declaration of function ‘gtk_text_view_set_wrap_mode’
about_window.c:41: warning: implicit declaration of function ‘GTK_TEXT_VIEW’
about_window.c:41: error: ‘about_text’ undeclared (first use in this function)
about_window.c:41: error: (Each undeclared identifier is reported only once
about_window.c:41: error: for each function it appears in.)
about_window.c:42: warning: implicit declaration of function ‘gtk_text_view_get_wrap_mode’
about_window.c:42: error: ‘GTK_WRAP_NONE’ undeclared (first use in this function)
about_window.c:44: error: ‘GTK_WRAP_WORD’ undeclared (first use in this function)
about_window.c: At top level:
about_window.c:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘about_entries’
about_window.c:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘about_check_entries’
about_window.c:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
about_window.c:71: error: ‘about_entries’ undeclared here (not in a function)
about_window.c:71: warning: excess elements in struct initializer
about_window.c:71: warning: (near initialization for ‘about_menu_entries[0]’)
about_window.c:71: warning: excess elements in struct initializer
about_window.c:71: warning: (near initialization for ‘about_menu_entries[0]’)
about_window.c:71: warning: excess elements in struct initializer
about_window.c:71: warning: (near initialization for ‘about_menu_entries[0]’)
about_window.c:71: warning: implicit declaration of function ‘G_N_ELEMENTS’
about_window.c:71: warning: excess elements in struct initializer
about_window.c:71: warning: (near initialization for ‘about_menu_entries[0]’)
about_window.c:71: warning: excess elements in struct initializer
about_window.c:71: warning: (near initialization for ‘about_menu_entries[0]’)
about_window.c:71: warning: excess elements in struct initializer
about_window.c:71: warning: (near initialization for ‘about_menu_entries[0]’)

Sorry. Below is the rest of the error. I couldn’t put in the same post because of a limitation in the forum of 10000 characters.

about_window.c:72: warning: excess elements in struct initializer
about_window.c:72: warning: (near initialization for ‘about_menu_entries[1]’)
about_window.c:72: error: ‘about_check_entries’ undeclared here (not in a function)
about_window.c:72: warning: excess elements in struct initializer
about_window.c:72: warning: (near initialization for ‘about_menu_entries[1]’)
about_window.c:72: warning: excess elements in struct initializer
about_window.c:72: warning: (near initialization for ‘about_menu_entries[1]’)
about_window.c:72: warning: excess elements in struct initializer
about_window.c:72: warning: (near initialization for ‘about_menu_entries[1]’)
about_window.c:72: warning: excess elements in struct initializer
about_window.c:72: warning: (near initialization for ‘about_menu_entries[1]’)
about_window.c:72: warning: excess elements in struct initializer
about_window.c:72: warning: (near initialization for ‘about_menu_entries[1]’)
about_window.c:73: warning: excess elements in struct initializer
about_window.c:73: warning: (near initialization for ‘about_menu_entries[2]’)
about_window.c:73: warning: excess elements in struct initializer
about_window.c:73: warning: (near initialization for ‘about_menu_entries[2]’)
about_window.c:73: warning: excess elements in struct initializer
about_window.c:73: warning: (near initialization for ‘about_menu_entries[2]’)
about_window.c:73: warning: excess elements in struct initializer
about_window.c:73: warning: (near initialization for ‘about_menu_entries[2]’)
about_window.c:73: warning: excess elements in struct initializer
about_window.c:73: warning: (near initialization for ‘about_menu_entries[2]’)
about_window.c:73: warning: excess elements in struct initializer
about_window.c:73: warning: (near initialization for ‘about_menu_entries[2]’)
about_window.c:77: error: expected ‘)’ before ‘*’ token
about_window.c: In function ‘about_quit’:
about_window.c:90: warning: implicit declaration of function ‘gtk_main_quit’
about_window.c:91: warning: implicit declaration of function ‘gtk_widget_destroy’
about_window.c:91: error: ‘about_window’ undeclared (first use in this function)
about_window.c: In function ‘about_window_create’:
about_window.c:96: error: ‘GtkWidget’ undeclared (first use in this function)
about_window.c:96: error: ‘menubar’ undeclared (first use in this function)
about_window.c:97: error: ‘table’ undeclared (first use in this function)
about_window.c:98: error: ‘frame’ undeclared (first use in this function)
about_window.c:99: error: ‘label’ undeclared (first use in this function)
about_window.c:100: error: ‘bbox’ undeclared (first use in this function)
about_window.c:101: error: ‘check_button’ undeclared (first use in this function)
about_window.c:102: error: ‘button’ undeclared (first use in this function)
about_window.c:112: error: ‘about_window’ undeclared (first use in this function)
about_window.c:112: warning: implicit declaration of function ‘window_create’
about_window.c:113: warning: implicit declaration of function ‘gtk_window_set_position’
about_window.c:113: warning: implicit declaration of function ‘GTK_WINDOW’
about_window.c:113: error: ‘GTK_WIN_POS_CENTER’ undeclared (first use in this function)
about_window.c:114: warning: implicit declaration of function ‘table_create’
about_window.c:115: warning: implicit declaration of function ‘main_menu_create’
about_window.c:115: warning: implicit declaration of function ‘GTK_WIDGET’
about_window.c:115: error: ‘about_ui_info’ undeclared (first use in this function)
about_window.c:116: warning: implicit declaration of function ‘gtk_table_attach_defaults’
about_window.c:116: warning: implicit declaration of function ‘GTK_TABLE’
about_window.c:117: warning: implicit declaration of function ‘frame_create_on_table’
about_window.c:119: warning: implicit declaration of function ‘g_markup_printf_escaped’
about_window.c:125: warning: assignment makes pointer from integer without a cast
about_window.c:126: warning: implicit declaration of function ‘gtk_label_new’
about_window.c:127: warning: implicit declaration of function ‘gtk_label_set_markup’
about_window.c:127: warning: implicit declaration of function ‘GTK_LABEL’
about_window.c:129: warning: implicit declaration of function ‘label_create’
about_window.c:131: warning: implicit declaration of function ‘gtk_label_set_justify’
about_window.c:131: error: ‘GTK_JUSTIFY_CENTER’ undeclared (first use in this function)
about_window.c:132: warning: implicit declaration of function ‘gtk_container_add’
about_window.c:132: warning: implicit declaration of function ‘GTK_CONTAINER’
about_window.c:133: error: ‘about_text’ undeclared (first use in this function)
about_window.c:133: warning: implicit declaration of function ‘textpad_create_on_table’
about_window.c:134: warning: implicit declaration of function ‘default_button_box_create_on_table’
about_window.c:135: warning: implicit declaration of function ‘button_create_in_container’
about_window.c:135: error: ‘GTK_STOCK_OK’ undeclared (first use in this function)
about_window.c:138: warning: implicit declaration of function ‘check_create_on_table’
about_window.c:139: warning: implicit declaration of function ‘G_CALLBACK’
about_window.c:139: error: ‘license_callback’ undeclared (first use in this function)
about_window.c:143: warning: implicit declaration of function ‘gtk_widget_show_all’
about_window.c:147: warning: implicit declaration of function ‘read_from_stream_and_display_text’
about_window.c:151: warning: implicit declaration of function ‘main_loop’
make[2]: ** [xfprot-about_window.o] Erro 1
make[1]: ** [all] Erro 2
make: ** [all-recursive] Erro 1

Those are basically all the same error, i.e., “about_window.c” which is a file somewhere in that xfprot folder.

I did the compile just to see:
& I too had to install “intltool”.

But, 1st, I installed fprot in /opt, copied it there with filemanager superuser mode & installed it in a terminal as root. (as xfprot is the GUI for it, I figured it needed to be installed 1st.

I cd(ed) to the xfprot folder & as root did
./configure
make
checkinstall – to build a rpm; but, it had problems with the “man” pages’ folders, so I just did:
“make install” and all went well.

I made a link to application on the desktop
click on the generic icon & go to the xfprot folder & replace it with one of the xfprot icons and

Ta Da there’s fprot & xfprot at my beck&call.

again being you have been messing with it:
cd /pathto/xfprot & as root
“make clean”
start over

Should work;)

My make clean never works. And I did inside the respective folder!

Anyway my fprot is already install, since the beginning.

I tried to put the xprot folder inside /opt but still, the same error.

I also tried to use the RPM available in the Xprot website, but is not working. I guess is only for Fedora. In the middle of the installation the YaST just close without any message.

Any others ideas? I’m stuck!

Hi! :smiley:

It works!

Sorry. But I just try to run xfprot and its already installed!
When I try the RPM and YaST just close without any message, Xfprot was successful installed.
I don’t know why. But I get this problem sometimes, and when YaST close in the middle of the installation is because nothing works. But this time…

Well, that’s explain why I was not successful to install via tar ball.

Sorry for my stupidness.

Thanks for the help!