Yes you are write, the last line is missing. Typing cpanm --reinstall Term::ReadLine::Gnu gives:
! Configure failed for Term-ReadLine-Gnu-1.23. See /Users/Dennis/.cpanm/work/1395320842.9441/build.log for details.
i did not see this error during the installation. The log file contains
cpanm (App::cpanminus) 1.7001 on perl 5.016002 built for darwin-thread-multi-2level
Work directory is /Users/Dennis/.cpanm/work/1395320861.9460
You have make /usr/bin/make
You have LWP 6.04
You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3
You have /usr/bin/unzip
Searching Term::ReadLine::Gnu on cpanmetadb ...
--> Working on Term::ReadLine::Gnu
Fetching
http://www.cpan.org/authors/id/H/HA/HAY ... .23.tar.gz
-> OK
Unpacking Term-ReadLine-Gnu-1.23.tar.gz
Entering Term-ReadLine-Gnu-1.23
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.63_02)
Configuring Term-ReadLine-Gnu-1.23
Running Makefile.PL
Found `/usr/lib/libtermcap.dylib'.
cc -arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -DHAVE_STRING_H rlver.c -o rlver -arch x86_64 -arch i386 -fstack-protector -L/usr/local/lib -lreadline -ltermcap
rlver.c:4:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main() { puts(rl_library_version); }
^~~~
1 warning generated.
rlver.c:4:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main() { puts(rl_library_version); }
^~~~
1 warning generated.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The libreadline you are using is the libedit library. Use the GNU Readline Library.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-> N/A
-> FAIL Configure failed for Term-ReadLine-Gnu-1.23. See /Users/Dennis/.cpanm/work/1395320861.9460/build.log for details.
~
I serched in the web for the error "The libreadline you are using is the libedit library." installing Term::ReadLine::Gnu and I found the following web page
http://blogs.perl.org/users/aristotle/2 ... negnu.html
There is the description of the trick you describe in the installation guide:
brew link --force readline
cpanm Term::ReadLine::Gnu
brew unlink readline
I applied it without the last line and now polymake works!!!!! Do you think this could cause problems in the future?
By the way thank you very much Andreas.