[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paragui-users] maintainers: what's going on???? -> sigc++ woes
From: |
Teunis Peters |
Subject: |
Re: [paragui-users] maintainers: what's going on???? -> sigc++ woes |
Date: |
Fri, 28 Feb 2003 09:06:28 -0800 (PST) |
On 28 Feb 2003, Alexander Pipelka wrote:
> Am Fre, 2003-02-28 um 10.01 schrieb Teunis Peters:
> > Okay.
> > I've got several things SEVERELY broken in the paragui opengl CVS tree.
> > Could someone -please- have warned someone?
>
> Hmm, I did some things but I don't think that I SEVEREKY broke anything.
entirely possible...
>
> > why is there now a sigc++ source tree?
>
> I added this for easy Win32 (gcc) compilation.
okay a little clearer now:
no matter what options, libsig++ is compiled...
paragui2-config includes references to srcdir (and sigc++) also
no matter what configure options are used
and yes libsigc++'s autogen.sh is missing in my tree... I'll have to see
if I can fix that this evening...
> > And why are the TEST apps disabled?????
> > That's serious too - especially for current debugging work.
> > Especially when -all- of the tests except gltest were working.
>
> Don't know what you mean. The directory's still there, there's a
> Makefile.am in it.
oh, it's got it's own configure.in + Makefile.am - history from a much
further ago split, probably to make a distro easier. I've been using the
testapps (and the mpeg plugin :) as test apps for development - and if
neither are created properly -- or if paragui2-config breaks -- something
is wrong.
> If you want to rebuild the 'test' app by a 'make' in the source root-dir
> just add 'test' to the 'SUBDIRS' var.
*heh* I think I will.... :)
> > I'm going to spend the next few days making sure noone's emasculated any
> > of my work. I'm a little paranoid at this point... I -had- an
> > almost-working system that compiled and ran in fallback (non-opengl) mode
> > pretty well...
>
> I'm sure every part of your great work is untouched.
apologies for overreaction... I've had stuff (elsewhere) dissappear
overnight before - I've taken to maintaining serious backups because of
that in the past but have tended not to lately due to lack of backup media
*sigh*. Anyways, overreaction - my bad.
> > dang... I'm going to have to learn how to track CVS changes between
> > renditions...
>
> There's a mailinglist for CVS commits.
*heh* didn't think of that. Right - signing up today :)
> > *sigh*
> > oh - whoever updated this also broke paragui2-config.
>
> No changes in there.
> cvs log for the latest version (paragui2-config.in):
> revision 1.1.2.2
> date: 2002/08/31 04:01:21; author: teunis; state: Exp; lines: +1 -1
> massive changes - updates from main trunk and various bugfixes
Right - I'm going to try and make more detailed logs of what I'm doing too :)
> Maybe something weird happened during your CVS update,...
paragui2-config.in:
echo $includes address@hidden@/paragui2 @PARAGUI_CFLAGS@
in configure.in:
internalsigc=no
AC_ARG_ENABLE(internalsigc,
[ --enable-internalsigc enable internal LibSigC++ version],
internalsigc=yes
)
if test x$internalsigc = xno; then
PKG_CHECK_MODULES(SIGC, $PKG_SIGC >= $SIGC_VERSION)
else
SIGC_CFLAGS="-I\$(srcdir)/../libsigc++/sigc++/config
-I\$(srcdir)/../libsigc++"
SIGC_LIBS="./libsigc++/sigc++/libsigc-1.2.la"
SIGC_SUBDIR="libsigc++"
LIBSIGC=""
fi
..
PARAGUI_CFLAGS="$STL_CFLAGS $SIGC_CFLAGS $FREETYPE_CFLAGS $SDL_CFLAGS
$RTTI_FLAGS $EXTRA_FLAGS"
...
first of all - internalsigc should NEVER be true except on platforms that
don't have it. debian these days is tending towards making it a core
component as it's required by a number of things....
check out the section starting with "dnl Figure out which math library to use"
for platform-checking... although it doesn't handle the special case of
embedded platforms...
as a comment, this is the bit I found in the --cflags option of
paragui2-config:
SIGC_CFLAGS="-I\$(srcdir)/../libsigc++/sigc++/config
-I\$(srcdir)/../libsigc++"
My configure line:
../configure --enable-internalexpat --enable-internalphysfs \
--disable-internalsigc \
--prefix=/usr
(I build in a seperate directory... makes directory sizes smaller and easier
to find files... ALSO nice for eventual cross-compiling :)
and the resulting echo:
/home/teunis/apps/paragui/i386-linux-gnu/paragui2-config: line 1: srcdir:
command not found
/home/teunis/apps/paragui/i386-linux-gnu/paragui2-config: line 1: srcdir:
command not found
-I/usr/include/paragui2 -I/../libsigc++/sigc++/config -I/../libsigc++
-I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT
hrm - thoughts?
Anyhoo, more awake now.
G'day, eh? :)
- Teunis