Re: Fwd: no config file :(

  • From: tpgww@xxxxxxxxxxx
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Sat, 21 Jan 2006 09:00:39 +1100

On Fri, 20 Jan 2006 18:35:20 +0100
charly Ghislain <charlyghislain@xxxxxxxxx> wrote:

> Hi
> 
> I was using the Arch Linux package. I have tried to compile sources, but 
> result is the same... :(
> Im now using arch package again for facility (since the sources doesnt
> have a configure script, it will take more than 5 min for me to write a
> PKGBUILD ;)
In lieu of a 'configure' step, several configuration parameters may be supplied 
directly to 'make'. So I guess that at a minimum, a PKGBUILD would look 
something like this:

pkgname=emelfm2
pkgver=0.1.4
pkgrel=1
pkgdesc="A file manager for UNIX-like operating systems"
url="http://emelfm2.net";
license="GPL"
depends=(gtk2) << whatever is needed for gtk2 >= 2.4
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://emelfm2.net/rel/emelfm2-0.1.4.tar.gz)
md5sums=(da39b1d017366fb41700c5d40365a1ae)

build() {
  cd $startdir/src/$pkgname-$pkgver
  make PREFIX=/usr || return 1 << see file <emelfm2-src-path>/docs/INSTALL for 
other 'make' parameters
  make prefix=$startdir/pkg/usr install
  make prefix=$startdir/pkg/usr install_i18n << if you want fr or ja translation
}

> > permissions for ~/.emelfm2 are rwxr-xr-x ?
> I removed the emelfm2 directory before trying the sources. I havent
> recreated it since then. When starting, emelfm2 complain about not being
> able to create the trash folder:
> Cannot create trash directory /home/salon/.emelfm2/Trash/

If I recall, you mentioned that you can do that manually.
What happens if you manually create directories
  /home/salon/.emelfm2
and
  /home/salon/.emelfm2/Trash
before starting an emelfm2 session ?
 
> When trying to save config file (clicking OK), it complain again:
> No such file or directory
 
> > emelfm2 was installed as binary or built from source ?
> As said, i have tried both source and binary, and i am now using binary.
> 
> > if built, gcc version ?
> gcc (GCC) 4.0.3 20051222 (prerelease)
I use 4.0.2 without problem. Presumably 4.0.3 is ok

> 
> > [g]libc version ?
> 1.2.10
I think this might be your glib version, as opposed to glibc

In general, glibc is at 2.3.x, and for arch, probably glibc-2.3.5-8.pkg.tar.gz. 
Making directories and saving files relies on this. But those are such basic 
functions it's hard to imagine something wrong there.

> > Solving this may take a little forensic work ...
> Yeah, it seems really strange!
> 
> Thanks for your help
> 
> Charly

Regards
Tom


-- 
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: