|
|
Choosing A Webhost: |
Re: CVS Build on FreeBSD 4.9: msg#00006db.postgresql.pgadmin.devel
Hi Hiroshi, Have you tried a build on 4.9? Regards, Dave. > -----Original Message----- > From: Mark Kirkwood [mailto:markir@xxxxxxxxxxxxxxx] > Sent: 01 May 2004 05:08 > To: pgadmin-hackers@xxxxxxxxxxxxxx > Subject: [pgadmin-hackers] CVS Build on FreeBSD 4.9 > > I managed to build from CVS HEAD today on FreeBSD 4.9 > RELEASE, and encountered a number of things that I thought > would be worth noting : > > Firstly, the versions of key software: gcc 2.95.4, autoconf 2.59 > > i) building wxwindows > > $ ./configure --prefix=/usr/local/wxwindows --disable-shared > --enable-static --enable-monolithic --with-gtk --disable-gtk2 > > (needed the --enable-monolithic otherwise got many undefined > symbols at > pgadmin3 build time) > > ii) building pgadmin3 > > $ ./configure --prefix=/usr/local/pgadmin3 > --with-wx=/usr/local/wxwindows > --with-pgsql=/usr/local/pgsql/7.5 --enable-static --enable-debug > > (I notice in config.log that --no-create --no-recursion were > silently added ???) > > this failed to build and complained about : > > utils/utffile.cpp:86: error: no matching function for call to > `wxMBConv::MB2WC > > I cured this with the following : > > src/utils/utffile.cpp > :86 > m_conversion->MB2WC((wchar_t*) > ((wxChar*)wxStringBuffer(str, nLen)), buffer, nLen+1); > > the build failed again with undefined symbols for jpeg, png > and xml stuff, so.... > > in src/Makefile > :311 > LIBS = ..... -ljpeg -lpng -lxml2 -lexpat > > A successful build at last :-) > > iii) running pgadmin3 > > $ gdb pgadmin3 > (gdb) run > Starting program: /usr/local/bin/pgadmin3 Program received > signal SIGSEGV, Segmentation fault. > 0x83f4a6a in wxMBConvUTF8::MB2WC () > > I guess this is the lack of unicode etc in FreeBSD 4.x, I > kludged this with the following: > > src/utils/utffile.cpp > :61 > m_conversion = 0; /* avoid conversion!*/ > if (m_conversion) > > After make + make install it started but aborts after not > finding various file in ui. > I cured this with: > > $ cd src; cp -r ui /usr/local/pgadmin3/share > > Finally it runs ok! > > > regards > > Mark > > ---------------------------(end of > broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@xxxxxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Smoother PostgreSQL icons, blacknoz |
|---|---|
| Next by Date: | CVS Commit by dpage: Prevent duplication of functional indexes, cvs |
| Previous by Thread: | Re: CVS Build on FreeBSD 4.9, Mark Kirkwood |
| Next by Thread: | Re: CVS Build on FreeBSD 4.9, Hiroshi Saito |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |