Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Build debian package on Debian/kFreeBSD
Re: Build debian package on Debian/kFreeBSD [message #41207 is a reply to message #41191] Tue, 12 November 2013 18:30 Go to previous messageGo to previous message
vicxtor is currently offline  vicxtor
Messages: 4
Registered: November 2013
Junior Member
Quote:

Also, the flags detected by the makefile are not quite correct. Not sure if that makes some difference, but it might. You can fix them by adding PLATFORM=LINUX to the compiler lines in makefile:
ide:
	sed -i -e 's/IDE_VERSION[ \t]*"\([0-9]*\)[^"]*"/IDE_VERSION    "\1-'$(SERIES)-$(ARCH)'"/' $(CURDIR)/uppsrc/ide/version.h
	$(MAKE) -f mkfile JOBS=$(JOBS) PKG=ide "NESTS=uppsrc" $(OPTS) "FLAGS=GUI GCC DEBUG DEBUG_FULL" TARGET=`pwd`/$@  PLATFORM=LINUX

ide-nogtk:
	sed -i -e 's/IDE_VERSION[ \t]*"\([0-9]*\)[^"]*"/IDE_VERSION    "\1-'$(SERIES)-$(ARCH)'-nogtk"/' $(CURDIR)/uppsrc/ide/version.h
	$(MAKE) -f mkfile JOBS=$(JOBS) PKG=ide "NESTS=uppsrc" $(OPTS) "FLAGS=GUI NOGTK GCC" TARGET=`pwd`/$@  PLATFORM=LINUX

umk:
	$(MAKE) -f mkfile JOBS=$(JOBS) PKG=umk "NESTS=uppsrc" $(OPTS) "FLAGS=GCC" TARGET=`pwd`/$@ PLATFORM=LINUX


Hope this helps... If not, let me know what else needs to be fixed Wink

Best regards,
Honza


This fix is correct.

I modify the patch debian-changes-5485-1~sid0
from
+PLATFORM:=`uname | tr a-z A-Z` POSIX
to
+PLATFORM:=`uname | tr a-z A-Z` LINUX POSIX

then all files compiled successfully and all .debs generated.

Install and run some GUI tutorials without problems.

Tested on Debian/kFreeBSD 7 i386 & amd64.

Thank you very much. Very Happy
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ultimate++ is a source only library?
Next Topic: Problem with IMCENUMPROC
Goto Forum:
  


Current Time: Sat May 11 18:34:02 CEST 2024

Total time taken to generate the page: 0.04095 seconds