[PD-dev] compiling individual debs

Hans-Christoph Steiner hans at eds.org
Tue Apr 29 19:26:01 CEST 2003


I did just comment stuff out to get it working, but I thought there might
be something like: debuild --package=pd-externals

> yes, this and which version of Debian are you working on.
> (There is no build depend on fluidsynth included in the packageing yet)

I am using Debian stable (Woody) with DeMuDI, and GNOME 2.2/XF86 4.2 from
Sid.  I attached my sources.list.

The first error I get is to do with oggamp~.  I fixed this by adding
-DUNIX to build/linux/Makefile (I just commited this fix):

gcc -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow
-Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch
-I. -I.. -I../include -o "oggamp~.o" -c "../src/oggamp~.c"
In file included from ../src/oggamp~.c:1:
../src/../../pdogg/oggamp~/oggamp~.c:55: io.h: No such file or directory
../src/../../pdogg/oggamp~/oggamp~.c:56: winsock.h: No such file or
directory
../src/../../pdogg/oggamp~/oggamp~.c:57: winbase.h: No such file or
directory
make[1]: *** [oggamp~.pd_linux] Error 1
make[1]: Leaving directory `/tmp/externals/build/linux'
make: *** [build-stamp] Error 2


then I got this, which I got around by deleting oggread~.c from build/src:

gcc -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow
-Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch
-I. -I.. -I../include -o "oggread~.o" -c "../src/oggread~.c"
In file included from ../src/oggread~.c:1:
../src/../../pdogg/oggread~/oggread~.c: In function
`oggread_decode_input':
../src/../../pdogg/oggread~/oggread~.c:123: warning: passing arg 3 of
`ov_read_float' makes pointer from integer without a cast
../src/../../pdogg/oggread~/oggread~.c:123: too many arguments to function
`ov_read_float'
../src/../../pdogg/oggread~/oggread~.c:115: warning: `ret' might be used
uninitialized in this function
../src/../../pdogg/oggread~/oggread~.c: In function `oggread_open':
../src/../../pdogg/oggread~/oggread~.c:295: warning: ordered comparison of
pointer with integer zero
make[1]: *** [oggread~.pd_linux] Error 1
make[1]: Leaving directory `/tmp/externals/build/linux'
make: *** [build-stamp] Error 2

But with fix you just submitted, plus compiling and installing fluidsynth
from source, it compiles now.  It would be nice to be able to compile
pd-externals .deb without having to install fluidsynth, but I can live
with commenting out things to make it work.

.hc

	zen
	   \
	    \
	     \
-------------- next part --------------
# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.

# GNOME/XIMIAN Sources
#deb http://red-carpet.ximian.com/debian/ stable main


#------------------------------------------------------------------------------
# DEV SOURCES
#------------------------------------------------------------------------------

# SoulSeek
deb http://www.arrakis.es/~frigola/pyslsk woody/

# XFree 4.2 for Woody
deb http://people.debian.org/~blade/woody/i386 ./

# GNOME 2.2 Sources
deb http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody gnome2.2/ 
deb-src http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody gnome2.2/

# KDE sources
# from http://www.cupis.co.uk/debian/kde3.html
#deb http://download.us.kde.org/pub/kde/stable/latest/Debian stable main 

# Kopete KDE Jabber Client
# from http://www.cupis.co.uk/debian/kde3.html
#deb http://www.geniussystems.net/opensource/kopete ./
 
# DeMuDi
#deb ftp://ftp.unix-ag.org/pub/mirrors/demudi woody demudi
deb http://http.demudi.org woody demudi
#deb ftp://ftp.agnula.org/demudi/ woody demudi 

# image/video format libs
deb http://marillat.free.fr/ stable main


#------------------------------------------------------------------------------
# CANONICAL SOURCES
#------------------------------------------------------------------------------


# RUTGERS mirror
deb http://ftp.rutgers.edu/pub/debian/ stable main non-free contrib
deb-src http://ftp.rutgers.edu/pub/debian/ stable main non-free contrib

# RCN.NET mirror
deb http://mirrors.rcn.net/debian/ stable main
deb-src http://mirrors.rcn.net/debian/ stable main

# KERNEL.ORG mirror
#deb http://mirrors.kernel.org/debian/ stable main
#deb-src http://mirrors.kernel.org/debian/ stable main

# DEBIAN US mirror
#deb http://http.us.debian.org/debian/ stable main non-free contrib
#deb-src http://http.us.debian.org/debian/ stable main non-free contrib

##
## non-US mirrors
##
#deb http://tux.u-strasbg.fr/debian-non-US stable/non-US main contrib non-free
#deb-src http://tux.u-strasbg.fr/debian-non-US stable/non-US main contrib non-free
#
#deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

deb http://security.debian.org/ stable/updates main contrib non-free



More information about the Pd-dev mailing list