Ticket #5 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

powerpc-apple-darwin8-gcc-4.0.0: unrecognized option '-shared'

Reported by: shige@… Owned by: oetiker
Priority: minor Milestone: RRDtool 1.3
Component: misc Version: 1.2.12
Keywords: Cc:

Description

I try to comple rrdtool-1.2.12 on Mac OS X 10.4.3 with Xcode 2.2.

% env CPPFLAGS="-I/usr/local/include/libart-2.0 -I/usr/local/include/freetype2" "LDFLAGS=-L/usr/local/lib" ./configure && make
(snip)
gcc -g -O2 -fno-common -DPIC -fno-strict-aliasing -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W -o .libs/rrdtoolmodule.so -shared rrdtoolmodule.o  -L/usr/local/lib ../../src/.libs/librrd.dylib /usr/local/lib/libfreetype.dylib /usr/local/lib/libpng.dylib -lz /usr/local/lib/libart_lgpl_2.dylib -lm
powerpc-apple-darwin8-gcc-4.0.0: unrecognized option '-shared'
/usr/bin/ld: Undefined symbols:
_PyArg_ParseTuple
_PyDict_New
_PyDict_SetItemString
_PyErr_Format
_PyErr_NewException
_PyErr_Occurred
_PyErr_SetString
_PyExc_TypeError
_PyFloat_FromDouble
_PyInt_FromLong
_PyList_Append
_PyList_New
_PyMem_Malloc
_PyModule_GetDict
_PyObject_Free
_PyString_FromString
_PyString_Type
_PyTuple_New
_PyTuple_Size
_PyType_IsSubtype
_Py_FatalError
_Py_InitModule4
__Py_NoneStruct
collect2: ld returned 1 exit status
make[3]: *** [rrdtoolmodule.so] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Change History

comment:1 Changed 6 years ago by oetiker

  • Status changed from new to closed
  • Resolution set to fixed

Run configure with --disable-python it seems that the python setup on the macs has some issues.

Note: See TracTickets for help on using tickets.

NOTE: The content of this website is accessible with any browser. The graphical design though relies completely on CSS2 styles. If you see this text, this means that your browser does not support CSS2. Consider upgrading to a standard conformant browser like Mozilla Firefox or Opera but also Apple's Safari or KDE's Konqueror for example. It may also be that you are looking at a mirror page which did not copy the CSS for this page. Or if some pictu res are missing, then the mirror may not have picked up the contents of the inc directory.