LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-17-2005, 05:59 AM   #1
rangalo
Member
 
Registered: Jan 2005
Posts: 189

Rep: Reputation: 30
not able to install emelFM


Hi,

I am trying to install emelfm-0.9.2. I installed to source and also cheked that I have gtk+1.2

which is the major dependency for it.. but when I tried to make it i received following errors. Has anybody buit emelfm for slackware ? i m usign slackware 10.2


Code:
gcc -O2 -Wall -fPIC -DPIC `gtk-config --cflags`  -DENABLE_NLS -DLOCALEDIR=\"/usr/local/share/locale\" -o unpack.so unpack.c `gtk-config --libs` `glib-config --libs gthread` -shared
make[1]: Leaving directory `/home/hardik/dl/soft/emelfm-0.9.2/plugins'
[ -z -DENABLE_NLS ] || (cd po; make)
make[1]: Entering directory `/home/hardik/dl/soft/emelfm-0.9.2/po'
for i in `ls *.po`; do \
        msgfmt -o `echo $i | sed -e s/.po//`.gmo $i; \
done
cs.po:709: `msgid' and `msgstr' entries do not both end with '\n'
cs.po:779: `msgid' and `msgstr' entries do not both end with '\n'
msgfmt: found 2 fatal errors
make[1]: Leaving directory `/home/hardik/dl/soft/emelfm-0.9.2/po'
and another general question. I am facing such problems when I try to install any new softwaer on slackware, even if I follow the readme instructions and check for all the dependencies. Is there any other way to install software painlessly on this box ?


thanks.

Hardik.
 
Old 11-17-2005, 06:55 AM   #2
rangalo
Member
 
Registered: Jan 2005
Posts: 189

Original Poster
Rep: Reputation: 30
ok, some more info.. the emelfm exe is created, but when I try to run it says unable to generate display or something in that sense..


..
Hardik.
 
Old 11-17-2005, 09:24 AM   #3
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
"Or something in that sense" is not very descriptive
Maybe you're running X under your user account and you're trying to run the program with root (which you probably used to compile) in that X server.
 
Old 11-17-2005, 09:58 AM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
---------------
make[1]: Entering directory ` '
for i in `ls *.po`; do \
msgfmt -o `echo $i | sed -e s/.po//`.gmo $i; \
done
cs.po:709: `msgid' and `msgstr' entries do not both end with '\n'
cs.po:779: `msgid' and `msgstr' entries do not both end with '\n'
msgfmt: found 2 fatal errors
---------------------

those " .po " files are translations.

you can just open the file " /home/hardik/dl/soft/emelfm-0.9.2/po/cs.po "
in an editor and take a look at lines 709 and 779

there are all sets of two lines like
----------
msgid "Number of files in folder '%s': %i\n"
msgstr "Počet souborů v adresá™i '%s': %i\n"
----------

if one ends with " \n " and the other not, that's an error.
so you probably only have to add ( or remove ) a " \n " at the end of those lines ( 709 and 779 )

save the file and then try again.

also for Slackware packages you can take a look at www.linuxpackages.net.
as an alternative for compiling from source.
though i prefer compiling from source.

egag
 
Old 11-17-2005, 10:11 AM   #5
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
you can disable the Internationalization if you edit Makefile.common. It doesn't effect emelFM if you always run it in english.
 
Old 11-17-2005, 01:09 PM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
./configure --prefix=/usr --disable-nls should do it.
Since slack uses very up-to-date GCC, you'll have problems compiling some older software.
 
Old 11-18-2005, 04:41 AM   #7
rangalo
Member
 
Registered: Jan 2005
Posts: 189

Original Poster
Rep: Reputation: 30
Hallo,

thanks for ur answers

now it is working ...

Quote:
"Or something in that sense" is not very descriptive
Maybe you're running X under your user account and you're trying to run the program with root (which you probably used to compile) in that X server.
this was the problem


but the general question still remails, is there any way to install things without facing such errors at all !!!

Hardik.
 
Old 11-18-2005, 03:10 PM   #8
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
Sure, if you want to take the time to fix it. That is what open source is all about.
 
Old 01-15-2012, 10:12 AM   #9
bmike1
Member
 
Registered: Jul 2003
Posts: 133

Rep: Reputation: 15
I know this is a very OLD thread but....

I downloaded emelfm and unpacked it with tar. Ran make and make install. Now.... I know this is a stupid question but: How do I start it? I can't find anything to start it.....

I just realized something that might be a problem. I didn't run ./configure. But when I tried to I notice there is no configure file, only a makefile. hmmmm..... don't know what to do.

Just noticed something... I ran make again and it was saying
Code:
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package gthread-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gthread-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gthread-2.0' found
generating 'objs/src/e2_task_backend.deps'
it seems I don't have gtk+-2.0 and synaptic doesn't have a gtk+ listed as available for install.... hmmmmm.

Last edited by bmike1; 01-15-2012 at 11:06 AM.
 
Old 01-15-2012, 11:06 AM   #10
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,110

Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
maybe should be easier making a package from Chess Griffin's slackbuild for emelfm2 (the original emelfm is unmaintained).

http://slackbuilds.org/repository/13.37/system/emelfm2/
 
Old 01-18-2012, 11:37 PM   #11
bmike1
Member
 
Registered: Jul 2003
Posts: 133

Rep: Reputation: 15
Which file should I put gtk+ in to make it accessible to any program that might need it? /bin? /usr?
Is there any way to apt-get it?

Last edited by bmike1; 01-18-2012 at 11:50 PM.
 
Old 01-19-2012, 07:55 AM   #12
bobzilla
Member
 
Registered: Nov 2005
Location: Serbia
Distribution: Slackware
Posts: 231

Rep: Reputation: Disabled
@bmike1: is your question Ubuntu related? If it is, you got the wrong forum.

Last edited by bobzilla; 01-19-2012 at 07:56 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fc3 install doesnt install grub properly onto sata drive sabo Linux - Newbie 4 02-03-2007 04:04 PM
make install does not install daemons (clamd snortd). Is this a feature of tarball? Emmanuel_uk Linux - Newbie 3 11-15-2005 01:29 AM
Error: Unable to boot /install/2.6/linux when starting Etch Install BuckRogers01 Debian 4 08-06-2005 06:40 PM
How do I re-install an operatingsystem? Corrupted install. Yast wont load. URGENT.thx CrewXp SUSE / openSUSE 5 05-09-2005 12:07 AM
Ok, dumb question. If I install a Mandrake kernel RPM, where does it install to? Kramer Linux - General 6 01-13-2004 09:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration