zibi1981 Posted October 14, 2007 Report Share Posted October 14, 2007 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) 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? Quote Link to comment Share on other sites More sharing options...
scoonma Posted October 15, 2007 Report Share Posted October 15, 2007 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 Quote Link to comment Share on other sites More sharing options...
zibi1981 Posted October 15, 2007 Author Report Share Posted October 15, 2007 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 Quote Link to comment Share on other sites More sharing options...
scoonma Posted October 16, 2007 Report Share Posted October 16, 2007 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 Quote Link to comment Share on other sites More sharing options...
zibi1981 Posted October 19, 2007 Author Report Share Posted October 19, 2007 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. Quote Link to comment Share on other sites More sharing options...
Greg2 Posted October 19, 2007 Report Share Posted October 19, 2007 Where can I find this logfile? If you ran ./configure, there should be a 'config.log' in the same directory that you ran it in. Quote Link to comment Share on other sites More sharing options...
zibi1981 Posted October 20, 2007 Author Report Share Posted October 20, 2007 You can get the whole config.log file below. Here is what I found in it about paths. PATH: /usr/bin PATH: /bin PATH: /usr/local/bin PATH: /usr/X11R6/bin/ PATH: /usr/games PATH: /usr/lib/qt3//bin PATH: /home/zibi1981/bin PATH: /usr/lib/qt3//bin config.log.tar.gz Quote Link to comment Share on other sites More sharing options...
scoonma Posted October 20, 2007 Report Share Posted October 20, 2007 (edited) Did you install the automake package? EDIT: Please also do a "urpmi libjpeg62" if needed. Edited October 20, 2007 by scoonma Quote Link to comment Share on other sites More sharing options...
zibi1981 Posted October 22, 2007 Author Report Share Posted October 22, 2007 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 Quote Link to comment Share on other sites More sharing options...
scoonma Posted October 23, 2007 Report Share Posted October 23, 2007 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. Quote Link to comment Share on other sites More sharing options...
zibi1981 Posted October 25, 2007 Author Report Share Posted October 25, 2007 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 Quote Link to comment Share on other sites More sharing options...
scoonma Posted October 25, 2007 Report Share Posted October 25, 2007 Should I add /usr/lib/kde3 to /etc/ld.so.conf? That does make sense to me. Afterwards, invoke "ldconfig" (no parameters) as root and try compiling (without --prefix...) --> KMyFirewall should install to /usr/local, which is better in case something fails. Quote Link to comment Share on other sites More sharing options...
zibi1981 Posted October 25, 2007 Author Report Share Posted October 25, 2007 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: Quote Link to comment Share on other sites More sharing options...
scoonma Posted October 26, 2007 Report Share Posted October 26, 2007 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! Quote Link to comment Share on other sites More sharing options...
zibi1981 Posted November 1, 2007 Author Report Share Posted November 1, 2007 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.