Project

General

Profile

Bug #311

CVS head build fails on some linux systems--selection library

Added by Peter Kasson over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Erik Lindahl
Category:
mdrun
Target version:
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

Description

CVS head build fails on some linux systems

Make fails on a system with kernel version: 2.6.18-53.1.19.el5
This system didn't have yacc installed by default; yacc is now required by selection, and this is apparently not tested by configure. I installed byacc via yum.

Makes in the head branch work for me under OS/X (10.4 and 10.5) and on a machine with kernel 2.6.18-92.1.13.el5.centos.plus

The error message where this fails is:

Making all in selection
make4: Entering directory `/home/server/FAHdev/new/gmx/src/gmxlib/selection'
byacc -d parser.y
byacc: e - line 162 of "parser.y", syntax error
%destructor { free($$); } STR IDENTIFIER string
^

selection commit was by teemu

History

#1 Updated by David van der Spoel over 10 years ago

Hi Peter,

has this been fixed now?

#2 Updated by Erik Lindahl over 10 years ago

Hi,

Teemu changed the build to use the (generated) .c/.h files as "original" source in the Makefile.am, and I've modified the build system to not require or even detect bison/yacc. In other words this should work fine now, so let's close it unless Peter or Teemu has other opinions.

Also available in: Atom PDF