Jump to content

Problem with KMyFirewall configuration


zibi1981
 Share

Recommended Posts

I compiled KMyFirewall 1.0.1 from sources without probs. Now I have them with configuring it. The problem is all options are inactive (I run it as root)

 

22bde75cabe2c13dm.png

 

I didn't have such problems in 2007.1.

The other thing is that once I exported my setting with File -> Export.. -> Export as IPTables (Linux) Script and now just don't know how to import them.

 

What am I doing wrong?

Link to comment
Share on other sites

Hi zibi,

 

did you pass on your kde install path when compiling?

 

(http://magrathea.dnsalias.net/~hubinger/kmf/kmf_doc/compilation.html)

 

Besides from that, I would check which config files the app is using and where they reside. This can be checked by "urpmq -vil kmyfirewall". Defaults seem to lie in /usr/share.

 

So if you're finding the corresponding filenames within your user dir from a previous installation, you should be able to go ahead.

 

 

HTH,

 

scoonma

Link to comment
Share on other sites

Hi there scoonma :)

 

1. No, I did not pass those paths while compiling, but I think that configuration script guessed them correctly as there were no errors during compilation.

 

2. What should I do with this?

 

[root@localhost zibi1981]# urpmq -vil kmyfirewall
getting lock on urpmi
sprawdzanie pliku syntezy [/var/lib/urpmi/synthesis.hdlist.plf-free.cz]
sprawdzanie pliku syntezy [/var/lib/urpmi/synthesis.hdlist.plf-nonfree.cz]
sprawdzanie pliku syntezy [/var/lib/urpmi/synthesis.hdlist.main.cz]
sprawdzanie pliku syntezy [/var/lib/urpmi/synthesis.hdlist.contrib.cz]
sprawdzanie pliku syntezy [/var/lib/urpmi/synthesis.hdlist.non-free.cz]
sprawdzanie pliku syntezy [/var/lib/urpmi/synthesis.hdlist.main_updates.cz]
sprawdzanie pliku syntezy [/var/lib/urpmi/synthesis.hdlist.contrib_updates.cz]
sprawdzanie pliku syntezy [/var/lib/urpmi/synthesis.hdlist.non-free_updates.cz]
brak pliku hdlist dla no?nika contrib, uzyskano cz??ciowe wyniki dla pakietu kmyfirewall
Name		: kmyfirewall
Version	 : 1.0.1
Release	 : 1mdv2007.1
Group	   : System/Configuration/Networking
Size		: 587210					   Architecture: i586
Summary	 : IPTables-based firewall configuration tool for the KDE
unlocking urpmi database

Link to comment
Share on other sites

1. No, I did not pass those paths while compiling, but I think that configuration script guessed them correctly as there were no errors during compilation.

 

Hm. Then at least I'd check if the config script set the path correctly from it's logfile. Qt-path may not be a problem, but I kde could be different (default values vs. user values for apps). Besides that, it's from the docs page of KMyFirewall!

 

2. What should I do with this?

 

[root@localhost zibi1981]# urpmq -vil kmyfirewall
getting lock on urpmi
[...]

 

Ah! You'll only see the full list of files (due to the -l option) if you installed not the synthesis, but the full hdlist.cz from repositories.

 

HTH,

 

scoonma

Link to comment
Share on other sites

Hm. Then at least I'd check if the config script set the path correctly from it's logfile. Qt-path may not be a problem, but I kde could be different (default values vs. user values for apps). Besides that, it's from the docs page of KMyFirewall!

 

Where can I find this logfile? I've searched whole KMyFirewall directory (the one in which I compiled it), but just couldn't find it.

Link to comment
Share on other sites

Already have them both as You can see below.

 

[zibi1981@localhost ~]$ rpm -qa | grep automake
automake-1.10-2mdv2008.0
[zibi1981@localhost ~]$ rpm -qa | grep libjpeg62
libjpeg62-6b-41mdv2008.0
libjpeg62-devel-6b-41mdv2008.0

Link to comment
Share on other sites

Already have them both as You can see below.

 

Good. Please inspect the contents of this file:

 

/etc/ld.so.conf

 

and the contents of the directory

 

/etc/ld.so.conf.d/

 

If there's no KDE library path reference in one of these, you may have to provide that information at compile time using the option mentioned above explicitly (try /usr/lib/kde3 first). Also check wether you've installed all -devel type packages possibly needed for your KDE version. Another potential source of problems I could think of is a possible version conflict or mismatch due to KDE 3.x / 4.x. Mandriva 2008 offers both of them.

Link to comment
Share on other sites

Content of /etc/ld.so.conf:

 

include ld.so.conf.d/*.conf
/usr/X11R6/lib
/usr/lib/qt3/lib

 

/etc/ld.so.conf.d/ is a folder in which I found

 

[zibi1981@localhost ld.so.conf.d]$ ls -al
razem 24
drwxr-xr-x  3 root root 4096 2007-10-13 22:15 ./
drwxr-xr-x 86 root root 8192 2007-10-25 09:21 ../
drwxr-xr-x  2 root root 4096 2007-10-13 12:12 GL/
lrwxrwxrwx  1 root root   25 2007-10-13 12:12 GL.conf -> /etc/alternatives/gl_conf
-rw-r--r--  1 root root   18 2007-09-07 23:59 graphviz.conf
-rw-r--r--  1 root root   17 2007-09-16 07:50 qt4.conf

 

Should I add /usr/lib/kde3 to /etc/ld.so.conf?

 

I passed on the path to KDE and got this

 

[root@localhost kmyfirewall-1.0.1]# ./configure --prefix=/usr/lib/kde3
(...)
Warning: you chose to install this package in /usr/lib/kde3,
but KDE was found in /usr.
For this to work, you will need to tell KDE about the new prefix, by ensuring
that KDEDIRS contains it, e.g. export KDEDIRS=/usr/lib/kde3:/usr
Then restart KDE.


Good - your configure finished. Start make now

Link to comment
Share on other sites

I did that and KMyFirewall installed to

 

[zibi1981@localhost kmyfirewall-1.0.1]$ whereis kmyfirewall
kmyfirewall: /usr/bin/kmyfirewall /usr/include/kmyfirewall

 

Unfortunately still nothing. The options are inactive as they were before :sad:

Link to comment
Share on other sites

Unfortunately still nothing. The options are inactive as they were before :sad:

 

Okay, last chance? The configure program said kde is installed to /usr, most normal user generated installations (i.e. without giving params to ./configure) go into /usr/local. So you could (as normal user!) do a

./configure --prefix=/usr

to insure KMyFirewall will go into the normal KDE tree, afterwards "make" (as normal user again!) and finally "make install" as root.

 

Good luck!

Link to comment
Share on other sites

O.K., did as you suggested, but nothing has changed. KMyFirewall is still in the same place, so what was the point here?

 

[zibi1981@localhost kmyfirewall-1.0.1]$ whereis kmyfirewall
kmyfirewall: /usr/bin/kmyfirewall /usr/include/kmyfirewall

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...