Boost logo

Boost-Build :

Subject: [Boost-build] Installing boost 1.59 from .tgz on Linux Mint 17.3 failed with "command.c(63): error: identifier "__INT_MAX__" is undefined"
From: Andreas Delleske (delleske_at_[hidden])
Date: 2015-12-16 05:46:17

Dear list,

I'm trying to install boost 1.59 with Intel C++ Compiler 2016 on a fresh
Linux Mint 17.2 / now 17.3.

I've done this (on other GNU/Linuxes) before, but now I get these errors:

--------- snip ---------
### Using 'intel-linux' toolset.
rm -rf bootstrap
mkdir bootstrap
icc -o bootstrap/jam0 command.c compile.c debug.c expand.c glob.c hash.c
hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c
newstr.c option.c output.c parse.c pathunix.c pathvms.c regexp.c rules.c
scan.c search.c subst.c timestamp.c variable.c modules.c strings.c
filesys.c builtins.c pwd.c class.c native.c md5.c w32_getreg.c
modules/set.c modules/path.c modules/regex.c modules/property-set.c
modules/sequence.c modules/order.c execunix.c fileunix.c
command.c(63): error: identifier "__INT_MAX__" is undefined
      while ( ( allocated < 0 ) && ( max_line < INT_MAX / 2 ) );

compilation aborted for command.c (code 2)
expand.c(148): error: identifier "__INT_MAX__" is undefined
          while ( ( at_len < 0 ) && ( at_size < INT_MAX / 2 ) );

compilation aborted for expand.c (code 2)
newstr.c(86): error: type name is not allowed
          new_block = (strblock *)BJAM_MALLOC( offsetof( strblock,
data[0] ) + nalloc * sizeof( new_block->data[0] ) );

newstr.c(86): error: identifier "data" is undefined
          new_block = (strblock *)BJAM_MALLOC( offsetof( strblock,
data[0] ) + nalloc * sizeof( new_block->data[0] ) );

compilation aborted for newstr.c (code 2)

--------- snip ---------

When trying to fulfill the dependencies, I was able to install python,
python-dev, bzip2 but I have no bzip2-devel, no bjam package. However,
bjam can be found when unpacking boost.

I was also hoping that already checks for dependencies but
apparently not in this enviroment (Linux Mint is closely based on Ubuntu

By the way: In your documentation,

in chapter 5.2.2, the Intel compiler target is named "intel" while the
correct choice is and has been "intel-linux". Or am I missing something?

Do I need to submit a bug report and where?

I would greatly appreciate any help on the matter..



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at