There was a comment here a while ago mentioning about copying some of
the *.py files into your path and calling it a day. But what files
does one copy? Do any of them need to be renamed? I don't need the
desktop. Just the spider and converter and the resulting pdb file(s).
Command line only is just fine.
I posted a C++ bug here a few months ago. No joy.
I have lurked hoping to find a solution. No joy.
I have googled to no end. I post this here in an attempt to get some
issues fixed and to make a record of what had to be done in order to
get it working so that it may help others.
cd plucker-1.8
sudo ./configure --disable-desktopbuild --disable-gtkviewer
--disable-palmosbuild
Version one:
make ; sudo make install
make install bombs because
cp AUTHORS BUGREPORT COPYING CREDITS ChangeLog FAQ NEWS README REQUIREMENTS
TODO /usr/local/share/plucker/doc
cp: cannot stat `TODO': No such file or directory
make: *** [install-data] Error 1
touch TODO
and sudo make install again, no errors.
The installer should not choke on a missing file that is not manditory
for the running of the app.
ls /usr/local/bin/pluck*
lrwxr-xr-x 1 root root 36 2005-03-02 23:23 /usr/local/bin/pluck-comics ->
/usr/local/PyPlucker/pluck-comics.py
-rwxr-xr-x 1 root root 116093 2004-11-08 07:49 /usr/local/bin/plucker*
lrwxr-xr-x 1 root root 30 2005-03-02 23:23 /usr/local/bin/plucker-build ->
/usr/local/PyPlucker/Spider.py
lrwxr-xr-x 1 root root 35 2005-03-02 23:23 /usr/local/bin/plucker-decode
-> /usr/local/PyPlucker/PluckerDocs.py
lrwxr-xr-x 1 root root 30 2005-03-02 23:23 /usr/local/bin/plucker-dump ->
/usr/local/PyPlucker/Decode.py
-rwxr-xr-x 1 root root 5223 2005-03-02 23:56 /usr/local/bin/plucker-setup*
Each of those links is a dead link. The actual locations should point
to files in /usr/lib/python2.3/site-packages/PyPlucker/
So I correct that.
Then I can run
plucker-build -c -H ~/.plucker/home.html
Which results in good news and then bad:
Wrote 374 <= plucker:/~special~/links1
Wrote 375 <= plucker:/~special~/links201
Done!
Traceback (most recent call last):
File "/usr/local/bin/plucker-build", line 1768, in ?
sys.exit(realmain(None))
File "/usr/local/bin/plucker-build", line 1762, in realmain
os.remove(os.path.join(tempfile.tempdir, file))
OSError: [Errno 1] Operation not permitted: '/tmp/tmp.xpi'
So then we try and continue
plucker-build -f file
Which results in:
exactly the same error as above
But this does work. It results in a readable file. But should anyone
have to go through this much manual work in the make process? What
are these errors for if they do not prevent it from working?
Version two: this one is mostly a rant because using the
install-plucker in the unix dir shouldn't have so many issues.
cd unix
running install-plucker as a non-root user is not an option because
some files like /home/faux/plucker-1.8/viewer-GTK+2-POSIX will get
permissioned as root/root and you will get permission errors. Same
reason the configure command above is done sudo
running it as sudo results in:
gmake: *** [palmos_client] Error 2
Traceback (most recent call last):
File "./install-plucker", line 140, in ?
os.symlink(os.path.join(MOD_DIR, "PyPlucker", "Spider.py"),
os.path.join(BIN_DIR, "plucker-build"))
OSError: [Errno 17] File exists
commenting out the following lines in install-plucker helps remove
that and other errors that result if one doesn't comment them out:
if os.path.exists(os.path.join(BIN_DIR, "plucker-build")):
os.remove(os.path.join(BIN_DIR, "plucker-build"))
os.symlink(os.path.join(MOD_DIR, "PyPlucker", "Spider.py"),
os.path.join(BIN_DIR, "plucker-build"))
if os.path.exists(os.path.join(BIN_DIR, "plucker-decode")):
os.remove(os.path.join(BIN_DIR, "plucker-decode"))
os.symlink(os.path.join(MOD_DIR, "PyPlucker", "PluckerDocs.py"),
os.path.join(BIN_DIR, "plucker-decode"))
if os.path.exists(os.path.join(BIN_DIR, "plucker-dump")):
os.remove(os.path.join(BIN_DIR, "plucker-dump"))
os.symlink(os.path.join(MOD_DIR, "PyPlucker", "Decode.py"),
os.path.join(BIN_DIR, "plucker-dump"))
So we run the install command again:
gmake[1]: Entering directory `/home/faux/plucker-1.8/viewer-GTK+2-POSIX'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/home/faux/plucker-1.8/viewer-GTK+2-POSIX'
gmake: *** No rule to make target `install-prc-files'. Stop.
Why is it going into viewer-GTK+2-POSIX ? Didn't I tell it to not
build gtkviewer with the --disable-gtkviewer option?
So I add a "install-prc-files: : " section in
/home/faux/plucker-1.8/viewer-GTK+2-POSIX/Makefile just to get past
it. I get the same error again. Why? Because
/home/faux/plucker-1.8/viewer-GTK+2-POSIX/Makefile was overwritten by
some portion of theinstall-plucker script.
--
.-')) fauxascii.com ('-. | It's a damn poor mind that
' ..- .:" ) ( ":. -.. ' | can only think of one way to
((,,_;'.;' UIN=66618055 ';. ';_,,)) | spell a word.
((_.YIM=Faux_Pseudo :._)) | - Andrew Jackson
_______________________________________________
plucker-list mailing list
[email protected]
http://lists.rubberchicken.org/mailman/listinfo/plucker-list