The time now is Fri 20 Apr 2018, 04:57
All times are UTC - 4 |
Author |
Message |
harii4

Joined: 30 Jan 2009 Posts: 449 Location: La Porte City, IA , U.S.A.
|
Posted: 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
If anyone could package this - i would be very thankful
_________________ 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
|
|
 |
amigo
Joined: 02 Apr 2007 Posts: 2641
|
Posted: 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
|
|
 |
harii4

Joined: 30 Jan 2009 Posts: 449 Location: La Porte City, IA , U.S.A.
|
Posted: Mon 18 Jun 2012, 20:06 Post subject:
|
|
Thank You - That worked great
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
|
|
 |
|
|
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.0415s ][ Queries: 14 (0.0103s) ][ GZIP on ] |