| Author |
Message |
darkcity

Joined: 23 May 2010 Posts: 2218 Location: near here
|
Posted: Mon 14 May 2012, 16:42 Post_subject:
new2dir ./waf install = useless PET ? |
|
hi
i've been compiling some packages from
http://drobilla.net/
including lilv, they are written in Python. So I've been using
new2dir ./waf install
this installs to system but creates useless PETs which only contain broken links. Has anyone else experienced this? Also, can new2dir just compile to dir without installing on system?
_________________ Wiki Audacity 2.0.1
|
|
Back to top
|
|
 |
Speedyluck
Joined: 30 Jan 2010 Posts: 48
|
Posted: Thu 17 May 2012, 10:52 Post_subject:
|
|
I don't remember where in the blog, Barry has written that on Precise puppy version there is a bug on DevX (missing something) and new2dir don't work all right.
But i don't find the post!
|
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2218 Location: near here
|
Posted: Thu 17 May 2012, 10:57 Post_subject:
|
|
I'm using Polarpup 005 which is like lucid, I have a suspicion that I just need to set parameter of new2dir ?
_________________ Wiki Audacity 2.0.1
|
|
Back to top
|
|
 |
Speedyluck
Joined: 30 Jan 2010 Posts: 48
|
Posted: Sun 20 May 2012, 19:03 Post_subject:
|
|
sorry, i don't know, with lucid 5.2.5 seems allright;
i think is something missed on devx (as in Barry blog post), but i not sure, and i don't believe the new2dir script has changed.
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2731 Location: Kiel,Germany
|
Posted: Sat 26 May 2012, 05:58 Post_subject:
|
|
just run ./waf install and run
| Code: | pet_dir="`basename $(pwd)`-i486"
F=`find /usr -mmin -5 |sort -d`
mkdir ../$pet_dir
for i in $F;do
[ -d $i ] && { mkdir -p ../$pet_dir/$i;continue; }
dn=${i%/*}
mkdir -p ../$pet_dir/$dn
cp -ai $i ../$pet_dir/$dn/$i
done
|
this has to be stripped manually and only searches in /usr .
Edited_times_total
|
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2218 Location: near here
|
Posted: Wed 30 May 2012, 05:08 Post_subject:
|
|
thanks for the answer, and especially Karl Godt for the script.
Will check next time I have a go at compiling Python things.
_________________ Wiki Audacity 2.0.1
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2731 Location: Kiel,Germany
|
Posted: Wed 30 May 2012, 05:37 Post_subject:
|
|
OK, found a typo in my script example :
started with "pet_dir" and had switched to "petdir" ..
correcting it now .
|
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2218 Location: near here
|
Posted: Mon 02 Jul 2012, 13:02 Post_subject:
|
|
new2dir doesn't seem to work with scons either
new2dir scons install
http://www.scons.org/
will try Karl's script
_________________ Wiki Audacity 2.0.1
|
|
Back to top
|
|
 |
amigo
Joined: 02 Apr 2007 Posts: 1776
|
Posted: Mon 02 Jul 2012, 13:23 Post_subject:
|
|
src2pkg handles both waf and scons, plus many others.
|
|
Back to top
|
|
 |
|