Bug 5881 - make install error on solaris
Summary: make install error on solaris
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.2
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.2.4
Hardware: Sparc Solaris
: P3 major
Target Milestone: ---
Assignee: Michael Adam
QA Contact: Samba QA Contact
URL:
Keywords:
: 5907 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-07 11:38 UTC by Dan Thurston
Modified: 2018-03-27 22:50 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Thurston 2008-11-07 11:38:20 UTC
it may just be something with the make file but i get errors running "make install" on  Solaris 10. 
-------------------
. . .
sh: test: argument expected
*** Error code 1 (ignored)
: bin/libtalloc.a //usr/local/samba/lib
./install-sh -c -m 0644 /usr/local/src/samba-3.2.4/source/lib/talloc/talloc.h //usr/local/samba/include
./install-sh -c bin/libtdb.so.1 //usr/local/samba/lib
if test -e bin/libtdb.so.1 ; then \
        ln -s -f `basename bin/libtdb.so.1` \
                //usr/local/samba/lib/`basename bin/libtdb.so` ; \
fi
sh: test: argument expected
*** Error code 1 (ignored)
: bin/libtdb.a //usr/local/samba/lib
./install-sh -c -m 0644 /usr/local/src/samba-3.2.4/source/lib/tdb/include/tdb.h //usr/local/samba/include
./install-sh -c bin/libwbclient.so.0 //usr/local/samba/lib
if test -e bin/libwbclient.so.0 ; then \
        ln -s -f `basename bin/libwbclient.so.0` \
                //usr/local/samba/lib/`basename bin/libwbclient.so` ; \
fi
sh: test: argument expected
*** Error code 1 (ignored)
./install-sh -c -m 0644 /usr/local/src/samba-3.2.4/source/nsswitch/libwbclient/wbclient.h //usr/local/samba/include
./install-sh -c bin/libnetapi.so.0 //usr/local/samba/lib
if test -e bin/libnetapi.so.0 ; then \
        ln -s -f `basename bin/libnetapi.so.0` \
                //usr/local/samba/lib/`basename bin/libnetapi.so` ; \
fi
sh: test: argument expected
*** Error code 1 (ignored)
: bin/libnetapi.a //usr/local/samba/lib
./install-sh -c -m 0644 /usr/local/src/samba-3.2.4/source/lib/netapi/netapi.h //usr/local/samba/include
./install-sh -c bin/libsmbclient.so.0 //usr/local/samba/lib
if test -e bin/libsmbclient.so.0 ; then \
        ln -s -f `basename bin/libsmbclient.so.0` \
                //usr/local/samba/lib/`basename bin/libsmbclient.so` ; \
fi

. . .
------------------------

It doesnt seem to be linking or copying the files to /usr/local/samba/...

I ran just a basic:
% ./configure
% make 
# make install
Comment 1 Eric Diven 2008-12-04 16:31:30 UTC
With samba 3.2.5 on S10U5, I see that the files are copied correctly, but that the links are not created.
Comment 2 Guenther Deschner 2009-08-06 09:34:44 UTC
Michael, is this resolved already ?
Comment 3 Karolin Seeger 2009-08-06 09:37:52 UTC
*** Bug 5907 has been marked as a duplicate of this bug. ***
Comment 4 Björn Jacke 2018-03-27 22:50:06 UTC
the old build system is dead, the waf build is the only supported one. If you see errors with that, please open a new bug report for that.