Обсуждение: Problem building on MacOS

Поиск
Список
Период
Сортировка

Problem building on MacOS

От
"Charlie Clark"
Дата:
Hi,

I thought I'd give the beta a spin but I'm having trouble building it.

I get the following error:
  "_xmlTextWriterWriteString", referenced from:      frmQuery::SaveQueries() in frmQuery.o
queryFavouriteFolder::saveFolder(_xmlTextWriter*)in favourites.o      queryMacroList::saveList(_xmlTextWriter*) in
macros.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

I've set /configure  --with-wx-version=3.0 and tried --with-arch-x86_64
but no success. How can I correct this?

Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657
Mobile: +49-178-782-6226



Re: Problem building on MacOS

От
Dave Page
Дата:
On Tue, Sep 23, 2014 at 3:57 PM, Charlie Clark
<charlie.clark@clark-consulting.eu> wrote:
> Hi,
>
> I thought I'd give the beta a spin but I'm having trouble building it.
>
> I get the following error:
>
>   "_xmlTextWriterWriteString", referenced from:
>       frmQuery::SaveQueries() in frmQuery.o
>       queryFavouriteFolder::saveFolder(_xmlTextWriter*) in favourites.o
>       queryMacroList::saveList(_xmlTextWriter*) in macros.o
> ld: symbol(s) not found for architecture i386
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
> I've set /configure  --with-wx-version=3.0 and tried --with-arch-x86_64 but
> no success. How can I correct this?

You need to use a 32 bit build of libxml2 (and possibly some of the
other libraries used). We typically use private builds for some such
libraries, and install them into /usr/local.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



Re: Problem building on MacOS

От
Dave Page
Дата:
On Tue, Sep 23, 2014 at 4:12 PM, Charlie Clark
<charlie.clark@clark-consulting.eu> wrote:
> Am .09.2014, 17:00 Uhr, schrieb Dave Page <dpage@pgadmin.org>:
>
>> You need to use a 32 bit build of libxml2 (and possibly some of the
>> other libraries used). We typically use private builds for some such
>> libraries, and install them into /usr/local.
>
>
> Oh, I generally rely on MacPorts to manage all my libraries. I was looking
> at MacPorts Portfile which seems to suggest 64-bits should be possible:
>
> https://trac.macports.org/browser/trunk/dports/aqua/pgAdmin3/Portfile
>
> There is a slight patch to the makefile re. wxWidgets but I can't see any
> other major differences.

wxWidgets 3.0 should work in 64 bit, but it's not very well tested.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



Re: Problem building on MacOS

От
"Charlie Clark"
Дата:
Am .09.2014, 17:00 Uhr, schrieb Dave Page <dpage@pgadmin.org>:

> You need to use a 32 bit build of libxml2 (and possibly some of the
> other libraries used). We typically use private builds for some such
> libraries, and install them into /usr/local.

Oh, I generally rely on MacPorts to manage all my libraries. I was looking
at MacPorts Portfile which seems to suggest 64-bits should be possible:

https://trac.macports.org/browser/trunk/dports/aqua/pgAdmin3/Portfile

There is a slight patch to the makefile re. wxWidgets but I can't see any
other major differences.

Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657
Mobile: +49-178-782-6226



Re: Problem building on MacOS

От
"Charlie Clark"
Дата:
Am .09.2014, 17:17 Uhr, schrieb Dave Page <dpage@pgadmin.org>:

>
> wxWidgets 3.0 should work in 64 bit, but it's not very well tested.

The binary from MacPorts seems to be 64-bit and works fine. It's a much
smaller package. I'll see how I get on by updating the Portfile for the
beta.

Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657
Mobile: +49-178-782-6226



Re: Problem building on MacOS

От
"Charlie Clark"
Дата:
Am .09.2014, 17:17 Uhr, schrieb Dave Page <dpage@pgadmin.org>:

> wxWidgets 3.0 should work in 64 bit, but it's not very well tested.

Builds fine. There are some alerts in some of the windows. But as I was
preparing the build I noticed that there is also a build of the new beta
on postgresql.org so http://www.pgadmin.org/download/macosx.php needs
updating.

Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657
Mobile: +49-178-782-6226



Re: Problem building on MacOS

От
Dave Page
Дата:
On Tue, Sep 23, 2014 at 5:49 PM, Charlie Clark
<charlie.clark@clark-consulting.eu> wrote:
> Am .09.2014, 17:17 Uhr, schrieb Dave Page <dpage@pgadmin.org>:
>
>> wxWidgets 3.0 should work in 64 bit, but it's not very well tested.
>
>
> Builds fine. There are some alerts in some of the windows. But as I was
> preparing the build I noticed that there is also a build of the new beta on
> postgresql.org so http://www.pgadmin.org/download/macosx.php needs updating.

We don't typically add betas to the GA download pages.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company