I am using genders on FreeBSD, it will compile fine and the python module will also compile fine, but i am having trouble with the perl module. I sue the perl module a lot on Redhat and would like to use it on FreeBSD. The bottom most error i get is:
libtool: link: (cd ".libs" && rm -f "libgendersplusplus.so" && ln -s "libgendersplusplus.so.1" "libgendersplusplus.so")
libtool: link: (cd ".libs" && rm -f "libgendersplusplus.so" && ln -s "libgendersplusplus.so.1" "libgendersplusplus.so")
libtool: link: ar cru .libs/libgendersplusplus.a libgendersplusplus_la-gendersplusplus.o
libtool: link: ranlib .libs/libgendersplusplus.a
libtool: link: ( cd ".libs" && rm -f "libgendersplusplus.la" && ln -s "../libgendersplusplus.la" "libgendersplusplus.la" )
Making all in perl
Making all in Libgenders
if ! test -a Makefile.PL; then cp ./Makefile.PL .; fi
test: -a: unexpected operator
cp: ./Makefile.PL and ./Makefile.PL are identical (not copied).
*** Error code 1
Stop in /home/me/BUILD/ports/genders/work/genders-1.18/src/extensions/perl/Libgenders.
*** Error code 1
Any help would be appreciated. I am working to build a port for FreeBSD, and after i get the perl module to compile i will submit it to the ports tree (then i can get the pdsh maintainer to add genders to the build in the portage tree).
Thanks,
Sean
Apology on the late reply. Sourceforge does not e-mail on tracker updates, so I wasn't aware this was here.
It seems to be a shell issue as the '-a' test ("file exists") isn't known. What is the equivalent for BSD? A simple hack to replace -a w/ the BSD equivalent would probably work.
I'm not 100% sure of the most portable issue, but I can look into it.