wk8 / neatx

Automatically exported from code.google.com/p/neatx
GNU General Public License v2.0
0 stars 2 forks source link

Unable to make in FreeBSD #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make neatx in FreeBSD 7.0-RELEASE
2.
3.

What is the expected output? What do you see instead?
# make
make  all-am
gcc -DHAVE_CONFIG_H -I.    -Wall -Werror -
DPKGLIBDIR=\"/usr/local/lib/neatx\" -g -O2 -MT fdcopy.o -MD -MP -MF 
.deps/fdcopy.Tpo -c -o fdcopy.o `test -f 'src/fdcopy.c' || echo 
'./'`src/fdcopy.c
mv -f .deps/fdcopy.Tpo .deps/fdcopy.Po
gcc -Wall -Werror -DPKGLIBDIR=\"/usr/local/lib/neatx\" -g -O2   -o 
src/fdcopy fdcopy.o  
/usr/local/bin/gmkdir -p autotools  doc  extras  lib  lib/app  src  test  
test/python
touch stamp-directories
set -e;  progname=`basename src/nxnode-wrapper | sed -e 's/-wrapper//'`;  
./autotools/gen-log-wrapper "/usr/local/lib/neatx/$progname" 
"/usr/local/lib/python2.5/site-packages" > src/nxnode-wrapper || rm -f 
src/nxnode-wrapper
chmod u+x src/nxnode-wrapper
set -e;  progname=`basename src/nxserver-login-wrapper | sed -e 's/-
wrapper//'`;  ./autotools/gen-log-wrapper "/usr/local/lib/neatx/$progname" 
"/usr/local/lib/python2.5/site-packages" > src/nxserver-login-wrapper || rm 
-f src/nxserver-login-wrapper
chmod u+x src/nxserver-login-wrapper
set -e;  module=`basename src/nxdialog | tr - _`;  { echo 
"#!/usr/bin/python";  echo '# This file is automatically generated, do not 
edit!';  echo "from neatx.app import $module";  echo "$module.Main()";  } > 
src/nxdialog || rm -f src/nxdialog
chmod u+x src/nxdialog
set -e;  module=`basename src/nxnode | tr - _`;  { echo 
"#!/usr/bin/python";  echo '# This file is automatically generated, do not 
edit!';  echo "from neatx.app import $module";  echo "$module.Main()";  } > 
src/nxnode || rm -f src/nxnode
chmod u+x src/nxnode
set -e;  module=`basename src/nxserver | tr - _`;  { echo 
"#!/usr/bin/python";  echo '# This file is automatically generated, do not 
edit!';  echo "from neatx.app import $module";  echo "$module.Main()";  } > 
src/nxserver || rm -f src/nxserver
chmod u+x src/nxserver
set -e;  module=`basename src/nxserver-login | tr - _`;  { echo 
"#!/usr/bin/python";  echo '# This file is automatically generated, do not 
edit!';  echo "from neatx.app import $module";  echo "$module.Main()";  } > 
src/nxserver-login || rm -f src/nxserver-login
chmod u+x src/nxserver-login
set -e;  { echo '# This file is automatically generated, do not edit!';  
echo '#';  echo '';  echo '"""Build-time configuration.';  echo ''; echo 
'This file is autogenerated by the build process.';  echo 'For any changes 
you need to re-run ./configure and';  echo 'not edit by hand.';  echo '';  
echo '"""';  echo '';  echo "PACKAGE_VERSION = '0.3.1'";  echo 
"VERSION_MAJOR = '0'";  echo "VERSION_MINOR = '3'";  echo "VERSION_REVISION 
= '1'";  echo "VERSION_SUFFIX = ''";  echo "VERSION_FULL = '0.3.1'";  echo 
"LOCALSTATEDIR = '/usr/local/var'";  echo "SYSCONFDIR = '/usr/local/etc'";  
echo "PKGLIBDIR = '/usr/local/lib/neatx'";  } > lib/_autoconf.py
set -e;  { echo 's#@PREFIX@#/usr/local#g';  echo 
's#@SYSCONFDIR@#/usr/local/etc#g';  echo 
's#@LOCALSTATEDIR@#/usr/local/var#g';  echo 
's#@SBINDIR@#/usr/local/sbin#g';  echo 
's#@PKGLIBDIR@#/usr/local/lib/neatx#g';  echo 
's#@PKGPYTHONDIR@#/usr/local/lib/python2.5/site-packages/neatx#g';  } > 
autotools/replace_vars.sed
sed -f autotools/replace_vars.sed <  > extras/upload
Syntax error: redirection unexpected
*** Error code 2

Stop in /root/neatx-read-only2/neatx.
*** Error code 1

Stop in /root/neatx-read-only2/neatx.

What version of the product are you using? On what operating system?
FreeBSD 7.0, neatx r43

Please provide any additional information below.

Original issue reported on code.google.com by yurich...@gmail.com on 9 Oct 2009 at 11:11

GoogleCodeExporter commented 9 years ago
I'm guessing the issue here is 'make' on fbsd isn't gnu make. A simple work 
around
would be to change
http://code.google.com/p/neatx/source/browse/trunk/neatx/Makefile.am#142 from:

    sed -f $(REPLACE_VARS_SED) < $< > $@

to:

    sed -f $(REPLACE_VARS_SED) < extras/upload.in > $@

Original comment by kormat on 11 Oct 2009 at 1:43

GoogleCodeExporter commented 9 years ago
Thank you very match.
yes, 'make' on fbsd isn't gnu make.

Original comment by yurich...@gmail.com on 12 Oct 2009 at 3:37

GoogleCodeExporter commented 9 years ago
Ok, that makes sense so. As INSTALL mentions, Gnu Make is a requirement, so i'm 
going
to mark this as WontFix. Thanks,

Steve

Original comment by kormat on 24 Oct 2009 at 6:54