After downloading the pnl.tbz.gpg 2 times under cygwin
I lunch install_sh provide from the source forge I get the
following message :
"tar: pnl/c_pgmtk/src/include/pnlRNG.hpp: Cannot hard
link to `pnl/c_pgmtk/src/in
clude/pnlRng.hpp': No such file or directory
bzip2: (stdin): trailing garbage after EOF ignored
tar: Error exit delayed from previous errors
Something goes wrong"
and the file "pnlRng.hpp" is missing so I can't build
Logged In: YES
user_id=924642
This version isn't designed for cygwin.
It designed for linux.
You may use previous version.
Logged In: YES
user_id=924623
I think you can still use it. It is just packaged for Linux. All
windows stuff is in place.
it goes such bad in cygwin because Windows has case
insensitive filesystem. For some reason we have file
pnlRng.hpp and pnlRNG.hpp is link to former. Second problem
that you can encounter is that text files has Unix endlines.
MSVC6 studio would consider such .dsw workspace broken.
As a workaround you can do the following. After executing
install_pnl.sh and receiving the error from tar, you will end up
with directory pnl with sources.
First defect -- there are missing file
pnl/c_pgmtk/src/include/pnlRng.hpp
To fix that you can manually decrypt archive:
gpg pnl.tbz.gpg
Enter "herein I accept license terms" as a password (without
quotation marks).
You will get file pnl.tbz
Then do:
tar xjf pnl.tbz pnl/c_pgmtk/src/include/pnlRng.hpp
To fix endlines, run:
for fl in $(find pnl -type f); do { file $fl | grep text
> /dev/null; } && sed 's/$/\\r/' $fl > crtmp; mv crtmp $fl;
done 2> /dev/null
Logged In: YES
user_id=924623
oops. Script should be:
for fl in $(find pnl -type f); do { file $fl | grep text
> /dev/null; } && sed s/$/\\r/ $fl > crtmp; mv crtmp $fl;
done 2> /dev/null
Logged In: YES
user_id=924623
mmm.. but after that you still will have problems -- there is
no cxcore.lib.
Logged In: YES
user_id=924623
possibly cxcore.lib from previous release would work..