?

Log in

No account? Create an account
Help? - LogJam [entries|archive|friends|userinfo]
LogJam

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

Help? [Jan. 31st, 2004|02:57 pm]
LogJam

logjam

[azture]
[Current Mood |confusedconfused]

Okay, I'm the biggest idiot in the world.

Now that that's out of the way, would anyone care to explain to me if LogJam works in Mandrake 9.2? And if it does, how would I go about installing it?

I'm still getting used to Linux, and I have no idea what I'm doing at all. Any help at all would be appreciated.
LinkReply

Comments:
[User Picture]From: fox2mike
2004-01-31 09:06 pm (UTC)
Did you try compiling it from source ?
(Reply) (Thread)
[User Picture]From: azture
2004-01-31 10:18 pm (UTC)

Re:

See, I'm such and idiot that I don't know how to do that. Or what that entails at all.
(Reply) (Parent) (Thread)
[User Picture]From: fox2mike
2004-02-01 12:45 am (UTC)

Re: Compiling from Source

Well, not an Idiot... a newbie.

Anyway I'll try my best to be clear & simple. (Enter) implies you hit the Enter/Return key

1) Download LogJam from http://logjam.danga.com/download/logjam-4.2.4.tar.gz
2) Go to a command prompt/the shell & extract the contents of logjam-4.2.4.tar.gz by doing a tar zxvf logjam-4.2.4.tar.gz(Enter)
3) cd into the newly extracted directory. In this case cd logjam-4.2.4(Enter)
4) type ./configure(Enter) You'll see a series of self checks being done.
5) Once that is complete, type make(Enter). You'll see LogJam compiling.
6) For the next step, you need be root, so type su(Enter). You'll see a prompt for your password, enter your root password & (Enter).
7) You will be in the same directory, but as root now. Type make install(Enter). This step will install LogJam.
8) Try it out. Type logjam in a shell/command prompt & LogJam should start up.

(Reply) (Parent) (Thread)
[User Picture]From: azture
2004-02-01 10:11 pm (UTC)

Re: Compiling from Source

Okay, after I type ./configure, I get this error:

*** The pkg-config script could not be found. Make su
re it is
*** in your path, or set the PKG_CONFIG environment v
ariable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgcon
fig to get pkg-config.
*** The pkg-config script could not be found. Make su
re it is
*** in your path, or set the PKG_CONFIG environment v
ariable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgcon
fig to get pkg-config.
*** The pkg-config script could not be found. Make su
re it is
*** in your path, or set the PKG_CONFIG environment v
ariable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgcon
fig to get pkg-config.
*** The pkg-config script could not be found. Make su re it is
*** in your path, or set the PKG_CONFIG environment v ariable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgcon fig to get pkg-config.
configure: error: Library requirements (gtk+-2.0 gmod ule-2.0 libxml-2.0) not met; consider adjusting the P KG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find t hem.

It repeated itself just like that. And when I type in make it says: make: *** No targets specified and no makefile found. Stop.

Did I do something wrong?
(Reply) (Parent) (Thread)
[User Picture]From: redgreenblue
2004-02-01 11:16 pm (UTC)

Re: Compiling from Source

First, make sure you're running as root. Certain environment variables seem to be missing when running as a normal user, which might explain some of your trouble.

Second, you're missing a number of necessary packages. First, you'll probably need libgtk+2.0_0-devel, libglib2.0_0-devel, and libxml2-devel, libcurl2-devel, and libgtkspell0-devel. You can install any of these packages using Mandrake's urpmi command. Have your Mandrake install discs ready, then to install the packages:

urpmi <packagename>

Repeat as necessary until you have everything you need. The program will attempt to resolve dependencies; let it. (You really don't want to try that yourself, trust me.)

If you want all the fancy features, you'll also want to grab libgtkhtml-3.0_2-devel, librsvg2_2-devel, and xmms-devel.

Once all these are installed, try running ./configure again. You'll likely have better luck. Don't run make just yet--read the summary at the end first. Should you require anything else, it should tell you there. Note that all the packages I mention have the -devel suffix. If you're told that you need a certain library, just append -devel to the end of the name and pass it to urpmi.

Once you do the make and make install, then you can run logjam. (Make sure to do that under your user account, not root.) You'll get an error on first launch. Don't worry about it. Just quit the program and relaunch it, and the error shouldn't appear again. Enter your LJ user information and have fun. :-)

Don't worry, I'm a newbie too. We've all been there...feel free to ask for help when you need it.

On a more general note: I'm thinking someone really needs to write an installation FAQ. I might just do that myself, but I'm going to need some help (especially with regards to distros besides Red Hat, Fedora, and Mandrake). Any takers?
(Reply) (Parent) (Thread)
[User Picture]From: fox2mike
2004-02-01 11:44 pm (UTC)

Re: Compiling from Source

I could do the Gentoo one, but thats very simple. And I could help you out with the RedHat/Fedora ones.
(Reply) (Parent) (Thread)
[User Picture]From: redgreenblue
2004-02-02 11:18 pm (UTC)

Re: Compiling from Source

Rockin'! I'll probably have a first draft of the Mandrake one up here sometime this weekend.
(Reply) (Parent) (Thread)
[User Picture]From: fox2mike
2004-02-03 09:18 am (UTC)

Re: Compiling from Source

Fine. Gentoo one is almost ready lol, there's just one command & that does everything for you.
(Reply) (Parent) (Thread)
[User Picture]From: azture
2004-02-02 05:06 pm (UTC)

Re: Compiling from Source

Thank you so much! Everything seems to be working beautifully now.
(Reply) (Parent) (Thread)
[User Picture]From: redgreenblue
2004-02-01 11:20 pm (UTC)

Re: Compiling from Source

I often find it helpful to be root, starting after I untar the sources. In Mandrake at least, the PKG_CONFIG environment variables aren't always set while running as a normal user.
(Reply) (Parent) (Thread)
[User Picture]From: davidology
2004-02-05 02:14 am (UTC)

Xandros?

Does LogJam run under Xandros? I thought I managed to successfully compile it, but when I try to run it, I get:

logjam: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

System shows that libssl-dev and libssl0.9.7 are installed
(Reply) (Parent) (Thread)
[User Picture]From: fox2mike
2004-02-05 12:17 pm (UTC)

Re: Xandros?

Try doing an ldconfig & see if that solves this error. Since Xandros is based on Debian, check out if there are Debain packages for LogJam & install those.
(Reply) (Parent) (Thread)