Heroku config.rpath not found! - is gettext installed?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Heroku config.rpath not found! - is gettext installed?

khoa nguyen

Hi,


Goal: get s3fs going on Heroku Cedar14 (https://devcenter.heroku.com/articles/cedar-14-stack)


Steps:


$ curl https://github.com/libfuse/libfuse/releases/download/fuse-2.9.7/fuse-2.9.7.tar.gz | tar -xz -C /tmp

$ cd /tmp/libfuse-fuse-2.9.7

$ ./makeconf.sh # since there's no ./configure

Running libtoolize...

config.rpath not found! - is gettext installed?


gettext is installed at /tmp since it can't be installed at /usr/local nor /usr. Ithere any option to set config.rpath in ./makeconf.sh?


Thanks.




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
fuse-devel mailing list
To unsubscribe or subscribe, visit https://lists.sourceforge.net/lists/listinfo/fuse-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Heroku config.rpath not found! - is gettext installed?

Nikolaus Rath
On Jul 12 2017, khoa nguyen <[hidden email]> wrote:
> Hi,
>
>
> Goal: get s3fs going on Heroku Cedar14
> (https://devcenter.heroku.com/articles/cedar-14-stack)

I wouldn't be surprised if Heroku disables FUSE support in the
kernel. Did you check that?

>
>
> Steps:
>
>
> $ curl https://github.com/libfuse/libfuse/releases/download/fuse-2.9.7/fuse-2.9.7.tar.gz | tar -xz -C /tmp
>
> $ cd /tmp/libfuse-fuse-2.9.7
>
> $ ./makeconf.sh # since there's no ./configure

Please provide the actual sequence of commands that you used. The above
tarball contains a 'configure' file:

$ wget https://github.com/libfuse/libfuse/releases/download/fuse-2.9.7/fuse-2.9.7.tar.gz
--2017-07-12 12:10:59--  https://github.com/libfuse/libfuse/releases/download/fuse-2.9.7/fuse-2.9.7.tar.gz
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
[...]
Length: 661138 (646K) [application/octet-stream]
Saving to: ‘fuse-2.9.7.tar.gz’

fuse-2.9.7.tar.gz       100%[=============================>] 645.64K   385KB/s    in 1.7s    

2017-07-12 12:11:03 (385 KB/s) - ‘fuse-2.9.7.tar.gz’ saved [661138/661138]

$ tar tzvf fuse-2.9.7.tar.gz | grep configure
-rw-r--r-- 1000/1000      3814 2016-06-20 21:51 fuse-2.9.7/configure.ac
-rwxr-xr-x 1000/1000    477880 2016-06-20 21:52 fuse-2.9.7/configure


Best,
-Nikolaus

--
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
fuse-devel mailing list
To unsubscribe or subscribe, visit https://lists.sourceforge.net/lists/listinfo/fuse-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Heroku config.rpath not found! - is gettext installed?

khoa nguyen

Thanks Nik,


How do I know if fuse is disabled on Heroku? These are the intel I gathered about fuse on Heroku Cedar 14:

Dyno has fuse package during build time: https://devcenter.heroku.com/articles/stack-packages.
$ lsmod | grep fuse # yields nothing during runtime

Ended up pulling in https://ftp.gnu.org/pub/gnu/gettext/, and copied config.rpath over. Seems to compile.

> ________________________________
> From: Nikolaus Rath <[hidden email]>
> Sent: Wednesday, 12 July 2017 10:14 AM
> To: [hidden email]
> Subject: Re: [fuse-devel] Heroku config.rpath not found! - is gettext installed?
>
> On Jul 12 2017, khoa nguyen <[hidden email]> wrote:
>> Hi,
>>
>>
>> Goal: get s3fs going on Heroku Cedar14
>> (https://devcenter.heroku.com/articles/cedar-14-stack)


>
>
> I wouldn't be surprised if Heroku disables FUSE support in the
> kernel. Did you check that?
>
>>
>>
>> Steps:
>>
>>
>> $ curl https://github.com/libfuse/libfuse/releases/download/fuse-2.9.7/fuse-2.9.7.tar.gz | tar -xz -C /tmp
>>
>> $ cd /tmp/libfuse-fuse-2.9.7
>>
>> $ ./makeconf.sh # since there's no ./configure
>
> Please provide the actual sequence of commands that you used. The above
> tarball contains a 'configure' file:
>
> $ wget https://github.com/libfuse/libfuse/releases/download/fuse-2.9.7/fuse-2.9.7.tar.gz
> --2017-07-12 12:10:59--  https://github.com/libfuse/libfuse/releases/download/fuse-2.9.7/fuse-2.9.7.tar.gz
> Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
> Connecting to github.com (github.com)|192.30.253.112|:443... connected.
> HTTP request sent, awaiting response... 302 Found
> [...]
> Length: 661138 (646K) [application/octet-stream]
> Saving to: ‘fuse-2.9.7.tar.gz’
>
> fuse-2.9.7.tar.gz       100%[=============================>] 645.64K   385KB/s    in 1.7s
>
> 2017-07-12 12:11:03 (385 KB/s) - ‘fuse-2.9.7.tar.gz’ saved [661138/661138]
>
> $ tar tzvf fuse-2.9.7.tar.gz | grep configure
> -rw-r--r-- 1000/1000      3814 2016-06-20 21:51 fuse-2.9.7/configure.ac
> -rwxr-xr-x 1000/1000    477880 2016-06-20 21:52 fuse-2.9.7/configure
>
>
> Best,
> -Nikolaus
>
> --
> GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
>
>              »Time flies like an arrow, fruit flies like a Banana.«
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> --
> fuse-devel mailing list
> To unsubscribe or subscribe, visit https://lists.sourceforge.net/lists/listinfo/fuse-devel


--
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
fuse-devel mailing list
To unsubscribe or subscribe, visit https://lists.sourceforge.net/lists/listinfo/fuse-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Heroku config.rpath not found! - is gettext installed?

Nikolaus Rath
On Jul 14 2017, khoa nguyen <[hidden email]> wrote:
> Thanks Nik,
>
> I must have downloaded: https://github.com/libfuse/libfuse/archive/fuse-2.9.7.tar.gz.
>
> How do I know if fuse is disabled on Heroku?

The only reliable test is to try to mount a FUSE filesystem. But looking
for a writeable /dev/fuse (and trying 'modprobe fuse' if it doesn't
exist) should give you an indication.


> Dyno has fuse package during build time: https://devcenter.heroku.com/articles/stack-packages.
> $ lsmod | grep fuse # yields nothing during runtime
>
> Ended up pulling in https://ftp.gnu.org/pub/gnu/gettext/, and copied
> config.rpath over. Seems to compile.

Don't do that. Download the release.


Best,
-Nikolaus

--
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
fuse-devel mailing list
To unsubscribe or subscribe, visit https://lists.sourceforge.net/lists/listinfo/fuse-devel
Loading...