You are not logged in.

#1 2005-12-03 21:44:48

sabrewolf
Member
Registered: 2004-10-26
Posts: 45

fuseiso

url: http://ubiz.ru/dm/fuseiso-20051029.tar.bz2

i try to build with makepkg but not work  sad


[code]sorry for my english [/code]

Offline

#2 2005-12-03 22:46:31

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: fuseiso

So show us your pkgbuild! We´ll try to improve it.

Offline

#3 2005-12-04 00:29:29

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: fuseiso

Also, post the errors you got.

Offline

#4 2005-12-04 00:33:07

sabrewolf
Member
Registered: 2004-10-26
Posts: 45

Re: fuseiso

AndyRTR wrote:

So show us your pkgbuild! We´ll try to improve it.

from the readme:

./configure && make %% make install

easy  wink

the problem is in the make  sad , tomorrow post the error.


[code]sorry for my english [/code]

Offline

#5 2005-12-04 01:40:26

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: fuseiso

sabrewolf wrote:
AndyRTR wrote:

So show us your pkgbuild! We´ll try to improve it.

from the readme:

./configure && make %% make install

easy  wink

the problem is in the make  sad , tomorrow post the error.

I'm sorry, what?

Offline

#6 2005-12-04 02:00:37

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: fuseiso

Here's what I think you said, sabrewolf.

The README says ./configure && make && make install - easy, don't you think? wink

However, the problem occurs during the make. sad  I will post the error tomorrow.

Am I right? smile

Offline

#7 2005-12-04 02:17:10

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: fuseiso

We need to see your PKGBUILD.
Its not smart to install a package directly onto your system without going through a package manager to keep track of it.

Offline

#8 2005-12-04 21:38:40

sabrewolf
Member
Registered: 2004-10-26
Posts: 45

Re: fuseiso

the pkgbuild is the pkgbuild.proto, only changes in the pkgname, pkgversion:

./configure
make || return 1
make install

this is the first error:

[sabrewolf@Geo-Front fuseiso-20051029]$ make
make  all-recursive
make[1]: Entering directory `/home/sabrewolf/cosas varias/fuseiso-20051029'
Making all in src
make[2]: Entering directory `/home/sabrewolf/cosas varias/fuseiso-20051029/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -D_FILE_OFFSET_BITS=64 `pkg-config --cflags fuse glib-2.0` -g -O2 -MT fuseiso.o -MD -MP -MF ".deps/fuseiso.Tpo" -c -o fuseiso.o fuseiso.c;
then mv -f ".deps/fuseiso.Tpo" ".deps/fuseiso.Po"; else rm -f ".deps/fuseiso.Tpo"; exit 1; fi
fuseiso.c:32:24: error: linux/stat.h: No existe el fichero o el directorio
fuseiso.c: En la función 'isofs_init':
fuseiso.c:72: aviso: la devolución crea un puntero desde un entero sin una conversión
make[2]: *** [fuseiso.o] Error 1
make[2]: Leaving directory `/home/sabrewolf/cosas varias/fuseiso-20051029/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sabrewolf/cosas varias/fuseiso-20051029'
make: *** [all] Error 2
[sabrewolf@Geo-Front fuseiso-20051029]$

try compile first without makepkg, with makepkg the same error  sad


[code]sorry for my english [/code]

Offline

#9 2005-12-04 22:03:41

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: fuseiso

Tried it here, sabrewolf, and got the same error. Here it is in English:

fuseiso.c:32:24: error: linux/stat.h: No such file or directory
fuseiso.c: In function 'isofs_init':
fuseiso.c:72: warning: return makes pointer from integer without a cast
make[2]: *** [fuseiso.o] Error 1
make[2]: Leaving directory `/usr/src/fuseiso-20051029/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/fuseiso-20051029'
make: *** [all] Error 2

I'm no expert, but it seems to be looking for the stat.h header. On my system, that's in /usr/src/linux-`uname -r`/include/linux. However, doing

./configure --includedir=/usr/src/linux-`uname -r`/include

didn't make any difference - the same make error occurred.

Apart from the link for the tarball, sabrewolf, does this app have a website? How do we find out more about it, contact the developer, etc?

Offline

#10 2005-12-07 00:27:54

sabrewolf
Member
Registered: 2004-10-26
Posts: 45

Re: fuseiso

tomk wrote:

Tried it here, sabrewolf, and got the same error. Here it is in English:

fuseiso.c:32:24: error: linux/stat.h: No such file or directory
fuseiso.c: In function 'isofs_init':
fuseiso.c:72: warning: return makes pointer from integer without a cast
make[2]: *** [fuseiso.o] Error 1
make[2]: Leaving directory `/usr/src/fuseiso-20051029/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/fuseiso-20051029'
make: *** [all] Error 2

I'm no expert, but it seems to be looking for the stat.h header. On my system, that's in /usr/src/linux-`uname -r`/include/linux. However, doing

./configure --includedir=/usr/src/linux-`uname -r`/include

didn't make any difference - the same make error occurred.

Apart from the link for the tarball, sabrewolf, does this app have a website? How do we find out more about it, contact the developer, etc?

from: http://fuse.sourceforge.net/

fuseiso

Status: alpha

Author: Dmitry Morozhnikov dmiceman@mail.ru

Homepage: http://fuse.sourceforge.net/wiki/index. … b189efb6e1

Download: http://ubiz.ru/dm/fuseiso-20051029.tar.bz2
Description
FUSE module to mount ISO9660 images for purposes of http://klik.atekon.de/ project.

i replace:

<include> "linux/stat.h" to "/usr/src/kernel-version/include/linux/stat.h

and work but get a new error.


[code]sorry for my english [/code]

Offline

#11 2005-12-07 10:44:34

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: fuseiso

Well, it compiles for me if I do that stat.h hack in fuseiso.c and testiso.c. However, I'm losing interest now - I've no pressing need for this app, and as a rule, I don't like building apps that need this kind of monkeying around with the code.

If you want it though, here's a quick-and-nasty PKGBUILD - I've built a package with it, but I haven't installed it:

pkgname=fuseiso
pkgver=20051029
pkgrel=1        
pkgdesc="FUSE module to mount ISO filesystem images (.iso files)"
depends=('fuse')
source=(http://ubiz.ru/dm/$pkgname-$pkgver.tar.bz2)
md5sums=('64e54a6f67cc5dd2264096385e6de0b1')
url="http://fuse.sourceforge.net/wiki/index.php/FuseIso?PHPSESSID=d4232a389d8af2eba572fab189efb6e1"

build() {
  cd $startdir/src/$pkgname-$pkgver

  # fix dodgy include code
  sed -i -e "s:<linux/stat.h>:"/usr/src/linux-`uname -r`/include/linux/stat.h":g" src/fuseiso.c
  sed -i -e "s:<linux/stat.h>:"/usr/src/linux-`uname -r`/include/linux/stat.h":g" src/testiso.c

  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

Over to you.  smile

Offline

Board footer

Powered by FluxBB