From: | OpenMacNews <OpenMacNews(at)speakeasy(dot)net> |
---|---|
To: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | path allocation failure in make of pgadmin3-svn on OSX 10.4 w/ wxwidgets-cvs |
Date: | 2005-05-09 16:01:22 |
Message-ID: | 71D4006804324C4F4A61496C@tiedgar |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
hi all,
after de-fubar'ing my firewall for svn:// access (Thx Dave!), i've been
catching up on trying to get pgadmin3 built on OSX 10.4.
note that wxWidgets 2.6.0 does not build on 10.4 without patching, and even
then i'm seeing some issues. further, it seems that 'corrective efforts' are
going primarily into cvs ... soooooo, it's wxwidgets-CVS only for me.
starting w/ the 5/8/05 11:02:24 cvs DL of wxwidgets CVS, i separately
(successfully) built both static & dynamic variants into:
/usr/local/wxWidgets-cvs-STAT
/usr/local/wxWidgets-cvs-DYN
repectively.
checking out the latest svn rev of pgadmin3 (revision 4172)
svn co svn://svn.pgadmin.org/trunk/pgadmin3 pgadmin3STAT-wxSTAT
Checked out revision 4172.
a successful configure for static, appbundle build w/:
./configure \
--enable-appbundle \
--enable-static \
--disable-debug \
--with-wx=/usr/local/wxWidgets-cvs-STAT \
--with-wx-config=wx-config \
--with-pgsql=/usr/local/pgsql \
--with-pgsql-include=/usr/local/pgsql/include
is dying @:
make all
with:
then mv -f ".deps/base.Tpo" ".deps/base.Po"; else rm -f ".deps/base.Tpo";
exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I../src/include
-I../src/agent/include -I../src/slony/include -I/usr/local/ssl/include
-I/usr/local/pgsql/include -DSSL
-I/usr/local/wxWidgets-cvs-STAT/lib/wx/include/mac-unicode-release-static-2
.6 -I/usr/local/wxWidgets-cvs-STAT/include/wx-2.6 -D__WXMAC__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA
-I/usr/local/wxWidgets-cvs-STAT/include/wx-2.6 -no-cpp-precomp -fno-rtti
-Wall -g -I../src/include -I../src/agent/include -I../src/slony/include
-Wall -g -O0 -MT appbase.o -MD -MP -MF ".deps/appbase.Tpo" -c -o appbase.o
`test -f './base/appbase.cpp' || echo './'`./base/appbase.cpp; \
then mv -f ".deps/appbase.Tpo" ".deps/appbase.Po"; else rm -f
".deps/appbase.Tpo"; exit 1; fi
./base/appbase.cpp: In member function `void pgAppBase::InitPaths()':
./base/appbase.cpp:76: error: 'path' was not declared in this scope
./base/appbase.cpp:78: error: 'path' was not declared in this scope
make[2]: *** [appbase.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
which is referring the to snippet in ./src/base/appbase.cpp:
#if defined(__WXMAC__)M
//When using wxStandardPaths on OSX, wx defaults to the unix,
//not to the mac variants. Therefor, we request wxStandardPathsCF
//directly.
wxStandardPathsCF stdPaths ;
dataDir = stdPaths.GetDataDir() ;
75 if (wxDir::Exists(dataDir + HELPER_DIR))
76 path.Add(dataDir + HELPER_DIR) ;
77 if (wxDir::Exists(dataDir + SCRIPT_DIR))
path.Add(dataDir + SCRIPT_DIR) ;
#else // other *ixes
i don't immediately understand this path allocation stanza, so need to dig ...
any quick suggestions as to whether there's an obvious problem here w/ path.Add?
cheers,
richard
From | Date | Subject | |
---|---|---|---|
Next Message | svn | 2005-05-09 16:13:07 | SVN Commit by dpage: r4173 - in trunk/pgadmin3/src: agent agent/include ui |
Previous Message | Dave Page | 2005-05-09 09:49:26 | Re: SVN Commit by andreas: r4171 - in trunk/pgadmin3/src: . base ctl include/base |