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 Sun 31 Aug 2014, 06:47
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 Posts_count  
Author Message
darkcity


Joined: 23 May 2010
Posts: 2444
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_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: 2444
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_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: 3964
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 .

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
darkcity


Joined: 23 May 2010
Posts: 2444
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_website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3964
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_website 
darkcity


Joined: 23 May 2010
Posts: 2444
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_website 
amigo

Joined: 02 Apr 2007
Posts: 2237

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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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