[GRASS-dev] trying to compile GRASS 7 on Mavericks
Helena Mitasova
hmitaso at ncsu.edu
Tue Dec 3 16:53:55 PST 2013
Michael,
can you please share your configure file that you are using?
thanks, Helena
Helena Mitasova
Associate Professor
Department of Marine, Earth, and Atmospheric Sciences
2800 Faucette Drive, Rm. 1125 Jordan Hall
North Carolina State University
Raleigh, NC 27695-8208
hmitaso at ncsu.edu
"All electronic mail messages in connection with State business which are sent to or received by this account are subject to the NC Public Records Law and may be disclosed to third parties.”
On Dec 3, 2013, at 7:12 PM, Michael Barton wrote:
> I got it to compile fine using GDAL 1.10. But the GUI still crashes on startup due to problems in the xml toolbox.
>
> Michael
> ______________________________
> C. Michael Barton
> Director, Center for Social Dynamics & Complexity
> Professor of Anthropology, School of Human Evolution & Social Change
> Arizona State University
> Tempe, AZ 85287-2402
> USA
>
> voice:
> 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
> fax: 480-965-7671(SHESC), 480-727-0709 (CSDC)
> www:
> http://csdc.asu.edu, http://shesc.asu.edu
> http://www.public.asu.edu/~cmbarton
>
> On Dec 3, 2013, at 12:43 PM, Anna Petrášová <kratochanna at gmail.com> wrote:
>
>>
>> Hi all,
>>
>> I am still having problems to compile GRASS on Maverick, it cannot find GDAL, I already reinstalled the frameworks and Xcode, too. I tried to compile the simple code which seems to be compiled during configure:
>> #include <gdal.h>
>>
>> int main(int argc, const char* argv[])
>> {
>> GDALOpen("foo", GA_ReadOnly);
>> }
>>
>> which gives me:
>>
>> gis-imac:Desktop akratoc$ gcc test.c
>>
>> test.c:14:5: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result]
>>
>> GDALOpen("foo", GA_ReadOnly);
>>
>> ^~~~~~~~ ~~~~~~~~~~~~~~~~~~
>>
>> 1 warning generated.
>>
>> Undefined symbols for architecture x86_64:
>>
>> "_GDALOpen", referenced from:
>>
>> _main in test-sew0gz.o
>>
>> ld: symbol(s) not found for architecture x86_64
>>
>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>>
>> I am having the same problem also on another computer. Any help appreciated.
>>
>> Thanks,
>> Anna
>>
>>
>>
>>
>>
>> On Fri, Nov 29, 2013 at 3:27 PM, Markus Neteler <neteler at osgeo.org> wrote:
>> On Fri, Nov 29, 2013 at 9:02 PM, Michael Barton <Michael.Barton at asu.edu> wrote:
>> > I've been chilling out after Thanksgiving and thought I'd try compiling
>> > GRASS on Mavericks.
>> >
>> > I had a couple of configure issues.
>> >
>> > --with-odbc failed. Is this not included with Mavericks or do I need to
>> > reference it in some other way?
>> > --with nls also failed. I wonder if I have to update the version of gettext
>> > that I compiled on Lion?
>> >
>> > When I dropped these out, I got it to compile. But it errors out with the
>> > following:
>> >
>> > Undefined symbols for architecture x86_64:
>> > "___sincos_stret", referenced from:
>>
>> I found these "random" links:
>>
>> http://trac.macports.org/ticket/40961
>>
>> http://stackoverflow.com/questions/19015780/sincos-stret-undefined-symbol-when-linking
>>
>> Perhaps giving the right idea..
>> Markus
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>>
>
More information about the grass-dev
mailing list