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 Fri 31 Oct 2014, 16:14
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
ERROR! adding patch (yeahlaunch-0.3) [solved]
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
harii4


Joined: 30 Jan 2009
Posts: 444
Location: La Porte City, IA , U.S.A.

PostPosted: Sun 17 Jun 2012, 20:49    Post subject:  ERROR! adding patch (yeahlaunch-0.3) [solved]
Subject description: solved
 

Using src2pkg on TXZ_Pup with the src2pkg gui conf.

must be an badly written Makefiles or configure scripts -
have to be in the patch because it gives an same error.
But makes the yeahlaunch-0.2 packages fine without patch?

Code:
# cd $HOME/yeahlaunch                         
# src2pkg -CWD yeahlaunch-0.3.tar.gz         
Found source archive: yeahlaunch-0.3.tar.gz
Creating working directories:
   PKG_DIR=/root/yeahlaunch/yeahlaunch-0.3-i486-1
   SRC_DIR=/root/yeahlaunch/yeahlaunch-0.3-src-1
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - None found
Skipping configuration: Nothing to be done
Continuing - We found at least one Makefile
Compiling sources - Using: 'make'
ERROR! Compiling source code has failed.
This usually happens because of missing libraries, or
badly written Makefiles or configure scripts.
Sorry! No Dependency or Requirements information found.

# src2pkg -CWD yeahlaunch-0.2.tar.gz
Found source archive: yeahlaunch-0.2.tar.gz
Creating working directories:
   PKG_DIR=/root/yeahlaunch/yeahlaunch-0.2-i486-1
   SRC_DIR=/root/yeahlaunch/yeahlaunch-0.2-src-1
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - Found
Applying: yeahlaunch-0.3.patch
   Notice - Running 'make clean' in SRC_DIR - Done
Skipping configuration: Nothing to be done
Continuing - We found at least one Makefile
Compiling sources - Using: 'make'
ERROR! Compiling source code has failed.
This usually happens because of missing libraries, or
badly written Makefiles or configure scripts.
Sorry! No Dependency or Requirements information found.

# src2pkg -CWD yeahlaunch-0.2.tar.gz
Found source archive: yeahlaunch-0.2.tar.gz
Deleting old build files - Done
Creating working directories:
   PKG_DIR=/root/yeahlaunch/yeahlaunch-0.2-i486-1
   SRC_DIR=/root/yeahlaunch/yeahlaunch-0.2-src-1
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - None found
Skipping configuration: Nothing to be done
Continuing - We found at least one Makefile
Compiling sources - Using: 'make'
Compiling has been - Successful!
Checking for Makefile rule: 'install' Okay
Creating content in JAIL root - Using: 'make install'
Safe content creation - Successful!
Processing package content:
Correcting package permissions - Done
Stripping ELF binaries - Using: strip -p --strip-unneeded Done
Checking for minimal set of documents - Done
Creating slack-desc - Searching for links in: yeahlaunch-0.2-i486-1 - None found
Rechecking package correctness -
Checking for misplaced dirs -
   Notice - Package contains /usr/local directory, but PRE_FIX is: /usr
   You may need to patch the Makefile(s) to correct the installation prefix.
Rechecking package permissions - Done
Creating package: 'yeahlaunch-0.2-i486-1.pet' - Done
Package Creation - Successful! Package location:
/root/yeahlaunch/yeahlaunch-0.2-i486-1.pet


web site:http://www.bstern.org/yeahlaunch/

I'm over my head here Sad
If anyone could package this - i would be very thankful Smile

_________________
3.01 Fat Free / Fire Hydrant featherweight/ TXZ_pup / 431JP2012
----------------------------------------------------------------------------------------
Peace and Justice are two sides of the same coin.

Last edited by harii4 on Mon 18 Jun 2012, 20:07; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
amigo

Joined: 02 Apr 2007
Posts: 2263

PostPosted: Mon 18 Jun 2012, 04:11    Post subject:  

I checked out the sources and patch -the problem is with the first 'hunk' of the patch which comments the line:
LIB_DIRS = -L/usr/X11R6/lib
On my old system (Slackware-11.0) leaving off the part of the patch to the Makefile makes it work. But for Puppy I'm guessing you need to leave in the part of the patch for the Makefile, but make it read:

Code:
diff -ruwb yeahlaunch-0.2/Makefile yeahlaunch-0.3/Makefile
--- yeahlaunch-0.2/Makefile   2004-12-12 12:24:42.000000000 -0500
+++ yeahlaunch-0.3/Makefile   2011-11-30 17:10:30.000000000 -0500
@@ -7,8 +7,10 @@
 
 LIBS = -lX11
 INCLUDES = -I/usr/X11R6/include
-LIB_DIRS = -L/usr/X11R6/lib
-FLAGS = -Os -Wall
+# On modern distributions, this seems to be unneeded.  Uncomment and fix as
+# needed if the build breaks.
+LIB_DIRS = -L/usr/X11R7/lib
+FLAGS = -Os -Wall -Werror
 
 OBJECTS := yeahlaunch.o
 SOURCES := yeahlaunch.c
Back to top
View user's profile Send private message 
harii4


Joined: 30 Jan 2009
Posts: 444
Location: La Porte City, IA , U.S.A.

PostPosted: Mon 18 Jun 2012, 20:06    Post subject:  

Thank You - That worked great Very Happy
Seen all the code and got freaked.

Not much of an application but its one I like to use.
src2pkg is an great tool -

_________________
3.01 Fat Free / Fire Hydrant featherweight/ TXZ_pup / 431JP2012
----------------------------------------------------------------------------------------
Peace and Justice are two sides of the same coin.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 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.0657s ][ Queries: 12 (0.0189s) ][ GZIP on ]