?

Log in

No account? Create an account
Installing LogJam on Fedora Core 2 - LogJam [entries|archive|friends|userinfo]
LogJam

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Installing LogJam on Fedora Core 2 [Jun. 25th, 2005|09:23 am]
LogJam

logjam

[cparker]
I recently installed Fedora Core 2 on my machine, and I'd like to have a LiveJournal client on it. My client of choice is LogJam.

I went through the first step of the install process--./configure--and I have some interesting results:
logjam 4.4.1 build configuration:
 
    - Using GTK: yes
      - Using GtkSpell: no
      - Using GtkHTML: no
      - Using librsvg: yes
      - Use docklet ("tray icon"): yes
    - Using networking backend: curl
    - Build XMMS helper: no


However, I have gtkspell, gtkhtml and XMMS installed on the machine. The README file doesn't mention anything about any flags or anything to give to ./configure, so I'm at a loss.

Running yum install gtkspell and yum install gtkhtml gives me the following message:
Gathering header information file(s) from server(s)
Server: (fedora.lsu.edu)Fedora Linux 2 - i386 - Base
Server: (fedora.lsu.edu)Fedora Linux 2 - Updates
Finding updated packages
Downloading needed headers
[gtkspell|gtkhtml] is installed and is the latest version.
No actions to take


Any ideas? How do I enable GtkSpell, GtkHTML, and the XMMS helper?

Thanks!
LinkReply

Comments:
[User Picture]From: featheredfrog
2005-06-25 01:56 pm (UTC)
make sure you have the "-devel" packages as well as the libraries. The -devel packages provide the header files you need to re-compile logjam.

(Reply) (Thread)
[User Picture]From: cparker
2005-06-25 06:34 pm (UTC)
Thank you for your help! I installed the three -devel packages via yum (couldn't find them in the Fedora Core "Add/Remove Applications" list) and everything's all set!

Thanks again!
(Reply) (Parent) (Thread)
[User Picture]From: featheredfrog
2005-06-25 07:08 pm (UTC)
I solved this problem a couple of weeks ago, as noted here in an earlier entry.
(Reply) (Parent) (Thread)
[User Picture]From: k001
2005-06-25 04:06 pm (UTC)
If you'd use logjam srpm from http://kir.vtx.ru/logjam/ it'd clearly tell you that your system misses gtkspell-devel and gtkhtml3-devel.
(Reply) (Thread)
[User Picture]From: cparker
2005-06-25 06:32 pm (UTC)
Thank you. :)

I ran yum install gtkspell-devel, yum install gtkhtml3-devel and yum install xmms-devel, then re-./configure'd, and I get the following:

logjam 4.4.1 build configuration:
 
    - Using GTK: yes
      - Using GtkSpell: yes
      - Using GtkHTML: yes
      - Using librsvg: yes
      - Use docklet ("tray icon"): yes
    - Using networking backend: curl
    - Build XMMS helper: yes


Thanks again!
(Reply) (Parent) (Thread)
[User Picture]From: k001
2005-06-25 10:16 pm (UTC)
Now you drop logjam sources and just run something like:

wget http://kir.vtx.ru/logjam/4.4.1-2/logjam-4.4.1-2.src.rpm
rpmbuild -bb logjam-4.4.1-2.src.rpm
rpm -ihv /some/path/to/logjam-4.4.1-2.i386.rpm

to install it from sources, but as an RPM!
:)
(Reply) (Parent) (Thread)
[User Picture]From: cparker
2005-06-26 03:29 am (UTC)
# rpmbuild -bb logjam-4.4.1-2.src.rpm
error: File /home/cparker/downloads/logjam-4.4.1-2.src.rpm does not appear to be a specfile.
(Reply) (Parent) (Thread)
[User Picture]From: k001
2005-06-26 12:58 pm (UTC)
Oops, sorry, I meant rpmbuild --rebuild
(Reply) (Parent) (Thread)
[User Picture]From: cparker
2005-06-26 01:36 pm (UTC)
Great! LogJam still seems to work. All of my settings have been preserved (I'm still calling logjam from the command line).

I did the rpm -ihv for the three RPMs that the rpm --rebuild process created: logjam, logjam-xmms, and logjam-debug (or something like that).

However, now, what I don't get, is what is the benefit of having logjam installed via RPM? Will it be easier to upgrade/update in the future? Will it show up in my package management interface?
(Reply) (Parent) (Thread)
[User Picture]From: k001
2005-06-26 07:19 pm (UTC)
Easier to upgrade, ability to uninstall, your package manager knows about it so t won't uninstall package needed by logjam, you can verify package files (rpm -V logjam) etc.

logjam-debug package is usually not needed and is taking some space so you can safely uninstall it. It's needed only in the case you have, say, segmentation fault from logjam or something and want to produce meaningful backtrace to send in a bug report.
(Reply) (Parent) (Thread)
[User Picture]From: k001
2005-06-27 10:47 am (UTC)
Yet another reason of taking my rpm is you can use lj tags from logjam! Get package from the usual place, rebuild and enjoy. ;)
(Reply) (Parent) (Thread)
[User Picture]From: cparker
2005-06-28 08:23 pm (UTC)
Hmmm...
# rpm -ihv /usr/src/redhat/RPMS/i386/logjam-4.4.1-4.i386.rpm
Preparing... ########################################### [100%] file /usr/bin/logjam from install of logjam-4.4.1-4 conflicts with file from package logjam-4.4.1-2
Is there a different method I need to use for upgrading packages?
(Reply) (Parent) (Thread)
[User Picture]From: k001
2005-06-29 01:48 am (UTC)
Yep; use rpm -Uhv, where U stands for upgrade.
(Reply) (Parent) (Thread)
[User Picture]From: cparker
2005-06-28 08:13 pm (UTC)
Hello,

How did you go about creating that SRPM? I'd like to create an SRPM and/or RPM for an XMMS plugin. Is there a good tutorial anywhere that I'd be able to use for guidance, having minimal experience with the RPM system?

Thanks!
(Reply) (Parent) (Thread)
[User Picture]From: k001
2005-06-29 01:47 am (UTC)
Well, basically all you need to do is write a .spec file. The process is sparsely documented in Maximum RPM book (see http://rpm.org/); there are also tons of examples in form of .spec files of existing packages.
(Reply) (Parent) (Thread)