[MacPorts] #20636: Octave 3.2.2 build error
MacPorts
noreply at macports.org
Mon Aug 31 17:50:21 PDT 2009
#20636: Octave 3.2.2 build error
------------------------------------------+---------------------------------
Reporter: macsforever2000@… | Owner: alakazam@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port: octave
------------------------------------------+---------------------------------
Comment(by pjk25@…):
Replying to [comment:23 pjk25@…]:
> Replying to [comment:15 alakazam@…]:
> > I have {{{checking for lgamma_r... no}}} when running {{{port -d
configure octave}}} while you have {{{yes}}}.
> >
> > [http://lists.apple.com/archives/Xcode-users/2008/Feb/msg00557.html]
and [http://lists.apple.com/archives/xcode-users/2008/Mar/msg00078.html]
are probably related.
> >
> > {{{-D_REENTRANT}}} should probably be specified when compiling {{{lo-
specfun.cc}}} :
> >
> > {{{
> > /opt/local/bin/g++-mp-4.3 -c -I/opt/local/include -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include -I. -I..
-I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -Wall -W
-Wshadow -Wold-style-cast -Wformat -O2 -I/opt/local/include/freetype2
-I/opt/local/include lo-specfun.cc -o lo-specfun.o
> > lo-specfun.cc: In function 'Complex xlgamma(const Complex&)':
> > lo-specfun.cc:327: error: 'lgamma_r' was not declared in this scope
> > }}}
> >
> > I suspect this would however be an upstream issue. Lenore, you said
you asked about this on the octave mailing lists ? Do you have a link to
the conversation or could you provide the relevant bits, in particular
specific answers regarding successful compilation of the latest octave on
a PPC machine (the best would be to have the same output as you provided,
but for a successful build) ? Thanks !
>
> I have the same lgamma issue on my G5 running 10.5.8. I have attached
my build log.
Manually invoked compilation of the offending lo-specfun.cc with
"-D_REENTRANT" as suggested by alakazam, then re-ran port install command
with success.
--
Ticket URL: <http://trac.macports.org/ticket/20636#comment:24>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list