On Sat 24 May 2014 at 17:12:23 -0500, Matthew D. Fuller wrote:
> Other than that, please test and comment!  If it does well, we wanna
> land it, and if it doesn't, we'll need to come up with a backup plan.

It seems it gets some argument to yacc not quite right. Bison is
currently not installed (I think I deinstalled it to test the Imakefile
for that case) I'm not really familiar with cmake but I'll have a look
if I can see which argument it is that yacc objects to.

I wonder if a cmake installation can automatically knows that NetBSD
requires the link command to include the -R or --rpath or -rpath or
-Wl,-R or -Wl,-rpath (which option(s) work depends a bit on the version
of the tools). The option includes the library search path in the
executable.  So basically all -L options need corresponsing -R (etc)
options. (This is better than a system-wide library search path, since
it is too easy to get conflicting versions of the "same" library
installed: think of 2 versions of gcc or g++ and its runtime support
library.)

I guess we'll find out after this little hurdle.

Script started on Sun May 25 10:53:01 2014
( cd build && cmake -DCMAKE_C_FLAGS:STRING="-O2" .. )
-- The C compiler identification is GNU 4.5.3
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Looking for XOpenDisplay in 
/usr/X11R7/lib/libX11.so;/usr/X11R7/lib/libXext.so
-- Looking for XOpenDisplay in 
/usr/X11R7/lib/libX11.so;/usr/X11R7/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/X11R7/lib/libX11.so
-- Enabling XPM support.
-- Found JPEG: /usr/pkg/lib/libjpeg.so  
-- Enabling libjpeg support.
-- Enabling m4 support (/home/rhialto/bin/m4).
-- Enabling GNOME1 support.
-- Looking for include file regex.h
-- Looking for include file regex.h - found
-- Looking for regexec
-- Looking for regexec - found
-- Enabling libc regex usage.
-- Found FLEX: /usr/bin/flex (found version "2.5.35") 
-- Could NOT find BISON (missing:  BISON_EXECUTABLE) 
-- Installing manpage to /usr/local/share/man/man1
-- Configuring done
-- Generating done
-- Build files have been written to: 
/mnt/vol1/rhialto/cvs/other/ctwm/bzr/cmake/build
( cd build && make all )
[  3%] Generating deftwmrc.c
[  7%] Generating gram.tab.c
Usage: /usr/bin/yacc [options] filename

Options:
  -b file_prefix        set filename prefix (default "y.")
  -d                    write definitions (y.tab.h)
  -i                    write interface (y.tab.i)
  -g                    write a graphical description
  -l                    suppress #line directives
  -o output_file        (default "y.tab.c")
  -p symbol_prefix      set symbol prefix (default "yy")
  -P                    create a reentrant parser, e.g., "%pure-parser"
  -r                    produce separate code and table files (y.code.c)
  -t                    add debugging support
  -v                    write description (y.output)
  -V                    show version information and exit
*** Error code 1

Stop.
make: stopped in /mnt/vol1/rhialto/cvs/other/ctwm/bzr/cmake/build
*** Error code 1

Stop.
make: stopped in /mnt/vol1/rhialto/cvs/other/ctwm/bzr/cmake/build
*** Error code 1

Stop.
make: stopped in /mnt/vol1/rhialto/cvs/other/ctwm/bzr/cmake/build
*** Error code 1

Stop.
make: stopped in /mnt/vol1/rhialto/cvs/other/ctwm/bzr/cmake

Script done on Sun May 25 10:53:02 2014

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl    -- 'this bath is too hot.'

Attachment: pgp9EObJ123iZ.pgp
Description: PGP signature

Reply via email to