On 02/02/2021 00:58, William Bean wrote:
> Ahh yea it probably is the compiler version, thanks.

GCC 4.4.7 has been released in 2012. While slightly more modern than a
RedHat 4.4, it is still ancient. I doubt that any distribution carrying
GCC 4.4.7 has the Python 3.6 release required to run Beancount. Compiler
flags are not your only problem.

 So would I just
> modify tokens.c on my local copy as the error (and you previously)
> suggested and see if that works?
> 
> On Mon, Feb 1, 2021, 6:53 PM Altynbek Isabekov
> <[email protected] <mailto:[email protected]>> wrote:
> 
>     If 4.4.7-23 is the version of your GCC compiler and not Red Hat OS,
>     then its default C standard is ANSI (with GNU extensions, i.e.
>     "-std=c90" ).
> 
>     Constructions such:
> 
>     for (size_t i = 0; i < len; ++i) {
>         ...
> 
>         }
> 
>     in
>     
> https://github.com/beancount/beancount/blob/master/beancount/parser/tokens.c
>     
> <https://github.com/beancount/beancount/blob/master/beancount/parser/tokens.c>
> 
>     won't work, you need specify a newer C standard (C99) or install a
>     newer version of GCC.
> 
> 
> 
>     Le mar. 2 févr. 2021 à 00:27, William Bean <[email protected]
>     <mailto:[email protected]>> a écrit :
> 
>         Oof I can double check, but that's what it was spitting out for me.
> 
>         On Mon, Feb 1, 2021, 5:39 PM Daniele Nicolodi
>         <[email protected] <mailto:[email protected]>> wrote:
> 
>             On 01/02/2021 23:31, William Bean wrote:
>             > I've been trying to install Beancount on my new shared
>             hosting account
>             > today and haven't had any luck. I ended up needing to do a
>             git clone and
>             > manual install because I couldn't get pip to work. I do
>             have compile
>             > access and it seemed to almost install. The os is Red Hat
>             4.4.7-23
> 
>             Are you sure of this version number? That would point to a
>             RedHat
>             version released in 2006. I would not like to run a shared
>             hosting
>             platform on something so old.
> 
>             Cheers,
>             Dan
> 
>             -- 
>             You received this message because you are subscribed to a
>             topic in the Google Groups "Beancount" group.
>             To unsubscribe from this topic, visit
>             
> https://groups.google.com/d/topic/beancount/XEgsh6OXsO8/unsubscribe
>             
> <https://groups.google.com/d/topic/beancount/XEgsh6OXsO8/unsubscribe>.
>             To unsubscribe from this group and all its topics, send an
>             email to [email protected]
>             <mailto:beancount%[email protected]>.
>             To view this discussion on the web visit
>             
> https://groups.google.com/d/msgid/beancount/a2409688-c301-3733-82a2-713e8cfa1853%40grinta.net
>             
> <https://groups.google.com/d/msgid/beancount/a2409688-c301-3733-82a2-713e8cfa1853%40grinta.net>.
> 
>         -- 
>         You received this message because you are subscribed to the
>         Google Groups "Beancount" group.
>         To unsubscribe from this group and stop receiving emails from
>         it, send an email to [email protected]
>         <mailto:[email protected]>.
>         To view this discussion on the web visit
>         
> https://groups.google.com/d/msgid/beancount/CAO0DHEAfxBYMUbbmAyEc%2Bxfb-G6NOG%3DMQ9xgG%3DKrEzeh0fv2fQ%40mail.gmail.com
>         
> <https://groups.google.com/d/msgid/beancount/CAO0DHEAfxBYMUbbmAyEc%2Bxfb-G6NOG%3DMQ9xgG%3DKrEzeh0fv2fQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> 
> 
> 
>     -- 
>     Sincerely yours, Altynbek
> 
>     -- 
>     You received this message because you are subscribed to a topic in
>     the Google Groups "Beancount" group.
>     To unsubscribe from this topic, visit
>     https://groups.google.com/d/topic/beancount/XEgsh6OXsO8/unsubscribe
>     <https://groups.google.com/d/topic/beancount/XEgsh6OXsO8/unsubscribe>.
>     To unsubscribe from this group and all its topics, send an email to
>     [email protected]
>     <mailto:[email protected]>.
>     To view this discussion on the web visit
>     
> https://groups.google.com/d/msgid/beancount/CAOm1zMPDdGgx6mm3C9rFbrHg02PNk0h5YRp8OvUmrCSM7Tv%3D8g%40mail.gmail.com
>     
> <https://groups.google.com/d/msgid/beancount/CAOm1zMPDdGgx6mm3C9rFbrHg02PNk0h5YRp8OvUmrCSM7Tv%3D8g%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/CAO0DHECRGj6MUsu0ECYRWVzUE-a3V9DXy6vdTgG9OE%2BiZ7B89g%40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CAO0DHECRGj6MUsu0ECYRWVzUE-a3V9DXy6vdTgG9OE%2BiZ7B89g%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/187e7af1-a22d-28fc-750f-d1a18cf78b36%40grinta.net.

Reply via email to