Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

There are three kinds of people: men, women, and unix.


devel / comp.lang.tcl / Re: I can't build tcl-fuse

SubjectAuthor
* I can't build tcl-fuseLuc
+- Re: I can't build tcl-fuseRich
`* Re: I can't build tcl-fuseted@loft.tnolan.com (Ted Nolan
 `* Re: I can't build tcl-fuseLuc
  `- Re: I can't build tcl-fuseLuc

1
I can't build tcl-fuse

<20230415234819.653901f3@lud1.home>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21759&group=comp.lang.tcl#21759

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: luc@sep.invalid (Luc)
Newsgroups: comp.lang.tcl
Subject: I can't build tcl-fuse
Date: Sat, 15 Apr 2023 23:48:19 -0300
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <20230415234819.653901f3@lud1.home>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="d7b974ac7051bcf6ea11f8d2e48eaa07";
logging-data="2498949"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18uQfvU1fkIamolyThxTFP9hITr4QxCEFE="
Cancel-Lock: sha1:6JODn2Z2BOTcEcFbTKVc1jxZOGw=
 by: Luc - Sun, 16 Apr 2023 02:48 UTC

Can somebody please advise?

$> make
gcc -DPACKAGE_NAME=\"fuse\" -DPACKAGE_TARNAME=\"fuse\" -DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"fuse\ 1.1\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I"/usr/include/tcl8.6" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./unix/tclfuse.c` -o tclfuse.o
../unix/tclfuse.c:44:18: fatal error: fuse.h: No such file or directory
#include <fuse.h>
^
compilation terminated.
Makefile:286: recipe for target 'tclfuse.o' failed
make: *** [tclfuse.o] Error 1

--
Luc
>>

Re: I can't build tcl-fuse

<u1fqog$2d657$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21760&group=comp.lang.tcl#21760

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: comp.lang.tcl
Subject: Re: I can't build tcl-fuse
Date: Sun, 16 Apr 2023 03:41:04 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <u1fqog$2d657$1@dont-email.me>
References: <20230415234819.653901f3@lud1.home>
Injection-Date: Sun, 16 Apr 2023 03:41:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="bf9e1151de1a9a8bbbe6215213058998";
logging-data="2529447"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ihspiP8hG6PyhcM3m6vmG"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.19 (x86_64))
Cancel-Lock: sha1:uEAN0QcwTBSaPV5hBBZ6/du4QKE=
 by: Rich - Sun, 16 Apr 2023 03:41 UTC

Luc <luc@sep.invalid> wrote:
> Can somebody please advise?
>
> $> make gcc -DPACKAGE_NAME=\"fuse\" -DPACKAGE_TARNAME=\"fuse\"
> -DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"fuse\ 1.1\"
> -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
> -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
> -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\
> __attribute__\(\(__visibility__\(\"hidden\"\)\)\)
> -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1
> -I"/usr/include/tcl8.6" -pipe -O2 -fomit-frame-pointer -Wall
> -Wno-implicit-int -fPIC -c `echo ./unix/tclfuse.c` -o tclfuse.o
> ./unix/tclfuse.c:44:18: fatal error: fuse.h: No such file or directory
> #include <fuse.h>
> ^
> compilation terminated.
> Makefile:286: recipe for target 'tclfuse.o' failed
> make: *** [tclfuse.o] Error 1

The error message told you what file was missing:

fuse.h: No such file or directory

Did you install the Linux fuse package? And if you are using one of
those silly distros that separates runtime and development into
separate packages, did you install the fuse development package?

Re: I can't build tcl-fuse

<20230416005830.67b4c616@lud1.home>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21761&group=comp.lang.tcl#21761

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: luc@sep.invalid (Luc)
Newsgroups: comp.lang.tcl
Subject: Re: I can't build tcl-fuse
Date: Sun, 16 Apr 2023 00:58:30 -0300
Organization: A noiseless patient Spider
Lines: 67
Message-ID: <20230416005830.67b4c616@lud1.home>
References: <20230415234819.653901f3@lud1.home>
<ka19auFspdjU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: dont-email.me; posting-host="d7b974ac7051bcf6ea11f8d2e48eaa07";
logging-data="2534571"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2GWPZ6q3+y+r1LQUw/mDb3R5tzMpMoKM="
Cancel-Lock: sha1:iG3SPlszMZ/5y68/1Mxkz2EwsLg=
 by: Luc - Sun, 16 Apr 2023 03:58 UTC

On 16 Apr 2023 03:45:34 GMT, ted@loft.tnolan.com (Ted Nolan ) wrote:

> It's been a while since I built it, and I can't get to that system
> right now, but I'm guessing you need to install something like
> "libfuse" & "libfuse-dev" on your system before you can compile tcl-fuse.

OK, I didn't have libfuse-dev. I installed it and now I get this:

$> make
gcc -DPACKAGE_NAME=\"fuse\" -DPACKAGE_TARNAME=\"fuse\" -DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"fuse\ 1.1\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I"/usr/include/tcl8.6" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./unix/tclfuse.c` -o tclfuse.o
In file included from /usr/include/fuse/fuse.h:26:0,
from /usr/include/fuse.h:9,
from ./unix/tclfuse.c:44:
/usr/include/fuse/fuse_common.h:33:2: error: #error Please add -D_FILE_OFFSET_BITS=64 to your compile flags!
#error Please add -D_FILE_OFFSET_BITS=64 to your compile flags!
^~~~~
../unix/tclfuse.c: In function ‘FuseCmd’:
../unix/tclfuse.c:270:28: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
data->cmdtoken = Tcl_CreateCommand(interp, name, FsCmd, (ClientData) data, FsCmd_CleanUp);
^
../unix/tclfuse.c: In function ‘FsCmd’:
../unix/tclfuse.c:323:32: warning: passing argument 2 of ‘tclfuse_setup’ from incompatible pointer type [-Wincompatible-pointer-types]
fuse = tclfuse_setup(argc, argv, data->op, sizeof(struct fuse_operations), &mountpoint,
^~~~
../unix/tclfuse.c:67:21: note: expected ‘char **’ but argument is of type ‘const char **’
static struct fuse *tclfuse_setup(int argc, char *argv[],
^~~~~~~~~~~~~
../unix/tclfuse.c:342:48: warning: passing argument 1 of ‘tclStubsPtr->tcl_MakeFileChannel’ makes pointer from integer without a cast [-Wint-conversion]
Tcl_Channel chan = Tcl_MakeFileChannel(fd, TCL_READABLE);
^~
../unix/tclfuse.c:342:48: note: expected ‘ClientData {aka void *}’ but argument is of type ‘int’
../unix/tclfuse.c: In function ‘ChannelEventHandler’:
../unix/tclfuse.c:405:60: warning: passing argument 2 of ‘tclStubsPtr->tcl_DeleteCommandFromToken’ makes pointer from integer without a cast [-Wint-conversion]
Tcl_DeleteCommandFromToken(mp->fsdata->interp, mp->fsdata->cmdtoken);
^~
../unix/tclfuse.c:405:60: note: expected ‘Tcl_Command {aka struct Tcl_Command_ *}’ but argument is of type ‘int’
Makefile:286: recipe for target 'tclfuse.o' failed
make: *** [tclfuse.o] Error 1

--
Luc
>>

Re: I can't build tcl-fuse

<ka19auFspdjU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21762&group=comp.lang.tcl#21762

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!rocksolid2!i2pn.org!weretis.net!feeder8.news.weretis.net!news.imp.ch!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: @ednolan (ted@loft.tnolan.com (Ted Nolan)
Newsgroups: comp.lang.tcl
Subject: Re: I can't build tcl-fuse
Date: 16 Apr 2023 03:45:34 GMT
Organization: loft
Lines: 35
Message-ID: <ka19auFspdjU1@mid.individual.net>
References: <20230415234819.653901f3@lud1.home>
X-Trace: individual.net E8lj5D3U4wmK/Fkrv/uhqgBWtGXgPYRfUZVj/PNoDey6zPhqgC
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:eBLI8IvJpxW32tPDs3fkKyeW+hs=
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
 by: ted@loft.tnolan.com - Sun, 16 Apr 2023 03:45 UTC

In article <20230415234819.653901f3@lud1.home>, Luc <luc@sep.invalid> wrote:
>Can somebody please advise?
>
>$> make
>gcc -DPACKAGE_NAME=\"fuse\" -DPACKAGE_TARNAME=\"fuse\"
>-DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"fuse\ 1.1\"
>-DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
>-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
>-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
>-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
>-DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
>-D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\
>__attribute__\(\(__visibility__\(\"hidden\"\)\)\)
>-D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1
>-I"/usr/include/tcl8.6" -pipe -O2 -fomit-frame-pointer -Wall
>-Wno-implicit-int -fPIC -c `echo ./unix/tclfuse.c` -o tclfuse.o
>./unix/tclfuse.c:44:18: fatal error: fuse.h: No such file or directory
> #include <fuse.h>
> ^
>compilation terminated.
>Makefile:286: recipe for target 'tclfuse.o' failed
>make: *** [tclfuse.o] Error 1
>
>
>--
>Luc
>>>
>

It's been a while since I built it, and I can't get to that system
right now, but I'm guessing you need to install something like
"libfuse" & "libfuse-dev" on your system before you can compile tcl-fuse.
--
columbiaclosings.com
What's not in Columbia anymore..

Re: I can't build tcl-fuse

<20230416011509.29f00a85@lud1.home>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=21763&group=comp.lang.tcl#21763

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: luc@sep.invalid (Luc)
Newsgroups: comp.lang.tcl
Subject: Re: I can't build tcl-fuse
Date: Sun, 16 Apr 2023 01:15:09 -0300
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <20230416011509.29f00a85@lud1.home>
References: <20230415234819.653901f3@lud1.home>
<ka19auFspdjU1@mid.individual.net>
<20230416005830.67b4c616@lud1.home>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="d7b974ac7051bcf6ea11f8d2e48eaa07";
logging-data="2540383"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/H0cSYjboJvYCbNE9ma9eRFgDzxW1ccy0="
Cancel-Lock: sha1:Zg6VboH+kPCl1cGcZBwUVddnifs=
 by: Luc - Sun, 16 Apr 2023 04:15 UTC

Never mind, I solved the problem.

The package is named tcl-fuse-1.1 but it seems it also packs something
called TEA. And there is a README file with building instructions that
were not working.

It took me quite a while to realize that I was reading instructions for
the TEA thing and the correct instructions for tcl-fuse were in a file
named README.fuse.

The correct instructions work and the package seems to work. I went as
far as the 'package require fuse' part. It loads.

Sorry and thanks again.

--
Luc
>>


devel / comp.lang.tcl / Re: I can't build tcl-fuse

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor