Installing Beancount on Shared Hosting

79 views
Skip to first unread message

William Bean

unread,
Feb 1, 2021, 5:31:55 PM2/1/21
to Beancount
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 for reference. Here are the errors I ended up with:

beancount/parser/tokens.c: In function 'strtonl':
beancount/parser/tokens.c:174: error: 'for' loop initial declarations are only allowed in C99 mode
beancount/parser/tokens.c:174: note: use option -std=c99 or -std=gnu99 to compile your code
At top level:
cc1: warning: unrecognized command line option "-Wno-unused-result"
error: command '/usr/bin/gcc' failed with exit status 1

Any ideas on how I can get this to work?

Daniele Nicolodi

unread,
Feb 1, 2021, 5:39:12 PM2/1/21
to bean...@googlegroups.com
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

Altynbek Isabekov

unread,
Feb 1, 2021, 5:45:51 PM2/1/21
to bean...@googlegroups.com
Have you tried adding "-std=c99" to the CFLAGS declaration in the Makefile?


--
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 beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/01a20515-b0cc-4ee0-ad9c-86e804eb4cffn%40googlegroups.com.


--
Sincerely yours, Altynbek

Daniele Nicolodi

unread,
Feb 1, 2021, 6:13:27 PM2/1/21
to bean...@googlegroups.com
On 01/02/2021 23:45, Altynbek Isabekov wrote:
> Have you tried adding "-std=c99" to the CFLAGS declaration in the Makefile?

Don't you think that, if Beancpount's build recipe is wrong, someone
else would have encountered the same problem already? Also, there is no
Makefile required to build the Python extension used by Beancount.

Cheers,
Dan

William Bean

unread,
Feb 1, 2021, 6:27:08 PM2/1/21
to bean...@googlegroups.com
Oof I can double check, but that's what it was spitting out for me.

--
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.
To unsubscribe from this group and all its topics, send an email to beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/a2409688-c301-3733-82a2-713e8cfa1853%40grinta.net.

Daniele Nicolodi

unread,
Feb 1, 2021, 6:43:44 PM2/1/21
to bean...@googlegroups.com
On 02/02/2021 00:26, William Bean wrote:
> Oof I can double check, but that's what it was spitting out for me.

Spitting out where?

> On Mon, Feb 1, 2021, 5:39 PM Daniele Nicolodi <dan...@grinta.net
> <mailto:dan...@grinta.net>> 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
> beancount+...@googlegroups.com
> <mailto:beancount%2Bunsu...@googlegroups.com>.
> <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 beancount+...@googlegroups.com
> <mailto:beancount+...@googlegroups.com>.
> 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>.

Altynbek Isabekov

unread,
Feb 1, 2021, 6:53:47 PM2/1/21
to bean...@googlegroups.com

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

won't work, you need specify a newer C standard (C99) or install a newer version of GCC.



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 beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAO0DHEAfxBYMUbbmAyEc%2Bxfb-G6NOG%3DMQ9xgG%3DKrEzeh0fv2fQ%40mail.gmail.com.


--
Sincerely yours, Altynbek

William Bean

unread,
Feb 1, 2021, 6:58:17 PM2/1/21
to bean...@googlegroups.com
Ahh yea it probably is the compiler version, thanks. So would I just modify tokens.c on my local copy as the error (and you previously) suggested and see if that works?

Altynbek Isabekov

unread,
Feb 1, 2021, 7:10:39 PM2/1/21
to bean...@googlegroups.com
No need to modify the code, just replace
CFLAGS += $(shell $(PYCONFIG) --cflags) -I$(PWD) -fPIE -UNDEBUG -Wno-unused-function -Wno-unused-variable
with
CFLAGS += $(shell $(PYCONFIG) --cflags) -I$(PWD) -fPIE -UNDEBUG -Wno-unused-function -Wno-unused-variable -std=c99
in file https://github.com/beancount/beancount/blob/master/Makefile
and rerun the build process.





--
Sincerely yours, Altynbek

Daniele Nicolodi

unread,
Feb 1, 2021, 7:10:56 PM2/1/21
to bean...@googlegroups.com
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
> <altynbek...@gmail.com <mailto:altynbek...@gmail.com>> 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 <wbe...@gmail.com
> <mailto:wbe...@gmail.com>> 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
> <dan...@grinta.net <mailto:dan...@grinta.net>> 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 beancount+...@googlegroups.com
> <mailto:beancount%2Bunsu...@googlegroups.com>.
> <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 beancount+...@googlegroups.com
> <mailto:beancount+...@googlegroups.com>.
> 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
> beancount+...@googlegroups.com
> <mailto:beancount+...@googlegroups.com>.
> 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 beancount+...@googlegroups.com
> <mailto:beancount+...@googlegroups.com>.
> 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>.

Daniele Nicolodi

unread,
Feb 1, 2021, 7:13:24 PM2/1/21
to bean...@googlegroups.com
On 02/02/2021 01:10, Altynbek Isabekov wrote:
> No need to modify the code, just replace
> CFLAGS += $(shell $(PYCONFIG) --cflags) -I$(PWD) -fPIE -UNDEBUG
> -Wno-unused-function -Wno-unused-variable
> with
> CFLAGS += $(shell $(PYCONFIG) --cflags) -I$(PWD) -fPIE -UNDEBUG
> -Wno-unused-function -Wno-unused-variable -std=c99
> in file https://github.com/beancount/beancount/blob/master/Makefile
> <https://github.com/beancount/beancount/blob/master/Makefile>
> and rerun the build process.

These flags are not the ones used to build the Python extension.

>
>
>
> Le mar. 2 févr. 2021 à 00:58, William Bean <wbe...@gmail.com
> <mailto:wbe...@gmail.com>> a écrit :
>
> Ahh yea it probably is the compiler version, thanks. 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
> <altynbek...@gmail.com <mailto:altynbek...@gmail.com>>
> 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 <wbe...@gmail.com
> <mailto:wbe...@gmail.com>> a écrit :
> <https://groups.google.com/d/topic/beancount/XEgsh6OXsO8/unsubscribe>.
> To unsubscribe from this group and all its topics, send
> an email to beancount+...@googlegroups.com
> <mailto:beancount%2Bunsu...@googlegroups.com>.
> <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
> beancount+...@googlegroups.com
> <mailto:beancount+...@googlegroups.com>.
> 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 beancount+...@googlegroups.com
> <mailto:beancount+...@googlegroups.com>.
> 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 beancount+...@googlegroups.com
> <mailto:beancount+...@googlegroups.com>.
> 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>.
>
>
>
> --
> Sincerely yours, Altynbek
>
> --
> 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 beancount+...@googlegroups.com
> <mailto:beancount+...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/CAOm1zMPDNvETHxmh6NdTNsT6H3RO0-V4LFzUnk5o9Qw_4w1ojg%40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CAOm1zMPDNvETHxmh6NdTNsT6H3RO0-V4LFzUnk5o9Qw_4w1ojg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Altynbek Isabekov

unread,
Feb 1, 2021, 7:23:04 PM2/1/21
to bean...@googlegroups.com
Yes, there are many others:
python3.9-config --cflags
-I/usr/include/python3.9 -I/usr/include/python3.9  -Wno-unused-result -Wsign-compare -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -DNDEBUG -g -fwrapv -O3 -Wall

but it's worth giving a try.


To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/59ff8b5c-adb3-cccd-1056-7abfab0b828d%40grinta.net.


--
Sincerely yours, Altynbek

Daniele Nicolodi

unread,
Feb 1, 2021, 7:28:59 PM2/1/21
to bean...@googlegroups.com
On 02/02/2021 01:22, Altynbek Isabekov wrote:
> Yes, there are many others:
> python3.9-config --cflags
> -I/usr/include/python3.9 -I/usr/include/python3.9  -Wno-unused-result
> -Wsign-compare -march=x86-64 -mtune=generic -O3 -pipe -fno-plt
> -fno-semantic-interposition -DNDEBUG -g -fwrapv -O3 -Wall
>
> but it's worth giving a try.

I'll say it again, using different words: the CFLAGS variable in the
Makefile does not contain the flags used to compile the Python
extension. The CFLAGS variable hold the flags used to compile a test
case, which is not build by default.

Anyhow, the C standard is not William's only problem, if he is working
on a system that really has GCC 4.4.7. For example, using the Makefile
to compile Beancount, you need also Bison 3.7, which is also extremely
unlikely to be distributed along with GCC 4.4.7.

Cheers,
Dan


>
>
> Le mar. 2 févr. 2021 à 01:13, Daniele Nicolodi <dan...@grinta.net
> <mailto:dan...@grinta.net>> a écrit :
>
> On 02/02/2021 01:10, Altynbek Isabekov wrote:
> > No need to modify the code, just replace
> > CFLAGS += $(shell $(PYCONFIG) --cflags) -I$(PWD) -fPIE -UNDEBUG
> > -Wno-unused-function -Wno-unused-variable
> > with
> > CFLAGS += $(shell $(PYCONFIG) --cflags) -I$(PWD) -fPIE -UNDEBUG
> > -Wno-unused-function -Wno-unused-variable -std=c99
> > in
> file https://github.com/beancount/beancount/blob/master/Makefile
> <https://github.com/beancount/beancount/blob/master/Makefile>
> > <https://github.com/beancount/beancount/blob/master/Makefile
> <https://github.com/beancount/beancount/blob/master/Makefile>>
> > and rerun the build process.
>
> These flags are not the ones used to build the Python extension.
>
> >
> >
> >
> > Le mar. 2 févr. 2021 à 00:58, William Bean <wbe...@gmail.com
> <mailto:wbe...@gmail.com>
> > <mailto:wbe...@gmail.com <mailto:wbe...@gmail.com>>> a écrit :
> >
> >     Ahh yea it probably is the compiler version, thanks. 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
> >     <altynbek...@gmail.com
> <mailto:altynbek...@gmail.com>
> <mailto:altynbek...@gmail.com
> <mailto:altynbek...@gmail.com>>>
> >     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>
> >       
>  <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
> <wbe...@gmail.com <mailto:wbe...@gmail.com>
> >         <mailto:wbe...@gmail.com <mailto:wbe...@gmail.com>>> 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
> >             <dan...@grinta.net <mailto:dan...@grinta.net>
> >                 <mailto:beancount%2Bunsu...@googlegroups.com
> <mailto:beancount%252Buns...@googlegroups.com>>.
> >                 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>
> >               
>  <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
> >             beancount+...@googlegroups.com
> <mailto:beancount%2Bunsu...@googlegroups.com>
> >             <mailto:beancount+...@googlegroups.com
> <mailto:beancount%2Bunsu...@googlegroups.com>>.
> >             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>
> >           
>  <https://groups.google.com/d/msgid/beancount/CAO0DHEAfxBYMUbbmAyEc%2Bxfb-G6NOG%3DMQ9xgG%3DKrEzeh0fv2fQ%40mail.gmail.com?utm_medium=email&utm_source=footer
> <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>
> >       
> >         <mailto:beancount+...@googlegroups.com
> <mailto:beancount%2Bunsu...@googlegroups.com>>.
> >         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>
> >       
>  <https://groups.google.com/d/msgid/beancount/CAOm1zMPDdGgx6mm3C9rFbrHg02PNk0h5YRp8OvUmrCSM7Tv%3D8g%40mail.gmail.com?utm_medium=email&utm_source=footer
> <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 beancount+...@googlegroups.com
> <mailto:beancount%2Bunsu...@googlegroups.com>
> >     <mailto:beancount+...@googlegroups.com
> <mailto:beancount%2Bunsu...@googlegroups.com>>.
> >     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>
> >   
>  <https://groups.google.com/d/msgid/beancount/CAO0DHECRGj6MUsu0ECYRWVzUE-a3V9DXy6vdTgG9OE%2BiZ7B89g%40mail.gmail.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/beancount/CAO0DHECRGj6MUsu0ECYRWVzUE-a3V9DXy6vdTgG9OE%2BiZ7B89g%40mail.gmail.com?utm_medium=email&utm_source=footer>>.
> >
> >
> >
> > --
> > Sincerely yours, Altynbek
> >
> > --
> > 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 beancount+...@googlegroups.com
> <mailto:beancount%2Bunsu...@googlegroups.com>
> > <mailto:beancount+...@googlegroups.com
> <mailto:beancount%2Bunsu...@googlegroups.com>>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/beancount/CAOm1zMPDNvETHxmh6NdTNsT6H3RO0-V4LFzUnk5o9Qw_4w1ojg%40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CAOm1zMPDNvETHxmh6NdTNsT6H3RO0-V4LFzUnk5o9Qw_4w1ojg%40mail.gmail.com>
> >
> <https://groups.google.com/d/msgid/beancount/CAOm1zMPDNvETHxmh6NdTNsT6H3RO0-V4LFzUnk5o9Qw_4w1ojg%40mail.gmail.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/beancount/CAOm1zMPDNvETHxmh6NdTNsT6H3RO0-V4LFzUnk5o9Qw_4w1ojg%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 beancount+...@googlegroups.com
> <mailto:beancount%2Bunsu...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/59ff8b5c-adb3-cccd-1056-7abfab0b828d%40grinta.net
> <https://groups.google.com/d/msgid/beancount/59ff8b5c-adb3-cccd-1056-7abfab0b828d%40grinta.net>.
>
>
>
> --
> Sincerely yours, Altynbek
>
> --
> 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 beancount+...@googlegroups.com
> <mailto:beancount+...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/CAOm1zMNq7utWd5TmsHUGEKVThhtskcoExPi3GEyNFE1Z6An_8Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CAOm1zMNq7utWd5TmsHUGEKVThhtskcoExPi3GEyNFE1Z6An_8Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Altynbek Isabekov

unread,
Feb 1, 2021, 7:39:59 PM2/1/21
to bean...@googlegroups.com
One can always compile a newer version of GCC, bison and python from source using the existing GCC :D

To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/2b15e334-ec0f-fd4d-fa01-751b4607db3f%40grinta.net.


--
Sincerely yours, Altynbek

William Bean

unread,
Feb 2, 2021, 6:37:02 AM2/2/21
to Beancount
Python 3.8.6 is installed on the machine. I will try the flags and see if I can make some progress. Thanks for the suggestions.

Daniele Nicolodi

unread,
Feb 2, 2021, 6:46:41 AM2/2/21
to bean...@googlegroups.com
On 02/02/2021 12:37, William Bean wrote:
> Python 3.8.6 is installed on the machine. I will try the flags and see
> if I can make some progress. Thanks for the suggestions.

I'll say it once more: the CFLAGS variable defined in the Makefile does
not control the compiler flags used to compile the Python extension.
Editing the Makefile would not increase your chances of successfully
compiling it.

William, it would be possible to help you if you would be able to
provide the exacts details of what you are doing and what exactly goes
wrong.

The fact that you cannot make pip install to work is already a strong
hint that something in your procedure or on your system is seriusly
flawed, and it has nothing to to with Beancount.

The beancount install procedure is tested regularly, and Beancount is
installed by dozens of users. I think that if there are basic flaws in
it, someone else would have encountered and reported them by now.

People on the mailing list can help you, but you need to provide
information about the environment in which you are working and the exact
commands you type with the exact output you obtain.

Cheers,
Dan
Reply all
Reply to author
Forward
0 new messages