Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Jul 2014, 06:06
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
new2dir ./waf install = useless PET ?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
darkcity


Joined: 23 May 2010
Posts: 2424
Location: near here

PostPosted: 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?

Twisted Evil

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
Speedyluck

Joined: 30 Jan 2010
Posts: 48

PostPosted: 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
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2424
Location: near here

PostPosted: 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 ?
_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
Speedyluck

Joined: 30 Jan 2010
Posts: 48

PostPosted: 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
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3953
Location: Kiel,Germany

PostPosted: 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 .

Last edited by Karl Godt on Wed 30 May 2012, 05:42; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
darkcity


Joined: 23 May 2010
Posts: 2424
Location: near here

PostPosted: 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.

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3953
Location: Kiel,Germany

PostPosted: 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" .. Embarassed

correcting it now .
Back to top
View user's profile Send private message Visit poster's website 
darkcity


Joined: 23 May 2010
Posts: 2424
Location: near here

PostPosted: 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

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
amigo

Joined: 02 Apr 2007
Posts: 2217

PostPosted: Mon 02 Jul 2012, 13:23    Post subject:  

src2pkg handles both waf and scons, plus many others.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0497s ][ Queries: 12 (0.0034s) ][ GZIP on ]