Jump to content

installing jedit


aze
 Share

Recommended Posts

ooohh...ok, i wasn't sure since the topic said gedit and the post said jedit.

 

with a .src.rpm you have to rebuild it, although I'm not sure how to do that. doing a search in this forum for "rebuilding src rpms" or the like may turn up an answer.

Link to comment
Share on other sites

with src.rpms you need to rebuild them

as root:

rpm --rebuild filename.src.rpm

this will go through and *configure* the app for your machine

 

you will end up with a rpm in /usr/src/RPM/RPMS/i*86

it depends on what type of machine you have ..... mine get put in i586 directory at home, and in i386 at work

 

then you can install the app

urpmi /usr/src/RPM/RPMS/i586/filename.rpm

Link to comment
Share on other sites

I tried as su

rpmbuild --rebuild jedit-4.0.3-1.src.rpm

rpm --rebuild jedit-4.0.3-1.src.rpm

But both of them showed the foolowing message after print lots of lines on console:

error: Bad exit status from /var/tmp/rpm-tmp.50491 (%build)

why rpms are so complicated?

could be simply:

./configure

make

make install

Link to comment
Share on other sites

Can you post the entire output after the rpmbuild --rebuild command?

 

IMO, rpms are far less complicated and easier to build from source. It's usually a matter of having the right (exactly) version of an rpm though. Resolving the deps is the hardest part, which is why there's urpmi. It just has a little learning curve, but you get use to it and will get to where you won't use a tarball unless you absolutely have to.

Link to comment
Share on other sites

I downloaded jedit-4.0.3-1.src.rpm but I don't know how to install it.  :oops:  

I double click it and it says it is already installed but I can't see it anywhere

BTW the .jar pack is not for linux, isn't it?

 

First, you will want to download the rpm and not the src.rpm file. jedit is written entirely in java and, therefore, should not need to be rebuilt for your computer.

 

Second, if it is already installed, try opening a konsole and typing in

 

$ jedit &

 

If jedit is installed, this will run the program

 

Third, in order for jedit to properly run, you need to have hava installed on your system and properly configured -- ie the JAVA_HOME environment variable setup.

 

Forth, .jar files are java files and can be used on any system that supports the java runtime environment.

 

BTW, jedit is an excellent editor and almost borders on a full IDE once all the plugins are installed. I use it all the time.

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...