From sergy5 at mail.ru Fri Feb 22 13:59:18 2013 From: sergy5 at mail.ru (=?UTF-8?B?0KLRg9GI0LXQsiDQodC10YDQs9C10Lk=?=) Date: Fri, 22 Feb 2013 16:59:18 +0400 Subject: [capi-sig] =?utf-8?q?Pause/Resume_embedded_python_interpreter?= Message-ID: <1361537958.480249736@f224.mail.ru> Hello! Tell me please,?Is there any possibility to pause/resume the work of embedded python interpreter in place, where I need? For example: C++ pseudo-code part: main() { script ="python_script.py"; ... RunScript(script);//-- python script runs till the command 'stop' while(true){ //... read values from some variables in python-script //... do some work ... //... write new value to some other variables in python-script ResumeScript(script);//-- python script resumes it's work where// it was stopped. Not from begin! } ... } Python script pseudo-code part: #... do some init-work whiletrue: #... do some work stop # - here script stops and C++-function RunScript() # returns control to C++-part #... After calling C++-function ResumeScript # the work continues from this line Is this possible to do with Python/C API? Thanks From ulf.worsoe at mosek.com Fri Feb 22 19:45:25 2013 From: ulf.worsoe at mosek.com (Ulf Worsoe) Date: Fri, 22 Feb 2013 19:45:25 +0100 Subject: [capi-sig] Pause/Resume embedded python interpreter In-Reply-To: <1361537958.480249736@f224.mail.ru> References: <1361537958.480249736@f224.mail.ru> Message-ID: Hi, You could implement the stop() function in C using the Python/C API, and make sure not to release the global interpreter lock in the function. Your C pseudo code would be something like this: PyObject * stop_function(PyObject * args) { // Dont release the global interpreter lock during this function call //...fetch the current stack trace and access the environment of the caller of this function //... do some work ... //... write new value to some other variables in python-script } main() { script ="python_script.py"; ... env = make_python_execution_environment(); env.add_function_to_environment(stop_function, "stop"); RunScript(script,env);//-- python script using the environment containing "stop" } If I remember correctly, Python relies on the native code to hand back the global interpreter lock, so if you don't do that, you will effectively have paused python during the call to stop_function. /ulfw On Fri, Feb 22, 2013 at 1:59 PM, ????? ?????? wrote: > > Hello! > Tell me please, Is there any possibility to pause/resume the work of > embedded python interpreter in place, where I need? For example: > C++ pseudo-code part: > main() > { > script ="python_script.py"; > ... > RunScript(script);//-- python script runs till the command 'stop' > while(true){ > //... read values from some variables in python-script > //... do some work ... > //... write new value to some other variables in python-script > ResumeScript(script);//-- python script resumes it's work where// > it was stopped. Not from begin! } > ... > } > Python script pseudo-code part: > #... do some init-work > whiletrue: > #... do some work > stop # - here script stops and C++-function RunScript() > # returns control to C++-part > #... After calling C++-function ResumeScript > # the work continues from this line > Is this possible to do with Python/C API? > Thanks > _______________________________________________ > capi-sig mailing list > capi-sig at python.org > http://mail.python.org/mailman/listinfo/capi-sig > -- Ulf Wors?e Mosek ApS ulf.worsoe at mosek.com www.mosek.com From mal at egenix.com Sun Feb 24 12:52:41 2013 From: mal at egenix.com (M.-A. Lemburg) Date: Sun, 24 Feb 2013 12:52:41 +0100 Subject: [capi-sig] Pause/Resume embedded python interpreter In-Reply-To: <1361537958.480249736@f224.mail.ru> References: <1361537958.480249736@f224.mail.ru> Message-ID: <5129FF09.1070306@egenix.com> I think you're better off with writing the C code you want to run as function that you call from within Python. The function will have the global interpreter lock (GIL) acquired during the call, so other Python threads cannot run, effectively pausing Python. On 22.02.2013 13:59, ????? ?????? wrote: > > Hello! > Tell me please, Is there any possibility to pause/resume the work of embedded python interpreter in place, where I need? For example: > C++ pseudo-code part: > main() > { > script ="python_script.py"; > ... > RunScript(script);//-- python script runs till the command 'stop' > while(true){ > //... read values from some variables in python-script > //... do some work ... > //... write new value to some other variables in python-script > ResumeScript(script);//-- python script resumes it's work where// it was stopped. Not from begin! } > ... > } > Python script pseudo-code part: > #... do some init-work > whiletrue: > #... do some work > stop # - here script stops and C++-function RunScript() > # returns control to C++-part > #... After calling C++-function ResumeScript > # the work continues from this line > Is this possible to do with Python/C API? > Thanks > _______________________________________________ > capi-sig mailing list > capi-sig at python.org > http://mail.python.org/mailman/listinfo/capi-sig > -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Feb 24 2013) >>> Python Projects, Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From ecir.hana at gmail.com Sun Feb 24 13:25:06 2013 From: ecir.hana at gmail.com (ecir hana) Date: Sun, 24 Feb 2013 13:25:06 +0100 Subject: [capi-sig] Linking problem Message-ID: Hello, I would like to embed Python 3.3, I followed the simplest tutorial here: http://docs.python.org/3.3/extending/embedding.html I'm on MacOS 10.8 which has Python 2.7 but I would like to embed the 3.3 version. I downloaded v3.3 binary distribution from python.org for Mac. I unzipped the archive, took out all the headers and "Python" dynamic library to a new folder. I then renamed the "Python" file to "python33" so that it wont collide with installed Python 2.7. So in the folder, there are: embed.c include (folder) python33 Running "file python33" says: python33 (for architecture i386): Mach-O dynamically linked shared library i386 python33 (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 and embed.c is: #include int main(int argc, char *argv[]) { Py_Initialize(); PyRun_SimpleString("print 'test'\n"); Py_Finalize(); return 0; } It compiles but when I do "gcc embed.c -I./include -L. -lpython33" it breaks with: ld: library not found for -lpython33 Please, does anyone know how to make it compile? I don't want to *install* Python 3.3 - is it possible to just extract the dynamic library from the binary distribution and use it, like I did above? I also tried: DYLD_LIBRARY_PATH="." gcc embed.c -I./include -L. -lpython33 but it doesn't work. From mal at egenix.com Sun Feb 24 14:30:39 2013 From: mal at egenix.com (M.-A. Lemburg) Date: Sun, 24 Feb 2013 14:30:39 +0100 Subject: [capi-sig] Linking problem In-Reply-To: References: Message-ID: <512A15FF.7000809@egenix.com> On 24.02.2013 13:25, ecir hana wrote: > Hello, > > I would like to embed Python 3.3, I followed the simplest tutorial here: > http://docs.python.org/3.3/extending/embedding.html > > I'm on MacOS 10.8 which has Python 2.7 but I would like to embed the 3.3 > version. I downloaded v3.3 binary distribution from python.org for Mac. I > unzipped the archive, took out all the headers and "Python" dynamic library > to a new folder. I then renamed the "Python" file to "python33" so that it > wont collide with installed Python 2.7. So in the folder, there are: > > embed.c > include (folder) > python33 > > Running "file python33" says: > > python33 (for architecture i386): Mach-O dynamically linked shared > library i386 > python33 (for architecture x86_64): Mach-O 64-bit dynamically linked > shared library x86_64 Something is wrong here: the library is usually called something like "libpython3.3m.a". > and embed.c is: > > #include > > int > main(int argc, char *argv[]) > { > Py_Initialize(); > PyRun_SimpleString("print 'test'\n"); > Py_Finalize(); > return 0; > } > > It compiles but when I do "gcc embed.c -I./include -L. -lpython33" it > breaks with: > > ld: library not found for -lpython33 This would have to be -lpython3.3m or similar. > Please, does anyone know how to make it compile? I don't want to *install* > Python 3.3 - is it possible to just extract the dynamic library from the > binary distribution and use it, like I did above? I also tried: > > DYLD_LIBRARY_PATH="." gcc embed.c -I./include -L. -lpython33 > > but it doesn't work. Please make sure that you actually have the correct library in your current directory. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Feb 24 2013) >>> Python Projects, Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From ecir.hana at gmail.com Sun Feb 24 14:55:12 2013 From: ecir.hana at gmail.com (ecir hana) Date: Sun, 24 Feb 2013 14:55:12 +0100 Subject: [capi-sig] Linking problem In-Reply-To: <512A15FF.7000809@egenix.com> References: <512A15FF.7000809@egenix.com> Message-ID: On Sun, Feb 24, 2013 at 2:30 PM, M.-A. Lemburg wrote: > > Something is wrong here: the library is usually called something > like "libpython3.3m.a". > There was "libpython3.3.dylib" which is a symlink to "Python" which I renamed to "python33" so it does not collide with installed "Python" v2.7. I also tried "python33.dylib", "libpython33", "libpython33.dylib", "libpython33.so" to no avail... Btw, why ".a"? I thought that for static linking. The binary distribution from python.org only contains some dylibs... Please make sure that you actually have the correct library in > your current directory. > I think I have - it just those 3 files from above in the directory. From mal at egenix.com Sun Feb 24 15:10:24 2013 From: mal at egenix.com (M.-A. Lemburg) Date: Sun, 24 Feb 2013 15:10:24 +0100 Subject: [capi-sig] Linking problem In-Reply-To: References: <512A15FF.7000809@egenix.com> Message-ID: <512A1F50.8060404@egenix.com> On 24.02.2013 14:55, ecir hana wrote: > On Sun, Feb 24, 2013 at 2:30 PM, M.-A. Lemburg wrote: > >> >> Something is wrong here: the library is usually called something >> like "libpython3.3m.a". >> > > There was "libpython3.3.dylib" which is a symlink to "Python" which I > renamed to "python33" so it does not collide with installed "Python" v2.7. > I also tried "python33.dylib", "libpython33", "libpython33.dylib", > "libpython33.so" to no avail... Sorry, I can't help with the versions from the Python installer on python.org. Both the Apple provided and the python.org versions have given us too much trouble in the past. We're always compiling our own versions, try to avoid fat binaries and use default settings when compiling Python. > Btw, why ".a"? I thought that for static linking. The binary distribution > from python.org only contains some dylibs... The .a libs are indeed for static linking. You can try to use dylibs for your application, but chances are high that your users will run into problems picking up a dylib from one of the many sources for this file (Apple's Python lib, python.org installer, MacPorts, Homebrew, Fink, etc.). Each of those will likely have been compiled using slightly different settings or even come with internal changes. You can avoid all that by doing static linking. > Please make sure that you actually have the correct library in >> your current directory. >> > > I think I have - it just those 3 files from above in the directory. "gcc -lname" will look for a file libname.a or libname.dylib. Please see the man page for details. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Feb 24 2013) >>> Python Projects, Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From ecir.hana at gmail.com Sun Feb 24 15:18:11 2013 From: ecir.hana at gmail.com (ecir hana) Date: Sun, 24 Feb 2013 15:18:11 +0100 Subject: [capi-sig] Linking problem In-Reply-To: <512A1F50.8060404@egenix.com> References: <512A15FF.7000809@egenix.com> <512A1F50.8060404@egenix.com> Message-ID: On Sun, Feb 24, 2013 at 3:10 PM, M.-A. Lemburg wrote: You can try to use dylibs > for your application, but chances are high that your users will > run into problems picking up a dylib from one of the many sources > for this file > I thought that if I include the dynamic library into the application bundle it should pick the version I provide..? > "gcc -lname" will look for a file libname.a or libname.dylib. Please > see the man page for details. > That's exactly the problem, The folder has "libpython33.dylib" file but when I do "gcc -lname libpython33" it says "i686-apple-darwin11-llvm-gcc-4.2: libpython33: No such file or directory". From mal at egenix.com Sun Feb 24 15:43:16 2013 From: mal at egenix.com (M.-A. Lemburg) Date: Sun, 24 Feb 2013 15:43:16 +0100 Subject: [capi-sig] Linking problem In-Reply-To: References: <512A15FF.7000809@egenix.com> <512A1F50.8060404@egenix.com> Message-ID: <512A2704.6070500@egenix.com> On 24.02.2013 15:18, ecir hana wrote: > On Sun, Feb 24, 2013 at 3:10 PM, M.-A. Lemburg wrote: > > You can try to use dylibs >> for your application, but chances are high that your users will >> run into problems picking up a dylib from one of the many sources >> for this file >> > > I thought that if I include the dynamic library into the application bundle > it should pick the version I provide..? That's how it works on Windows, but not on a typical Unix system. I don't know how Mac OS X works if you put the dylib into the application bundle - AFAIK, the bundle is just a directory, i.e. not special when it comes to linking, but I could be wrong. >> "gcc -lname" will look for a file libname.a or libname.dylib. Please >> see the man page for details. >> > > That's exactly the problem, The folder has "libpython33.dylib" file but > when I do "gcc -lname libpython33" it says > "i686-apple-darwin11-llvm-gcc-4.2: libpython33: No such file or directory". Try a dtruss of the operation to check what gcc is looking for and where. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Feb 24 2013) >>> Python Projects, Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From mal at egenix.com Sun Feb 24 15:53:07 2013 From: mal at egenix.com (M.-A. Lemburg) Date: Sun, 24 Feb 2013 15:53:07 +0100 Subject: [capi-sig] Linking problem In-Reply-To: References: <512A15FF.7000809@egenix.com> <512A1F50.8060404@egenix.com> <512A2704.6070500@egenix.com> Message-ID: <512A2953.50807@egenix.com> On 24.02.2013 15:48, ecir hana wrote: > On Sun, Feb 24, 2013 at 3:43 PM, M.-A. Lemburg wrote: > >> On 24.02.2013 15:18, ecir hana wrote: >> > >> Try a dtruss of the operation to check what gcc is looking for >> and where. >> > > You mean "sudo dtruss gcc -lname python33"? Do you mind if I post the > result here, as I don't really understand what it is doing? You need to run "sudo dtruss -f gcc -lpython3.3", since the trace you posted stops at the vfork() and doesn't include the interesting parts. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Feb 24 2013) >>> Python Projects, Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From ecir.hana at gmail.com Sun Feb 24 15:48:45 2013 From: ecir.hana at gmail.com (ecir hana) Date: Sun, 24 Feb 2013 15:48:45 +0100 Subject: [capi-sig] Linking problem In-Reply-To: <512A2704.6070500@egenix.com> References: <512A15FF.7000809@egenix.com> <512A1F50.8060404@egenix.com> <512A2704.6070500@egenix.com> Message-ID: On Sun, Feb 24, 2013 at 3:43 PM, M.-A. Lemburg wrote: > On 24.02.2013 15:18, ecir hana wrote: > > Try a dtruss of the operation to check what gcc is looking for > and where. > You mean "sudo dtruss gcc -lname python33"? Do you mind if I post the result here, as I don't really understand what it is doing? i686-apple-darwin11-llvm-gcc-4.2: python33: No such file or directory SYSCALL(args) = return open("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x0, 0x0) = 3 0 pread(0x3, "\312\376\272\276\0", 0x1000, 0x0) = 4096 0 pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x6000) = 4096 0 mmap(0x105E39000, 0x2000, 0x5, 0x12, 0x3, 0x6000) = 0x5E39000 0 mmap(0x105E3B000, 0x1000, 0x3, 0x12, 0x3, 0x8000) = 0x5E3B000 0 mmap(0x105E3C000, 0x1FF0, 0x1, 0x12, 0x3, 0x9000) = 0x5E3C000 0 close(0x3) = 0 0 stat64("/usr/lib/libSystem.B.dylib\0", 0x7FFF59DD85D0, 0x7FFF59DD94D0) = 0 0 stat64("/usr/lib/system/libcache.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libcommonCrypto.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libcompiler_rt.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0 = 0 0 stat64("/usr/lib/system/libcopyfile.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libdispatch.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libdnsinfo.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libdyld.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libkeymgr.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/liblaunch.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libmacho.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libquarantine.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libremovefile.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libsystem_blocks.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libsystem_c.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libsystem_dnssd.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libsystem_info.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0 = 0 0 stat64("/usr/lib/system/libsystem_kernel.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libsystem_m.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libsystem_network.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libsystem_notify.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libsystem_sandbox.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libunc.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libunwind.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libxpc.dylib\0", 0x7FFF59DD82C0, 0x7FFF59DD91C0) = 0 0 stat64("/usr/lib/system/libcorecrypto.dylib\0", 0x7FFF59DD81C0, 0x7FFF59DD90C0) = 0 0 stat64("/usr/lib/libobjc.A.dylib\0", 0x7FFF59DD81A0, 0x7FFF59DD90A0) = 0 0 stat64("/usr/lib/libauto.dylib\0", 0x7FFF59DD81A0, 0x7FFF59DD90A0) = 0 0 stat64("/usr/lib/libc++abi.dylib\0", 0x7FFF59DD8070, 0x7FFF59DD8F70) = 0 0 stat64("/usr/lib/libc++.1.dylib\0", 0x7FFF59DD8070, 0x7FFF59DD8F70) = 0 0 getpid(0x7FFF59DD9528, 0x105E35004, 0xEA60) = 48241 0 __sysctl(0x7FFF59DD90E4, 0x2, 0x7FFF59DD90D0) = 0 0 bsdthread_register(0x7FFF904FD174, 0x7FFF904FD164, 0x2000) = 0 0 thread_selfid(0x7FFF904FD174, 0x7FFF904FD164, 0x0) = 1116174 0 mmap(0x0, 0x2000, 0x3, 0x1002, 0x1000000, 0x0) = 0x5E36000 0 mprotect(0x105E36000, 0x88, 0x1) = 0 0 mmap(0x0, 0x17000, 0x3, 0x1002, 0x1000000, 0x0) = 0x5E3E000 0 mprotect(0x105E3E000, 0x1000, 0x0) = 0 0 mprotect(0x105E54000, 0x1000, 0x0) = 0 0 mmap(0x0, 0x17000, 0x3, 0x1002, 0x1000000, 0x0) = 0x5E55000 0 mprotect(0x105E55000, 0x1000, 0x0) = 0 0 mprotect(0x105E6B000, 0x1000, 0x0) = 0 0 mmap(0x0, 0x1000, 0x3, 0x1002, 0x1000000, 0x0) = 0x5E38000 0 mprotect(0x105E38000, 0x1000, 0x1) = 0 0 mprotect(0x105E36000, 0x88, 0x3) = 0 0 mmap(0x7FDA98400000, 0x200000, 0x3, 0x1002, 0x7000000, 0x0) = 0x98400000 0 munmap(0x7FDA98500000, 0x100000) = 0 0 mprotect(0x105E36000, 0x88, 0x1) = 0 0 issetugid(0x7FFF858F7075, 0x7FFF59DD90E4, 0x7FFF59DD9CE0) = 0 0 mmap(0x7FDA98400000, 0x1000000, 0x3, 0x1002, 0x2000000, 0x0) = 0x98500000 0 munmap(0x7FDA98500000, 0x300000) = 0 0 munmap(0x7FDA99000000, 0x500000) = 0 0 wait4(0xBC72, 0x7FDA98403C40, 0x0) = 48242 0 issetugid(0x105E26000, 0x3, 0x7FFF59DD9C00) = 0 0 geteuid(0x105E26000, 0x3, 0x0) = 0 0 csops(0x0, 0x0, 0x7FFF59DD9754) = 0 0 shared_region_check_np(0x7FFF59DD76A8, 0x2, 0x7FFF59DD76A8) = 0 0 stat64("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x7FFF59DD87F0, 0x7FFF59DD97C0 = 0 0 getpid(0x7FFF59DD8F44, 0x3, 0x3) = 48241 0 __mac_syscall(0x7FFF8E5B98CC, 0x2, 0x7FFF59DD8F78) = 0 0 stat64("/AppleInternal\0", 0x7FFF59DD8FE8, 0x0) = -1 Err#2 audit_session_self(0x7FFF59DD8ED0, 0x7FFF59DD8D08, 0x4) = 4611 0 geteuid(0x7FFF59DD8ED0, 0x7FFF59DD8D08, 0x0) = 0 0 getegid(0x7FFF59DD8ED0, 0x7FFF59DD8D08, 0x0) = 0 0 getaudit_addr(0x7FFF59DD8F80, 0x30, 0x0) = 0 0 csops(0xBC71, 0x7, 0x7FFF59DD8B60) = 0 0 open("/dev/dtracehelper\0", 0x2, 0x7FFF59DD9620) = 3 0 ioctl(0x3, 0x80086804, 0x7FFF59DD9580) = 0 0 close(0x3) = 0 0 stat64("/usr/lib/libstdc++.6.dylib\0", 0x7FFF59DD85C0, 0x7FFF59DD94C0) = 0 0 access("/usr/bin/gcc\0", 0x1, 0x0) = 0 0 stat64("/usr/bin/gcc\0", 0x7FFF59DD88F0, 0x0) = 0 0 readlink("/usr/bin/gcc\0", 0x7FFF59DD937F, 0x400) = 12 0 readlink("/usr/bin/llvm-gcc-4.2\0", 0x7FFF59DD937F, 0x400) = 32 0 readlink("/usr/bin/../llvm-gcc-4.2/bin/llvm-gcc-4.2\0", 0x7FFF59DD937F, 0x400) = -1 Err#22 vfork() = 48242 0 From mal at egenix.com Sun Feb 24 17:21:08 2013 From: mal at egenix.com (M.-A. Lemburg) Date: Sun, 24 Feb 2013 17:21:08 +0100 Subject: [capi-sig] Linking problem In-Reply-To: References: <512A15FF.7000809@egenix.com> <512A1F50.8060404@egenix.com> <512A2704.6070500@egenix.com> <512A2953.50807@egenix.com> Message-ID: <512A3DF4.4020606@egenix.com> Ecir, please don't post such dumps to the mailing list. Use some pastebin service instead. The dump doesn't show the locations gcc is looking at (except for your current dir), so it doesn't really help. I'd suggest you get some help from a gcc/Mac OS X related forum to sort out the linking problem, as it is not Python specific. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Feb 24 2013) >>> Python Projects, Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From ecir.hana at gmail.com Sun Feb 24 17:37:06 2013 From: ecir.hana at gmail.com (ecir hana) Date: Sun, 24 Feb 2013 17:37:06 +0100 Subject: [capi-sig] Linking problem In-Reply-To: <512A3DF4.4020606@egenix.com> References: <512A15FF.7000809@egenix.com> <512A1F50.8060404@egenix.com> <512A2704.6070500@egenix.com> <512A2953.50807@egenix.com> <512A3DF4.4020606@egenix.com> Message-ID: I apologize, will do. And thanks! On Sun, Feb 24, 2013 at 5:21 PM, M.-A. Lemburg wrote: > Ecir, > > please don't post such dumps to the mailing list. Use > some pastebin service instead. > > The dump doesn't show the locations gcc is looking > at (except for your current dir), so it doesn't really > help. > > I'd suggest you get some help from a gcc/Mac OS X related > forum to sort out the linking problem, as it is not Python > specific. > > -- > Marc-Andre Lemburg > eGenix.com > > Professional Python Services directly from the Source (#1, Feb 24 2013) > >>> Python Projects, Consulting and Support ... http://www.egenix.com/ > >>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ > >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ > ________________________________________________________________________ > > ::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: > > eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 > D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg > Registered at Amtsgericht Duesseldorf: HRB 46611 > http://www.egenix.com/company/contact/ > From ecir.hana at gmail.com Sun Feb 24 15:57:45 2013 From: ecir.hana at gmail.com (ecir hana) Date: Sun, 24 Feb 2013 15:57:45 +0100 Subject: [capi-sig] Linking problem In-Reply-To: <512A2953.50807@egenix.com> References: <512A15FF.7000809@egenix.com> <512A1F50.8060404@egenix.com> <512A2704.6070500@egenix.com> <512A2953.50807@egenix.com> Message-ID: Oh my.... ld: library not found for -lpython33 collect2: ld returned 1 exit status PID/THRD SYSCALL(args) = return 48319/0x1111aa: open("/dev/dtracehelper\0", 0x2, 0x7FFF51374630) = 3 0 48319/0x1111aa: close(0x3) = 0 0 48319/0x1111aa: stat64("/usr/lib/libstdc++.6.dylib\0", 0x7FFF513735D0, 0x7FFF513744D0) = 0 0 48319/0x1111aa: access("/usr/bin/gcc\0", 0x1, 0x0) = 0 0 48319/0x1111aa: stat64("/usr/bin/gcc\0", 0x7FFF51373900, 0x0) = 0 0 48319/0x1111aa: readlink("/usr/bin/gcc\0", 0x7FFF5137438F, 0x400) = 12 0 48319/0x1111aa: readlink("/usr/bin/llvm-gcc-4.2\0", 0x7FFF5137438F, 0x400) = 32 0 48319/0x1111aa: readlink("/usr/bin/../llvm-gcc-4.2/bin/llvm-gcc-4.2\0", 0x7FFF5137438F, 0x400) = -1 Err#22 48320/0x1111aa: vfork() = 48320 0 48320/0x1111ad: vfork() = 0 0 48320/0x1111ad: issetugid(0x100000000, 0x3, 0x7FFF5FBFFC00) = 0 0 48320/0x1111ad: geteuid(0x100000000, 0x3, 0x0) = 0 0 48320/0x1111ad: csops(0x0, 0x0, 0x7FFF5FBFF724) = 0 0 48320/0x1111ad: shared_region_check_np(0x7FFF5FBFD678, 0x2, 0x7FFF5FBFD678) = 0 0 48320/0x1111ad: stat64("/usr/lib/libiconv.2.dylib\0", 0x7FFF5FBFE570, 0x7FFF5FBFF470) = 0 0 48320/0x1111ad: stat64("/usr/lib/libSystem.B.dylib\0", 0x7FFF5FBFE570, 0x7FFF5FBFF470) = 0 0 48320/0x1111ad: stat64("/usr/lib/libstdc++.6.dylib\0", 0x7FFF5FBFE570, 0x7FFF5FBFF470) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libcache.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libcommonCrypto.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libcompiler_rt.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libcopyfile.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libdispatch.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libdnsinfo.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libdyld.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libkeymgr.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/liblaunch.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libmacho.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libquarantine.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libremovefile.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libsystem_blocks.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libsystem_c.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libsystem_dnssd.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libsystem_info.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libsystem_kernel.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libsystem_m.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libsystem_network.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libsystem_notify.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libsystem_sandbox.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libunc.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libunwind.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libxpc.dylib\0", 0x7FFF5FBFE170, 0x7FFF5FBFF070) = 0 0 48320/0x1111ad: stat64("/usr/lib/system/libcorecrypto.dylib\0", 0x7FFF5FBFE070, 0x7FFF5FBFEF70) = 0 0 48320/0x1111ad: stat64("/usr/lib/libobjc.A.dylib\0", 0x7FFF5FBFE050, 0x7FFF5FBFEF50) = 0 0 48320/0x1111ad: stat64("/usr/lib/libauto.dylib\0", 0x7FFF5FBFE050, 0x7FFF5FBFEF50) = 0 0 48320/0x1111ad: stat64("/usr/lib/libc++abi.dylib\0", 0x7FFF5FBFDF20, 0x7FFF5FBFEE20) = 0 0 48320/0x1111ad: stat64("/usr/lib/libc++.1.dylib\0", 0x7FFF5FBFDF20, 0x7FFF5FBFEE20) = 0 0 48320/0x1111ad: open("/dev/dtracehelper\0", 0x2, 0x7FFF5FBFF5F0) = 3 0 48321/0x1111ae: vfork() = 0 0 48321/0x1111ae: issetugid(0x100000000, 0x16, 0x7FFF5FBFF300) = 0 0 48321/0x1111ae: geteuid(0x100000000, 0x16, 0x0) = 0 0 48321/0x1111ae: csops(0x0, 0x0, 0x7FFF5FBFEE84) = 0 0 48321/0x1111ae: shared_region_check_np(0x7FFF5FBFCDD8, 0x2, 0x7FFF5FBFCDD8) = 0 0 48321/0x1111ae: stat64("/usr/lib/libiconv.2.dylib\0", 0x7FFF5FBFDCD0, 0x7FFF5FBFEBD0) = 0 0 48321/0x1111ae: stat64("/usr/lib/libSystem.B.dylib\0", 0x7FFF5FBFDCD0, 0x7FFF5FBFEBD0) = 0 0 48321/0x1111ae: stat64("/usr/lib/libstdc++.6.dylib\0", 0x7FFF5FBFDCD0, 0x7FFF5FBFEBD0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libcache.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libcommonCrypto.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libcompiler_rt.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libcopyfile.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libdispatch.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libdnsinfo.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libdyld.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libkeymgr.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/liblaunch.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libmacho.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libquarantine.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libremovefile.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libsystem_blocks.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libsystem_c.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libsystem_dnssd.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libsystem_info.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libsystem_kernel.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libsystem_m.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libsystem_network.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libsystem_notify.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libsystem_sandbox.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libunc.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libunwind.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libxpc.dylib\0", 0x7FFF5FBFD8D0, 0x7FFF5FBFE7D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/system/libcorecrypto.dylib\0", 0x7FFF5FBFD7D0, 0x7FFF5FBFE6D0) = 0 0 48321/0x1111ae: stat64("/usr/lib/libobjc.A.dylib\0", 0x7FFF5FBFD7B0, 0x7FFF5FBFE6B0) = 0 0 48321/0x1111ae: stat64("/usr/lib/libauto.dylib\0", 0x7FFF5FBFD7B0, 0x7FFF5FBFE6B0) = 0 0 48321/0x1111ae: stat64("/usr/lib/libc++abi.dylib\0", 0x7FFF5FBFD680, 0x7FFF5FBFE580) = 0 0 48321/0x1111ae: stat64("/usr/lib/libc++.1.dylib\0", 0x7FFF5FBFD680, 0x7FFF5FBFE580) = 0 0 48321/0x1111ae: open("/dev/dtracehelper\0", 0x2, 0x7FFF5FBFED50) = 3 0 48321/0x1111ae: ioctl(0x3, 0x80086804, 0x7FFF5FBFECB0) = 0 0 48321/0x1111ae: close(0x3) = 0 0 48321/0x1111ae: __sysctl(0x7FFF5FBFE814, 0x2, 0x7FFF5FBFE800) = 0 0 48321/0x1111ae: bsdthread_register(0x7FFF904FD174, 0x7FFF904FD164, 0x2000) = 0 0 48321/0x1111ae: thread_selfid(0x7FFF904FD174, 0x7FFF904FD164, 0x0) = 1118638 0 48321/0x1111ae: mmap(0x0, 0x2000, 0x3, 0x1002, 0x1000000, 0x0) = 0x23000 0 48321/0x1111ae: mprotect(0x100023000, 0x88, 0x1) = 0 0 48321/0x1111ae: mmap(0x0, 0x17000, 0x3, 0x1002, 0x1000000, 0x0) = 0x25000 0 48321/0x1111ae: mprotect(0x100025000, 0x1000, 0x0) = 0 0 48321/0x1111ae: mprotect(0x10003B000, 0x1000, 0x0) = 0 0 48321/0x1111ae: mmap(0x0, 0x17000, 0x3, 0x1002, 0x1000000, 0x0) = 0x3C000 0 48321/0x1111ae: mprotect(0x10003C000, 0x1000, 0x0) = 0 0 48321/0x1111ae: mprotect(0x100052000, 0x1000, 0x0) = 0 0 48321/0x1111ae: mmap(0x0, 0x1000, 0x3, 0x1002, 0x1000000, 0x0) = 0x53000 0 48321/0x1111ae: mprotect(0x100053000, 0x1000, 0x1) = 0 0 48321/0x1111ae: mprotect(0x100023000, 0x88, 0x3) = 0 0 48321/0x1111ae: mmap(0x0, 0x200000, 0x3, 0x1002, 0x7000000, 0x0) = 0x54000 0 48321/0x1111ae: munmap(0x100054000, 0xAC000) = 0 0 48321/0x1111ae: munmap(0x100200000, 0x54000) = 0 0 48321/0x1111ae: mprotect(0x100023000, 0x88, 0x1) = 0 0 48321/0x1111ae: issetugid(0x7FFF858F7075, 0x7FFF5FBFE814, 0x7FFF5FBFF4A8) = 0 0 48321/0x1111ae: mmap(0x0, 0x1000000, 0x3, 0x1002, 0x2000000, 0x0) = 0x200000 0 48321/0x1111ae: munmap(0x100200000, 0x600000) = 0 0 48321/0x1111ae: munmap(0x101000000, 0x200000) = 0 0 48321/0x1111ae: getpid(0x7FFF5FBFE674, 0x3, 0x3) = 48321 0 48321/0x1111ae: __mac_syscall(0x7FFF8E5B98CC, 0x2, 0x7FFF5FBFE6A8) = 0 0 48321/0x1111ae: stat64("/AppleInternal\0", 0x7FFF5FBFE718, 0x0) = -1 Err#2 48321/0x1111ae: audit_session_self(0x7FFF5FBFE600, 0x7FFF5FBFE438, 0x4) = 4099 0 48321/0x1111ae: geteuid(0x7FFF5FBFE600, 0x7FFF5FBFE438, 0x0) = 0 0 48321/0x1111ae: getegid(0x7FFF5FBFE600, 0x7FFF5FBFE438, 0x0) = 0 0 48321/0x1111ae: getaudit_addr(0x7FFF5FBFE6B0, 0x30, 0x0) = 0 0 48321/0x1111ae: csops(0xBCC1, 0x7, 0x7FFF5FBFE290) = 0 0 48321/0x1111ae: sigaction(0x14, 0x7FFF5FBFF2D8, 0x7FFF5FBFF300) = 0 0 48321/0x1111ae: getrlimit(0x1008, 0x7FFF5FBFEDB8, 0x7FFF90566470) = 0 0 48321/0x1111ae: open_nocancel("/usr/share/locale/sk_SK.UTF-8/LC_CTYPE\0", 0x0, 0x1B6) = 3 0 48321/0x1111ae: fstat64(0x3, 0x7FFF5FBFED98, 0x0) = 0 0 48321/0x1111ae: fstat64(0x3, 0x7FFF5FBFEB88, 0x7FFF5FBFEC4C) = 0 0 48321/0x1111ae: lseek(0x3, 0x0, 0x1) = 0 0 48321/0x1111ae: lseek(0x3, 0x0, 0x0) = 0 0 48321/0x1111ae: read_nocancel(0x3, "RuneMagAUTF-8\0", 0x1000) = 4096 0 48321/0x1111ae: read_nocancel(0x3, "\0", 0x1000) = 4096 0 48321/0x1111ae: read_nocancel(0x3, "\0", 0x1000) = 4096 0 48321/0x1111ae: read_nocancel(0x3, "\0", 0x1000) = 4096 0 48321/0x1111ae: read_nocancel(0x3, "\0", 0x1000) = 4096 0 48321/0x1111ae: read_nocancel(0x3, "\0", 0x1000) = 4096 0 48321/0x1111ae: read_nocancel(0x3, "@\004\211\0", 0xDB70) = 56176 0 48321/0x1111ae: close_nocancel(0x3) = 0 0 48321/0x1111ae: open_nocancel("/usr/share/locale/sk_SK.UTF-8/LC_MESSAGES/LC_MESSAGES\0", 0x0, 0x0) = 3 0 48321/0x1111ae: fstat64(0x3, 0x7FFF5FBFEDC0, 0x0) = 0 0 48321/0x1111ae: read_nocancel(0x3, "^[aAyY].*\n^[nN].*\nano\nne\n\004\b\0", 0x19) = 25 0 48321/0x1111ae: close_nocancel(0x3) = 0 0 48321/0x1111ae: getuid(0x7FFF5FBFF220, 0x10001FE38, 0x100008CB0) = 0 0 48321/0x1111ae: geteuid(0x7FFF5FBFF220, 0x10001FE38, 0x0) = 0 0 48321/0x1111ae: getgid(0x7FFF5FBFF220, 0x10001FE38, 0x0) = 0 0 48321/0x1111ae: getegid(0x7FFF5FBFF220, 0x10001FE38, 0x0) = 0 0 48321/0x1111ae: open_nocancel("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/share/locale/locale.alias\0", 0x0, 0x1B6) = -1 Err#2 48321/0x1111ae: open("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/share/locale/sk_SK.UTF-8/LC_MESSAGES/gcc.mo\0", 0x0, 0xF80D0) = -1 Err#2 48321/0x1111ae: open("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/share/locale/sk_SK.utf8/LC_MESSAGES/gcc.mo\0", 0x0, 0xFFFFFFFFFFFFFFFF) = -1 Err#2 48321/0x1111ae: open("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/share/locale/sk_SK/LC_MESSAGES/gcc.mo\0", 0x0, 0xFFFFFFFFFFFFFFFF) = -1 Err#2 48321/0x1111ae: open("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/share/locale/sk.UTF-8/LC_MESSAGES/gcc.mo\0", 0x0, 0xFFFFFFFFFFFFFFFF) = -1 Err#2 48321/0x1111ae: open("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/share/locale/sk.utf8/LC_MESSAGES/gcc.mo\0", 0x0, 0xFFFFFFFFFFFFFFFF) = -1 Err#2 48321/0x1111ae: open("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/share/locale/sk/LC_MESSAGES/gcc.mo\0", 0x0, 0xFFFFFFFFFFFFFFFF) = -1 Err#2 48321/0x1111ae: sigaction(0x3, 0x7FFF5FBFF2D8, 0x7FFF5FBFF300) = 0 0 48321/0x1111ae: sigaction(0x3, 0x7FFF5FBFF2D8, 0x7FFF5FBFF300) = 0 0 48321/0x1111ae: sigaction(0x2, 0x7FFF5FBFF2D8, 0x7FFF5FBFF300) = 0 0 48321/0x1111ae: sigaction(0x2, 0x7FFF5FBFF2D8, 0x7FFF5FBFF300) = 0 0 48321/0x1111ae: sigaction(0xE, 0x7FFF5FBFF2D8, 0x7FFF5FBFF300) = 0 0 48321/0x1111ae: sigaction(0xE, 0x7FFF5FBFF2D8, 0x7FFF5FBFF300) = 0 0 48321/0x1111ae: sigaction(0x1, 0x7FFF5FBFF2D8, 0x7FFF5FBFF300) = 0 0 48321/0x1111ae: sigaction(0x1, 0x7FFF5FBFF2D8, 0x7FFF5FBFF300) = 0 0 48321/0x1111ae: sigaction(0xB, 0x7FFF5FBFF2D8, 0x7FFF5FBFF300) = 0 0 48321/0x1111ae: sigaction(0xB, 0x7FFF5FBFF2D8, 0x7FFF5FBFF300) = 0 0 48321/0x1111ae: sigaction(0xA, 0x7FFF5FBFF2D8, 0x7FFF5FBFF300) = 0 0 48321/0x1111ae: sigaction(0xA, 0x7FFF5FBFF2D8, 0x7FFF5FBFF300) = 0 0 48321/0x1111ae: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/real-ld\0", 0x7FFF5FBFF268, 0x8) = -1 Err#2 48321/0x1111ae: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/real-ld\0", 0x7FFF5FBFF268, 0x8) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/real-ld\0", 0x7FFF5FBFF268, 0x8) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/real-ld\0", 0x7FFF5FBFF268, 0x8) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/real-ld\0", 0x7FFF5FBFF268, 0x8) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/real-ld\0", 0x7FFF5FBFF268, 0x8) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/real-ld\0", 0x7FFF5FBFF268, 0x8) = -1 Err#2 48321/0x1111ae: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/collect-ld\0", 0x7FFF5FBFF268, 0xB) = -1 Err#2 48321/0x1111ae: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/collect-ld\0", 0x7FFF5FBFF268, 0xB) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/collect-ld\0", 0x7FFF5FBFF268, 0xB) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/collect-ld\0", 0x7FFF5FBFF268, 0xB) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/collect-ld\0", 0x7FFF5FBFF268, 0xB) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/collect-ld\0", 0x7FFF5FBFF268, 0xB) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/collect-ld\0", 0x7FFF5FBFF268, 0xB) = -1 Err#2 48321/0x1111ae: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/ld\0", 0x7FFF5FBFF268, 0x3) = 0 0 48321/0x1111ae: access("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/ld\0", 0x1, 0x0) = 0 0 48321/0x1111ae: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/gnm\0", 0x7FFF5FBFF268, 0x4) = -1 Err#2 48321/0x1111ae: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/gnm\0", 0x7FFF5FBFF268, 0x4) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/gnm\0", 0x7FFF5FBFF268, 0x4) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/gnm\0", 0x7FFF5FBFF268, 0x4) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/gnm\0", 0x7FFF5FBFF268, 0x4) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/gnm\0", 0x7FFF5FBFF268, 0x4) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/gnm\0", 0x7FFF5FBFF268, 0x4) = -1 Err#2 48321/0x1111ae: stat64("/usr/bin/gnm\0", 0x7FFF5FBFF268, 0x4) = -1 Err#2 48321/0x1111ae: stat64("/bin/gnm\0", 0x7FFF5FBFF268, 0x4) = -1 Err#2 48321/0x1111ae: stat64("/usr/sbin/gnm\0", 0x7FFF5FBFF268, 0x4) = -1 Err#2 48321/0x1111ae: stat64("/sbin/gnm\0", 0x7FFF5FBFF268, 0x4) = -1 Err#2 48321/0x1111ae: stat64("/usr/local/bin/gnm\0", 0x7FFF5FBFF268, 0x4) = -1 Err#2 48321/0x1111ae: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/nm\0", 0x7FFF5FBFF268, 0x3) = -1 Err#2 48321/0x1111ae: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/nm\0", 0x7FFF5FBFF268, 0x3) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/nm\0", 0x7FFF5FBFF268, 0x3) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/nm\0", 0x7FFF5FBFF268, 0x3) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/nm\0", 0x7FFF5FBFF268, 0x3) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/nm\0", 0x7FFF5FBFF268, 0x3) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/nm\0", 0x7FFF5FBFF268, 0x3) = -1 Err#2 48321/0x1111ae: stat64("/usr/bin/nm\0", 0x7FFF5FBFF268, 0x3) = 0 0 48321/0x1111ae: access("/usr/bin/nm\0", 0x1, 0x0) = 0 0 48321/0x1111ae: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/gstrip\0", 0x7FFF5FBFF268, 0x7) = -1 Err#2 48321/0x1111ae: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/gstrip\0", 0x7FFF5FBFF268, 0x7) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/gstrip\0", 0x7FFF5FBFF268, 0x7) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/gstrip\0", 0x7FFF5FBFF268, 0x7) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/gstrip\0", 0x7FFF5FBFF268, 0x7) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/gstrip\0", 0x7FFF5FBFF268, 0x7) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/gstrip\0", 0x7FFF5FBFF268, 0x7) = -1 Err#2 48321/0x1111ae: stat64("/usr/bin/gstrip\0", 0x7FFF5FBFF268, 0x7) = -1 Err#2 48321/0x1111ae: stat64("/bin/gstrip\0", 0x7FFF5FBFF268, 0x7) = -1 Err#2 48321/0x1111ae: stat64("/usr/sbin/gstrip\0", 0x7FFF5FBFF268, 0x7) = -1 Err#2 48321/0x1111ae: stat64("/sbin/gstrip\0", 0x7FFF5FBFF268, 0x7) = -1 Err#2 48321/0x1111ae: stat64("/usr/local/bin/gstrip\0", 0x7FFF5FBFF268, 0x7) = -1 Err#2 48321/0x1111ae: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/strip\0", 0x7FFF5FBFF268, 0x6) = -1 Err#2 48321/0x1111ae: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/strip\0", 0x7FFF5FBFF268, 0x6) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/strip\0", 0x7FFF5FBFF268, 0x6) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/strip\0", 0x7FFF5FBFF268, 0x6) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/strip\0", 0x7FFF5FBFF268, 0x6) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/strip\0", 0x7FFF5FBFF268, 0x6) = -1 Err#2 48321/0x1111ae: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/strip\0", 0x7FFF5FBFF268, 0x6) = -1 Err#2 48321/0x1111ae: stat64("/usr/bin/strip\0", 0x7FFF5FBFF268, 0x6) = 0 0 48321/0x1111ae: access("/usr/bin/strip\0", 0x1, 0x0) = 0 0 48321/0x1111ae: access("/usr/bin/../llvm-gcc-4.2/bin/i686-apple-darwin11-llvm-gcc-4.2\0", 0x1, 0x2000) = 0 0 48321/0x1111ae: access("/var/tmp/\0", 0x7, 0x1001038C0) = 0 0 48321/0x1111ae: open_nocancel("/dev/random\0", 0x0, 0x0) = 3 0 48321/0x1111ae: read_nocancel(0x3, "\bb\306\314\344\315\360<}If\323\221\211#\232\267v\336Q\277\222\002l\237\211\207\024\265\230Q@\\t\247\247\325\236\235\253\022\371\310\301s\027\037GI\377\022(b\022\232\263\005QX\302\367\241\266{6\003*_\327\267e?\226\3173\222{\362\334S\213f\254\224>c{\364a7M\346HF\021\314&\025\2108\276\233\335\234\312p\226\362\236\352\225W\177\200\3343L\002\\QR\322Rim'\236\224\0", 0x80) = 128 0 48321/0x1111ae: close_nocancel(0x3) = 0 0 48321/0x1111ae: open_nocancel("/dev/random\0", 0x0, 0x0) = 3 0 48321/0x1111ae: read_nocancel(0x3, "\231F%\036\352\271\366\274E\251\233\021\023.\361\271O\027\251\331\t\253\3454\021\344\200CQ\3376\301h\032:y\275#!+OXn\217\337e\313\253]\266~\211\223\350W\342T\003\v\345\327)\255*\322\362\240\2017\360Z`\236\250}\367\201\212,\222y\256\367f\264\254\275\317\361|\bT/L\237\221 \352|\241u\252\270G\306uu\037\005\023\261\fW\034\345\210.\2676;7\030\327\026\t\016\361\002\0", 0x80) = 128 0 48321/0x1111ae: close_nocancel(0x3) = 0 0 48321/0x1111ae: stat64("/var/tmp/\0", 0x7FFF5FBFEE00, 0x0) = 0 0 48321/0x1111ae: open_nocancel("/var/tmp//ccfM0SGw.c\0", 0xA02, 0x180) = 3 0 48321/0x1111ae: close(0x3) = 0 0 48321/0x1111ae: stat64("/var/tmp/\0", 0x7FFF5FBFEE00, 0x0) = 0 0 48321/0x1111ae: open_nocancel("/var/tmp//ccTsRDZ7.o\0", 0xA02, 0x180) = 3 0 48321/0x1111ae: close(0x3) = 0 0 48321/0x1111ae: stat64("/var/tmp/\0", 0x7FFF5FBFEE00, 0x0) = 0 0 48321/0x1111ae: open_nocancel("/var/tmp//ccNYGQkW.ld\0", 0xA02, 0x180) = 3 0 48321/0x1111ae: close(0x3) = 0 0 48321/0x1111ae: stat64("/var/tmp/\0", 0x7FFF5FBFEE00, 0x0) = 0 0 48321/0x1111ae: open_nocancel("/var/tmp//ccuqUfvv.le\0", 0xA02, 0x180) = 3 0 48321/0x1111ae: close(0x3) = 0 0 48321/0x1111ae: open("/var/tmp//ccNYGQkW.ld\0", 0x601, 0x1B6) = 3 0 48321/0x1111ae: open("/var/tmp//ccuqUfvv.le\0", 0x601, 0x1B6) = 4 0 48322/0x1111ae: vfork() = 48322 0 48322/0x1111ae: dup2(0x3, 0x1, 0x1) = 1 0 48322/0x1111ae: close(0x3) = 0 0 48322/0x1111ae: dup2(0x4, 0x2, 0x0) = 2 0 48322/0x1111ae: close(0x4) = 0 0 48321/0x1111ae: execve("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/ld\0", 0x100104040, 0x1001038C0) = 48322 0 48321/0x1111ae: close(0x3) = 0 0 48321/0x1111ae: close(0x4) = 0 0 48319/0x1111aa: ioctl(0x3, 0x80086804, 0x7FFF51374590) = 0 0 48320/0x1111ad: ioctl(0x3, 0x80086804, 0x7FFF5FBFF550) = 0 0 48322/0x1111b1: ioctl(0x3, 0x80086804, 0x7FFF57A50C90) = 0 0 48321/0x1111ae: wait4(0xBCC2, 0x100104C30, 0x0) = 48322 0 48321/0x1111ae: open_nocancel(".\0", 0x0, 0x1) = 3 0 48321/0x1111ae: fstat64(0x3, 0x7FFF5FBFF0E0, 0x0) = 0 0 48321/0x1111ae: fcntl_nocancel(0x3, 0x32, 0x10001F9E0) = 0 0 48321/0x1111ae: close_nocancel(0x3) = 0 0 48321/0x1111ae: stat64("/Users/ecir/Desktop/embed\0", 0x7FFF5FBFF050, 0x0) = 0 0 48321/0x1111ae: access("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/ld.rpo\0", 0x4, 0x100804FE8) = -1 Err#2 48321/0x1111ae: access("x86_64.rpo\0", 0x4, 0x100804FE8) = -1 Err#2 48321/0x1111ae: access("10.8.rpo\0", 0x4, 0x100804FE8) = -1 Err#2 48321/0x1111ae: access("non-weak.rpo\0", 0x4, 0x100804FE8) = -1 Err#2 48321/0x1111ae: access("a.rpo\0", 0x4, 0x100804FE8) = -1 Err#2 48321/0x1111ae: open_nocancel("/var/tmp//ccNYGQkW.ld\0", 0x0, 0x1B6) = 3 0 48321/0x1111ae: fstat64(0x3, 0x7FFF5FBFF148, 0x7FFF5FBFF20C) = 0 0 48321/0x1111ae: read_nocancel(0x3, "\0", 0x1000) = 0 0 48321/0x1111ae: close_nocancel(0x3) = 0 0 48321/0x1111ae: unlink("/var/tmp//ccNYGQkW.ld\0", 0x7FFF759FA230, 0x10003DA08) = 0 0 48321/0x1111ae: open_nocancel("/var/tmp//ccuqUfvv.le\0", 0x0, 0x1B6) = 3 0 48321/0x1111ae: fstat64(0x3, 0x7FFF5FBFF148, 0x7FFF5FBFF20C) = 0 0 48321/0x1111ae: read_nocancel(0x3, "ld: library not found for -lpython33\n\0", 0x1000) = 37 0 48321/0x1111ae: write_nocancel(0x2, "ld\0", 0x2) = 2 0 48321/0x1111ae: write_nocancel(0x2, ":\0", 0x1) = 1 0 48321/0x1111ae: write_nocancel(0x2, " \0", 0x1) = 1 0 48321/0x1111ae: write_nocancel(0x2, "library\0", 0x7) = 7 0 48321/0x1111ae: write_nocancel(0x2, " \0", 0x1) = 1 0 48321/0x1111ae: write_nocancel(0x2, "not\0", 0x3) = 3 0 48321/0x1111ae: write_nocancel(0x2, " \0", 0x1) = 1 0 48321/0x1111ae: write_nocancel(0x2, "found\0", 0x5) = 5 0 48321/0x1111ae: write_nocancel(0x2, " \0", 0x1) = 1 0 48321/0x1111ae: write_nocancel(0x2, "for\0", 0x3) = 3 0 48321/0x1111ae: write_nocancel(0x2, " \0", 0x1) = 1 0 48321/0x1111ae: write_nocancel(0x2, "-\0", 0x1) = 1 0 48321/0x1111ae: write_nocancel(0x2, "lpython33\0", 0x9) = 9 0 48321/0x1111ae: write_nocancel(0x2, "\n\0", 0x1) = 1 0 48321/0x1111ae: read_nocancel(0x3, "\0", 0x1000) = 0 0 48321/0x1111ae: close_nocancel(0x3) = 0 0 48321/0x1111ae: unlink("/var/tmp//ccuqUfvv.le\0", 0x7FFF759FA230, 0x10003DA08) = 0 0 48321/0x1111ae: write_nocancel(0x2, "collect2: \0", 0xA) = 10 0 48321/0x1111ae: write_nocancel(0x2, "ld returned 1 exit status\0", 0x19) = 25 0 48321/0x1111ae: write_nocancel(0x2, "\n\0", 0x1) = 1 0 48321/0x1111ae: lstat64("/var/tmp//ccfM0SGw.c\0", 0x7FFF5FBFF218, 0x0) = 0 0 48321/0x1111ae: unlink("/var/tmp//ccfM0SGw.c\0", 0x7FFF5FBFF218, 0x0) = 0 0 48321/0x1111ae: lstat64("/var/tmp//ccTsRDZ7.o\0", 0x7FFF5FBFF218, 0x0) = 0 0 48321/0x1111ae: unlink("/var/tmp//ccTsRDZ7.o\0", 0x7FFF5FBFF218, 0x0) = 0 0 48321/0x1111ae: open_nocancel("/var/tmp//ccNYGQkW.ld\0", 0x0, 0x1B6) = -1 Err#2 48321/0x1111ae: lstat64("/var/tmp//ccNYGQkW.ld\0", 0x7FFF5FBFF218, 0xFFFFFFFFFFFFFFFF) = -1 Err#2 48321/0x1111ae: open_nocancel("/var/tmp//ccuqUfvv.le\0", 0x0, 0x1B6) = -1 Err#2 48321/0x1111ae: lstat64("/var/tmp//ccuqUfvv.le\0", 0x7FFF5FBFF218, 0xFFFFFFFFFFFFFFFF) = -1 Err#2 48321/0x1111ae: lstat64("a.out\0", 0x7FFF5FBFF218, 0xFFFFFFFFFFFFFFFF) = -1 Err#2 48320/0x1111ad: wait4(0xBCC1, 0x1001078A0, 0x0) = 48321 0 48319/0x1111aa: issetugid(0x10E88B000, 0x2, 0x7FFF51374C00) = 0 0 48319/0x1111aa: geteuid(0x10E88B000, 0x2, 0x0) = 0 0 48319/0x1111aa: csops(0x0, 0x0, 0x7FFF51374764) = 0 0 48319/0x1111aa: shared_region_check_np(0x7FFF513726B8, 0x2, 0x7FFF513726B8) = 0 0 48319/0x1111aa: stat64("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x7FFF51373800, 0x7FFF513747D0) = 0 0 48319/0x1111aa: open("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x0, 0x0) = 3 0 48319/0x1111aa: pread(0x3, "\312\376\272\276\0", 0x1000, 0x0) = 4096 0 48319/0x1111aa: pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x6000) = 4096 0 48319/0x1111aa: mmap(0x10E8A1000, 0x2000, 0x5, 0x12, 0x3, 0x6000) = 0xE8A1000 0 48319/0x1111aa: mmap(0x10E8A3000, 0x1000, 0x3, 0x12, 0x3, 0x8000) = 0xE8A3000 0 48319/0x1111aa: mmap(0x10E8A4000, 0x1FF0, 0x1, 0x12, 0x3, 0x9000) = 0xE8A4000 0 48319/0x1111aa: close(0x3) = 0 0 48319/0x1111aa: stat64("/usr/lib/libSystem.B.dylib\0", 0x7FFF513735E0, 0x7FFF513744E0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libcache.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libcommonCrypto.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libcompiler_rt.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libcopyfile.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libdispatch.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libdnsinfo.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libdyld.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libkeymgr.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/liblaunch.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libmacho.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libquarantine.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libremovefile.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libsystem_blocks.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libsystem_c.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libsystem_dnssd.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libsystem_info.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libsystem_kernel.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libsystem_m.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libsystem_network.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libsystem_notify.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libsystem_sandbox.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libunc.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libunwind.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libxpc.dylib\0", 0x7FFF513732D0, 0x7FFF513741D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/system/libcorecrypto.dylib\0", 0x7FFF513731D0, 0x7FFF513740D0) = 0 0 48319/0x1111aa: stat64("/usr/lib/libobjc.A.dylib\0", 0x7FFF513731B0, 0x7FFF513740B0) = 0 0 48319/0x1111aa: stat64("/usr/lib/libauto.dylib\0", 0x7FFF513731B0, 0x7FFF513740B0) = 0 0 48319/0x1111aa: stat64("/usr/lib/libc++abi.dylib\0", 0x7FFF51373080, 0x7FFF51373F80) = 0 0 48319/0x1111aa: stat64("/usr/lib/libc++.1.dylib\0", 0x7FFF51373080, 0x7FFF51373F80) = 0 0 48319/0x1111aa: getpid(0x7FFF51374538, 0x10E89A004, 0xEA60) = 48319 0 48319/0x1111aa: vfork() = 48320 0 48322/0x1111b1: shm_open(0x7FFF90130F8A, 0x0, 0x0) = 3 0 48322/0x1111b1: mmap(0x0, 0x1000, 0x1, 0x1, 0x3, 0x0) = 0x8345000 0 48322/0x1111b1: close_nocancel(0x3) = 0 0 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64/crt1.10.6.o\0", 0x7FFF57A4F9C0, 0xB) = -1 Err#2 48322/0x1111b1: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64/crt1.10.6.o\0", 0x7FFF57A4F9C0, 0xB) = -1 Err#2 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/crt1.10.6.o\0", 0x7FFF57A4F9C0, 0xB) = -1 Err#2 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/lib/gcc/crt1.10.6.o\0", 0x7FFF57A4F9C0, 0xB) = -1 Err#2 48322/0x1111b1: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/crt1.10.6.o\0", 0x7FFF57A4F9C0, 0xB) = -1 Err#2 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/lib/crt1.10.6.o\0", 0x7FFF57A4F9C0, 0xB) = -1 Err#2 48322/0x1111b1: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/crt1.10.6.o\0", 0x7FFF57A4F9C0, 0xB) = -1 Err#2 48322/0x1111b1: stat64("/usr/lib/crt1.10.6.o\0", 0x7FFF57A4F9C0, 0xB) = 0 0 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libpython33.dylib\0", 0x7FFF57A4F9C0, 0x6) = -1 Err#2 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libpython33.so\0", 0x7FFF57A4F9C0, 0x3) = -1 Err#2 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libpython33.a\0", 0x7FFF57A4F9C0, 0x2) = -1 Err#2 48322/0x1111b1: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libpython33.dylib\0", 0x7FFF57A4F9C0, 0x6) = -1 Err#2 48322/0x1111b1: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libpython33.so\0", 0x7FFF57A4F9C0, 0x3) = -1 Err#2 48322/0x1111b1: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libpython33.a\0", 0x7FFF57A4F9C0, 0x2) = -1 Err#2 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/libpython33.dylib\0", 0x7FFF57A4F9C0, 0x6) = -1 Err#2 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/libpython33.so\0", 0x7FFF57A4F9C0, 0x3) = -1 Err#2 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/libpython33.a\0", 0x7FFF57A4F9C0, 0x2) = -1 Err#2 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/lib/gcc/libpython33.dylib\0", 0x7FFF57A4F9C0, 0x6) = -1 Err#2 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/lib/gcc/libpython33.so\0", 0x7FFF57A4F9C0, 0x3) = -1 Err#2 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/lib/gcc/libpython33.a\0", 0x7FFF57A4F9C0, 0x2) = -1 Err#2 48322/0x1111b1: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/libpython33.dylib\0", 0x7FFF57A4F9C0, 0x6) = -1 Err#2 48322/0x1111b1: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/libpython33.so\0", 0x7FFF57A4F9C0, 0x3) = -1 Err#2 48322/0x1111b1: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/libpython33.a\0", 0x7FFF57A4F9C0, 0x2) = -1 Err#2 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/lib/libpython33.dylib\0", 0x7FFF57A4F9C0, 0x6) = -1 Err#2 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/lib/libpython33.so\0", 0x7FFF57A4F9C0, 0x3) = -1 Err#2 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/lib/libpython33.a\0", 0x7FFF57A4F9C0, 0x2) = -1 Err#2 48322/0x1111b1: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/libpython33.dylib\0", 0x7FFF57A4F9C0, 0x6) = -1 Err#2 48322/0x1111b1: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/libpython33.so\0", 0x7FFF57A4F9C0, 0x3) = -1 Err#2 48322/0x1111b1: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/libpython33.a\0", 0x7FFF57A4F9C0, 0x2) = -1 Err#2 48322/0x1111b1: stat64("/usr/lib/libpython33.dylib\0", 0x7FFF57A4F9C0, 0x6) = -1 Err#2 48322/0x1111b1: stat64("/usr/lib/libpython33.so\0", 0x7FFF57A4F9C0, 0x3) = -1 Err#2 48322/0x1111b1: stat64("/usr/lib/libpython33.a\0", 0x7FFF57A4F9C0, 0x2) = -1 Err#2 48322/0x1111b1: stat64("/usr/local/lib/libpython33.dylib\0", 0x7FFF57A4F9C0, 0x6) = -1 Err#2 48322/0x1111b1: stat64("/usr/local/lib/libpython33.so\0", 0x7FFF57A4F9C0, 0x3) = -1 Err#2 48322/0x1111b1: stat64("/usr/local/lib/libpython33.a\0", 0x7FFF57A4F9C0, 0x2) = -1 Err#2 48322/0x1111b1: getrlimit(0x1008, 0x7FFF57A4FC28, 0x7FFF90566470) = 0 0 48322/0x1111b1: write_nocancel(0x2, "ld: library not found for -lpython33\n\0", 0x25) = 37 0 48319/0x1111aa: __sysctl(0x7FFF513740F4, 0x2, 0x7FFF513740E0) = 0 0 48319/0x1111aa: bsdthread_register(0x7FFF904FD174, 0x7FFF904FD164, 0x2000) = 0 0 48319/0x1111aa: thread_selfid(0x7FFF904FD174, 0x7FFF904FD164, 0x0) = 1118634 0 48319/0x1111aa: mmap(0x0, 0x2000, 0x3, 0x1002, 0x1000000, 0x0) = 0xE89B000 0 48319/0x1111aa: mprotect(0x10E89B000, 0x88, 0x1) = 0 0 48319/0x1111aa: mmap(0x0, 0x17000, 0x3, 0x1002, 0x1000000, 0x0) = 0xE8A6000 0 48319/0x1111aa: mprotect(0x10E8A6000, 0x1000, 0x0) = 0 0 48319/0x1111aa: mprotect(0x10E8BC000, 0x1000, 0x0) = 0 0 48319/0x1111aa: mmap(0x0, 0x17000, 0x3, 0x1002, 0x1000000, 0x0) = 0xE8BD000 0 48319/0x1111aa: mprotect(0x10E8BD000, 0x1000, 0x0) = 0 0 48319/0x1111aa: mprotect(0x10E8D3000, 0x1000, 0x0) = 0 0 48319/0x1111aa: mmap(0x0, 0x1000, 0x3, 0x1002, 0x1000000, 0x0) = 0xE89D000 0 48319/0x1111aa: mprotect(0x10E89D000, 0x1000, 0x1) = 0 0 48319/0x1111aa: mprotect(0x10E89B000, 0x88, 0x3) = 0 0 48319/0x1111aa: mmap(0x7FF69AC00000, 0x200000, 0x3, 0x1002, 0x7000000, 0x0) = 0x9AC00000 0 48319/0x1111aa: munmap(0x7FF69AD00000, 0x100000) = 0 0 48319/0x1111aa: mprotect(0x10E89B000, 0x88, 0x1) = 0 0 48319/0x1111aa: issetugid(0x7FFF858F7075, 0x7FFF513740F4, 0x7FFF51374CE8) = 0 0 48319/0x1111aa: mmap(0x7FF69AC00000, 0x1000000, 0x3, 0x1002, 0x2000000, 0x0) = 0x9AD00000 0 48319/0x1111aa: munmap(0x7FF69AD00000, 0x300000) = 0 0 48319/0x1111aa: munmap(0x7FF69B800000, 0x500000) = 0 0 48319/0x1111aa: getpid(0x7FFF51373F54, 0x3, 0x3) = 48319 0 48319/0x1111aa: __mac_syscall(0x7FFF8E5B98CC, 0x2, 0x7FFF51373F88) = 0 0 48319/0x1111aa: stat64("/AppleInternal\0", 0x7FFF51373FF8, 0x0) = -1 Err#2 48319/0x1111aa: audit_session_self(0x7FFF51373EE0, 0x7FFF51373D18, 0x4) = 4611 0 48319/0x1111aa: geteuid(0x7FFF51373EE0, 0x7FFF51373D18, 0x0) = 0 0 48319/0x1111aa: getegid(0x7FFF51373EE0, 0x7FFF51373D18, 0x0) = 0 0 48319/0x1111aa: getaudit_addr(0x7FFF51373F90, 0x30, 0x0) = 0 0 48319/0x1111aa: csops(0xBCBF, 0x7, 0x7FFF51373B70) = 0 0 48320/0x1111ad: close(0x3) = 0 0 48320/0x1111ad: __sysctl(0x7FFF5FBFF0B4, 0x2, 0x7FFF5FBFF0A0) = 0 0 48320/0x1111ad: bsdthread_register(0x7FFF904FD174, 0x7FFF904FD164, 0x2000) = 0 0 48320/0x1111ad: thread_selfid(0x7FFF904FD174, 0x7FFF904FD164, 0x0) = 1118637 0 48320/0x1111ad: mmap(0x0, 0x2000, 0x3, 0x1002, 0x1000000, 0x0) = 0x47000 0 48320/0x1111ad: mprotect(0x100047000, 0x88, 0x1) = 0 0 48320/0x1111ad: mmap(0x0, 0x17000, 0x3, 0x1002, 0x1000000, 0x0) = 0x49000 0 48320/0x1111ad: mprotect(0x100049000, 0x1000, 0x0) = 0 0 48320/0x1111ad: mprotect(0x10005F000, 0x1000, 0x0) = 0 0 48320/0x1111ad: mmap(0x0, 0x17000, 0x3, 0x1002, 0x1000000, 0x0) = 0x60000 0 48320/0x1111ad: mprotect(0x100060000, 0x1000, 0x0) = 0 0 48320/0x1111ad: mprotect(0x100076000, 0x1000, 0x0) = 0 0 48320/0x1111ad: mmap(0x0, 0x1000, 0x3, 0x1002, 0x1000000, 0x0) = 0x77000 0 48320/0x1111ad: mprotect(0x100077000, 0x1000, 0x1) = 0 0 48320/0x1111ad: mprotect(0x100047000, 0x88, 0x3) = 0 0 48320/0x1111ad: mmap(0x0, 0x200000, 0x3, 0x1002, 0x7000000, 0x0) = 0x78000 0 48320/0x1111ad: munmap(0x100078000, 0x88000) = 0 0 48320/0x1111ad: munmap(0x100200000, 0x78000) = 0 0 48320/0x1111ad: mprotect(0x100047000, 0x88, 0x1) = 0 0 48320/0x1111ad: issetugid(0x7FFF858F7075, 0x7FFF5FBFF0B4, 0x7FFF5FBFFCB8) = 0 0 48320/0x1111ad: mmap(0x0, 0x1000000, 0x3, 0x1002, 0x2000000, 0x0) = 0x200000 0 48320/0x1111ad: munmap(0x100200000, 0x600000) = 0 0 48320/0x1111ad: munmap(0x101000000, 0x200000) = 0 0 48320/0x1111ad: getpid(0x7FFF5FBFEF14, 0x3, 0x3) = 48320 0 48320/0x1111ad: __mac_syscall(0x7FFF8E5B98CC, 0x2, 0x7FFF5FBFEF48) = 0 0 48320/0x1111ad: stat64("/AppleInternal\0", 0x7FFF5FBFEFB8, 0x0) = -1 Err#2 48320/0x1111ad: audit_session_self(0x7FFF5FBFEEA0, 0x7FFF5FBFECD8, 0x4) = 4099 0 48320/0x1111ad: geteuid(0x7FFF5FBFEEA0, 0x7FFF5FBFECD8, 0x0) = 0 0 48320/0x1111ad: getegid(0x7FFF5FBFEEA0, 0x7FFF5FBFECD8, 0x0) = 0 0 48320/0x1111ad: getaudit_addr(0x7FFF5FBFEF50, 0x30, 0x0) = 0 0 48320/0x1111ad: csops(0xBCC0, 0x7, 0x7FFF5FBFEB30) = 0 0 48320/0x1111ad: __sysctl(0x100037D60, 0x2, 0x7FFF5FBFF9B0) = 0 0 48320/0x1111ad: getrlimit(0x1008, 0x7FFF5FBFF498, 0x7FFF90566470) = 0 0 48320/0x1111ad: open_nocancel("/usr/share/locale/sk_SK.UTF-8/LC_CTYPE\0", 0x0, 0x1B6) = 3 0 48320/0x1111ad: fstat64(0x3, 0x7FFF5FBFF478, 0x0) = 0 0 48320/0x1111ad: fstat64(0x3, 0x7FFF5FBFF268, 0x7FFF5FBFF32C) = 0 0 48320/0x1111ad: lseek(0x3, 0x0, 0x1) = 0 0 48320/0x1111ad: lseek(0x3, 0x0, 0x0) = 0 0 48320/0x1111ad: read_nocancel(0x3, "RuneMagAUTF-8\0", 0x1000) = 4096 0 48320/0x1111ad: read_nocancel(0x3, "\0", 0x1000) = 4096 0 48320/0x1111ad: read_nocancel(0x3, "\0", 0x1000) = 4096 0 48320/0x1111ad: read_nocancel(0x3, "\0", 0x1000) = 4096 0 48320/0x1111ad: read_nocancel(0x3, "\0", 0x1000) = 4096 0 48320/0x1111ad: read_nocancel(0x3, "\0", 0x1000) = 4096 0 48320/0x1111ad: read_nocancel(0x3, "@\004\211\0", 0xDB70) = 56176 0 48320/0x1111ad: close_nocancel(0x3) = 0 0 48320/0x1111ad: open_nocancel("/usr/share/locale/sk_SK.UTF-8/LC_MESSAGES/LC_MESSAGES\0", 0x0, 0x0) = 3 0 48320/0x1111ad: fstat64(0x3, 0x7FFF5FBFF4A0, 0x0) = 0 0 48320/0x1111ad: read_nocancel(0x3, "^[aAyY].*\n^[nN].*\nano\nne\n\004\b\0", 0x19) = 25 0 48320/0x1111ad: close_nocancel(0x3) = 0 0 48320/0x1111ad: getuid(0x7FFF5FBFF900, 0x1000437B8, 0x100014D30) = 0 0 48320/0x1111ad: geteuid(0x7FFF5FBFF900, 0x1000437B8, 0x0) = 0 0 48320/0x1111ad: getgid(0x7FFF5FBFF900, 0x1000437B8, 0x0) = 0 0 48320/0x1111ad: getegid(0x7FFF5FBFF900, 0x1000437B8, 0x0) = 0 0 48320/0x1111ad: open_nocancel("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/share/locale/locale.alias\0", 0x0, 0x1B6) = -1 Err#2 48320/0x1111ad: open("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/share/locale/sk_SK.UTF-8/LC_MESSAGES/gcc.mo\0", 0x0, 0xF81F0) = -1 Err#2 48320/0x1111ad: open("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/share/locale/sk_SK.utf8/LC_MESSAGES/gcc.mo\0", 0x0, 0xFFFFFFFFFFFFFFFF) = -1 Err#2 48320/0x1111ad: open("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/share/locale/sk_SK/LC_MESSAGES/gcc.mo\0", 0x0, 0xFFFFFFFFFFFFFFFF) = -1 Err#2 48320/0x1111ad: open("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/share/locale/sk.UTF-8/LC_MESSAGES/gcc.mo\0", 0x0, 0xFFFFFFFFFFFFFFFF) = -1 Err#2 48320/0x1111ad: open("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/share/locale/sk.utf8/LC_MESSAGES/gcc.mo\0", 0x0, 0xFFFFFFFFFFFFFFFF) = -1 Err#2 48320/0x1111ad: open("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/share/locale/sk/LC_MESSAGES/gcc.mo\0", 0x0, 0xFFFFFFFFFFFFFFFF) = -1 Err#2 48320/0x1111ad: sigaction(0x2, 0x7FFF5FBFF9B8, 0x7FFF5FBFF9E0) = 0 0 48320/0x1111ad: sigaction(0x2, 0x7FFF5FBFF9B8, 0x7FFF5FBFF9E0) = 0 0 48320/0x1111ad: sigaction(0x1, 0x7FFF5FBFF9B8, 0x7FFF5FBFF9E0) = 0 0 48320/0x1111ad: sigaction(0x1, 0x7FFF5FBFF9B8, 0x7FFF5FBFF9E0) = 0 0 48320/0x1111ad: sigaction(0xF, 0x7FFF5FBFF9B8, 0x7FFF5FBFF9E0) = 0 0 48320/0x1111ad: sigaction(0xF, 0x7FFF5FBFF9B8, 0x7FFF5FBFF9E0) = 0 0 48320/0x1111ad: sigaction(0xD, 0x7FFF5FBFF9B8, 0x7FFF5FBFF9E0) = 0 0 48320/0x1111ad: sigaction(0xD, 0x7FFF5FBFF9B8, 0x7FFF5FBFF9E0) = 0 0 48320/0x1111ad: sigaction(0x14, 0x7FFF5FBFF9B8, 0x7FFF5FBFF9E0) = 0 0 48320/0x1111ad: stat64("/\0", 0x7FFF5FBFDFD0, 0x100026068) = 0 0 48320/0x1111ad: getattrlist("/usr\0", 0x7FFF759EE510, 0x7FFF5FBFE060) = 0 0 48320/0x1111ad: getattrlist("/usr/bin\0", 0x7FFF759EE510, 0x7FFF5FBFE060) = 0 0 48320/0x1111ad: getattrlist("/usr/llvm-gcc-4.2\0", 0x7FFF759EE510, 0x7FFF5FBFE060) = 0 0 48320/0x1111ad: getattrlist("/usr/llvm-gcc-4.2/bin\0", 0x7FFF759EE510, 0x7FFF5FBFE060) = 0 0 48320/0x1111ad: getattrlist("/usr/llvm-gcc-4.2/bin/i686-apple-darwin11-llvm-gcc-4.2\0", 0x7FFF759EE510, 0x7FFF5FBFE060) = 0 0 48320/0x1111ad: getattrlist("/usr\0", 0x7FFF759EE510, 0x7FFF5FBFE060) = 0 0 48320/0x1111ad: getattrlist("/usr/bin\0", 0x7FFF759EE510, 0x7FFF5FBFE060) = 0 0 48320/0x1111ad: getattrlist("/usr/llvm-gcc-4.2\0", 0x7FFF759EE510, 0x7FFF5FBFE060) = 0 0 48320/0x1111ad: getattrlist("/usr/llvm-gcc-4.2/bin\0", 0x7FFF759EE510, 0x7FFF5FBFE060) = 0 0 48320/0x1111ad: getattrlist("/usr/llvm-gcc-4.2/bin/i686-apple-darwin11-llvm-gcc-4.2\0", 0x7FFF759EE510, 0x7FFF5FBFE060) = 0 0 48320/0x1111ad: access("/usr/llvm-gcc-4.2/bin/\0", 0x1, 0x2E) = 0 0 48320/0x1111ad: access("/usr/llvm-gcc-4.2/bin/\0", 0x1, 0x2E) = 0 0 48320/0x1111ad: access("/usr/llvm-gcc-4.2/bin/\0", 0x1, 0x2E) = 0 0 48320/0x1111ad: access("/usr/llvm-gcc-4.2/bin/\0", 0x1, 0x2E) = 0 0 48320/0x1111ad: access("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/\0", 0x1, 0x2E) = 0 0 48320/0x1111ad: access("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/\0", 0x1, 0x2E) = 0 0 48320/0x1111ad: access("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/specs\0", 0x4, 0x0) = -1 Err#2 48320/0x1111ad: access("/usr/llvm-gcc-4.2/bin/../lib/gcc/specs\0", 0x4, 0x0) = -1 Err#2 48320/0x1111ad: access("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/specs\0", 0x4, 0x0) = -1 Err#2 48320/0x1111ad: access("/usr/lib/gcc/i686-apple-darwin11/4.2.1/specs\0", 0x4, 0x0) = -1 Err#2 48320/0x1111ad: access("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/i686-apple-darwin11/4.2.1/specs\0", 0x4, 0x0) = -1 Err#2 48320/0x1111ad: access("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/specs\0", 0x4, 0x0) = -1 Err#2 48320/0x1111ad: access("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/i686-apple-darwin11/4.2.1/specs\0", 0x4, 0x0) = -1 Err#2 48320/0x1111ad: access("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/specs\0", 0x4, 0x0) = -1 Err#2 48320/0x1111ad: access("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/specs\0", 0x4, 0x6) = -1 Err#2 48320/0x1111ad: access("/usr/llvm-gcc-4.2/bin/\0", 0x1, 0x2E) = 0 0 48320/0x1111ad: access("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/\0", 0x1, 0x2E) = 0 0 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/collect2\0", 0x7FFF5FBFF750, 0x0) = 0 0 48320/0x1111ad: access("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/collect2\0", 0x1, 0x0) = 0 0 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/as\0", 0x7FFF5FBFF750, 0x0) = 0 0 48320/0x1111ad: access("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/as\0", 0x1, 0x0) = 0 0 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = 0 0 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/.\0", 0x7FFF5FBFF7C8, 0x0) = 0 0 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = 0 0 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = 0 0 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/.\0", 0x7FFF5FBFF7C8, 0x0) = 0 0 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = 0 0 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/.\0", 0x7FFF5FBFF7C8, 0x0) = 0 0 48320/0x1111ad: stat64("/usr/libexec/gcc/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/libexec/gcc/i686-apple-darwin11/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/lib/gcc/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/lib/gcc/i686-apple-darwin11/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/bin/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/bin/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/bin/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/bin/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/lib/i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/lib/x86_64/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/lib/i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/lib/x86_64/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFF7C8, 0x0) = 0 0 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/x86_64/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFF7C8, 0x0) = 0 0 48320/0x1111ad: stat64("/usr/lib/gcc/i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/x86_64/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/x86_64/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../x86_64/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../x86_64/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/lib/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/lib/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/lib/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/lib/.\0", 0x7FFF5FBFF7C8, 0x0) = 0 0 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = 0 0 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/.\0", 0x7FFF5FBFF7C8, 0x0) = 0 0 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = 0 0 48320/0x1111ad: stat64("/usr/lib/gcc/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../.\0", 0x7FFF5FBFF7C8, 0x0) = 0 0 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFF7C8, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../.\0", 0x7FFF5FBFF7C8, 0x0) = 0 0 48320/0x1111ad: stat64("/lib/i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/lib/x86_64/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/lib/i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/lib/x86_64/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFE088, 0x0) = 0 0 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/x86_64/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFE088, 0x0) = 0 0 48320/0x1111ad: stat64("/usr/lib/gcc/i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/x86_64/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/x86_64/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../x86_64/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../i686-apple-darwin11/4.2.1/x86_64/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../x86_64/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/lib/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/lib/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFE088, 0x0) = 0 0 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/.\0", 0x7FFF5FBFE088, 0x0) = 0 0 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFE088, 0x0) = 0 0 48320/0x1111ad: stat64("/usr/lib/gcc/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../../i686-apple-darwin11/lib/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../.\0", 0x7FFF5FBFE088, 0x0) = 0 0 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../i686-apple-darwin11/4.2.1/.\0", 0x7FFF5FBFE088, 0x0) = -1 Err#2 48320/0x1111ad: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../.\0", 0x7FFF5FBFE088, 0x0) = 0 0 48320/0x1111ad: stat64("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/collect2\0", 0x7FFF5FBFF4B0, 0x0) = 0 0 48320/0x1111ad: access("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/collect2\0", 0x1, 0x0) = 0 0 48321/0x1111ad: vfork() = 48321 0 48320/0x1111ad: execve("/usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/collect2\0", 0x1001074A0, 0x1001050C0) = 48321 0 48322/0x1111b1: vfork() = 0 0 48322/0x1111b1: issetugid(0x1081AE000, 0x16, 0x7FFF57A51300) = 0 0 48322/0x1111b1: geteuid(0x1081AE000, 0x16, 0x0) = 0 0 48322/0x1111b1: csops(0x0, 0x0, 0x7FFF57A50E64) = 0 0 48322/0x1111b1: shared_region_check_np(0x7FFF57A4EDB8, 0x2, 0x7FFF57A4EDB8) = 0 0 48322/0x1111b1: stat64("/usr/lib/libstdc++.6.dylib\0", 0x7FFF57A4FCD0, 0x7FFF57A50BD0) = 0 0 48322/0x1111b1: stat64("/usr/lib/libSystem.B.dylib\0", 0x7FFF57A4FCD0, 0x7FFF57A50BD0) = 0 0 48322/0x1111b1: stat64("/usr/lib/libc++abi.dylib\0", 0x7FFF57A4FBD0, 0x7FFF57A50AD0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libcache.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libcommonCrypto.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libcompiler_rt.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libcopyfile.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libdispatch.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libdnsinfo.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libdyld.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libkeymgr.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/liblaunch.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libmacho.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libquarantine.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libremovefile.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libsystem_blocks.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libsystem_c.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libsystem_dnssd.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libsystem_info.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libsystem_kernel.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libsystem_m.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libsystem_network.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libsystem_notify.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libsystem_sandbox.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libunc.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libunwind.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libxpc.dylib\0", 0x7FFF57A4F8C0, 0x7FFF57A507C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/system/libcorecrypto.dylib\0", 0x7FFF57A4F7C0, 0x7FFF57A506C0) = 0 0 48322/0x1111b1: stat64("/usr/lib/libobjc.A.dylib\0", 0x7FFF57A4F7A0, 0x7FFF57A506A0) = 0 0 48322/0x1111b1: stat64("/usr/lib/libauto.dylib\0", 0x7FFF57A4F7A0, 0x7FFF57A506A0) = 0 0 48322/0x1111b1: stat64("/usr/lib/libc++.1.dylib\0", 0x7FFF57A4F670, 0x7FFF57A50570) = 0 0 48322/0x1111b1: open("/dev/dtracehelper\0", 0x2, 0x7FFF57A50D30) = 3 0 48322/0x1111b1: close(0x3) = 0 0 48322/0x1111b1: __sysctl(0x7FFF57A50814, 0x2, 0x7FFF57A50800) = 0 0 48322/0x1111b1: bsdthread_register(0x7FFF904FD174, 0x7FFF904FD164, 0x2000) = 0 0 48322/0x1111b1: thread_selfid(0x7FFF904FD174, 0x7FFF904FD164, 0x0) = 1118641 0 48322/0x1111b1: mmap(0x0, 0x2000, 0x3, 0x1002, 0x1000000, 0x0) = 0x8314000 0 48322/0x1111b1: mprotect(0x108314000, 0x88, 0x1) = 0 0 48322/0x1111b1: mmap(0x0, 0x17000, 0x3, 0x1002, 0x1000000, 0x0) = 0x8316000 0 48322/0x1111b1: mprotect(0x108316000, 0x1000, 0x0) = 0 0 48322/0x1111b1: mprotect(0x10832C000, 0x1000, 0x0) = 0 0 48322/0x1111b1: mmap(0x0, 0x17000, 0x3, 0x1002, 0x1000000, 0x0) = 0x832D000 0 48322/0x1111b1: mprotect(0x10832D000, 0x1000, 0x0) = 0 0 48322/0x1111b1: mprotect(0x108343000, 0x1000, 0x0) = 0 0 48322/0x1111b1: mmap(0x0, 0x1000, 0x3, 0x1002, 0x1000000, 0x0) = 0x8344000 0 48322/0x1111b1: mprotect(0x108344000, 0x1000, 0x1) = 0 0 48322/0x1111b1: mprotect(0x108314000, 0x88, 0x3) = 0 0 48322/0x1111b1: mmap(0x7FE90BC00000, 0x200000, 0x3, 0x1002, 0x7000000, 0x0) = 0xBC00000 0 48322/0x1111b1: munmap(0x7FE90BD00000, 0x100000) = 0 0 48322/0x1111b1: mprotect(0x108314000, 0x88, 0x1) = 0 0 48322/0x1111b1: issetugid(0x7FFF858F7075, 0x7FFF57A50814, 0x7FFF57A51490) = 0 0 48322/0x1111b1: mmap(0x7FE90BC00000, 0x1000000, 0x3, 0x1002, 0x2000000, 0x0) = 0xBD00000 0 48322/0x1111b1: munmap(0x7FE90BD00000, 0x300000) = 0 0 48322/0x1111b1: munmap(0x7FE90C800000, 0x500000) = 0 0 48322/0x1111b1: getpid(0x7FFF57A50674, 0x3, 0x3) = 48322 0 48322/0x1111b1: __mac_syscall(0x7FFF8E5B98CC, 0x2, 0x7FFF57A506A8) = 0 0 48322/0x1111b1: stat64("/AppleInternal\0", 0x7FFF57A50718, 0x0) = -1 Err#2 48322/0x1111b1: audit_session_self(0x7FFF57A50600, 0x7FFF57A50438, 0x4) = 4099 0 48322/0x1111b1: geteuid(0x7FFF57A50600, 0x7FFF57A50438, 0x0) = 0 0 48322/0x1111b1: getegid(0x7FFF57A50600, 0x7FFF57A50438, 0x0) = 0 0 48322/0x1111b1: getaudit_addr(0x7FFF57A506B0, 0x30, 0x0) = 0 0 48322/0x1111b1: csops(0xBCC2, 0x7, 0x7FFF57A50290) = 0 0 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64\0", 0x7FFF57A4F1C8, 0x1) = 0 0 48322/0x1111b1: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64\0", 0x7FFF57A4F1C8, 0x0) = 0 0 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1\0", 0x7FFF57A4F1C8, 0x0) = 0 0 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc\0", 0x7FFF57A4F1C8, 0x0) = 0 0 48322/0x1111b1: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1\0", 0x7FFF57A4F1C8, 0x0) = 0 0 48322/0x1111b1: stat64("/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../..\0", 0x7FFF57A4F1C8, 0x0) = 0 0 48322/0x1111b1: stat64("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../..\0", 0x7FFF57A4F1C8, 0x0) = 0 0 48322/0x1111b1: stat64("/\0", 0x7FFF57A4DA80, 0x0) = 0 0 48322/0x1111b1: getattrlist("/usr\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/bin\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/lib\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/lib/gcc\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64\0", 0x7FFF759EE510, 0x7FFF57A4DB10 = 0 0 48322/0x1111b1: getattrlist("/usr\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/bin\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/lib\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/lib/gcc\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/bin\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/lib\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/lib/gcc\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/bin\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/lib\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/lib/gcc\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/Applications\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/Applications/Xcode.app\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/Applications/Xcode.app/Contents\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/Applications/Xcode.app/Contents/Developer\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/Applications/Xcode.app/Contents/Developer/usr\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: getattrlist("/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1\0", 0x7FFF759EE510, 0x7FFF57A4DB10) = 0 0 48322/0x1111b1: access("/etc/localtime\0", 0x4, 0x0) = 0 0 48322/0x1111b1: open_nocancel("/etc/localtime\0", 0x0, 0x0) = 3 0 48322/0x1111b1: fstat64(0x3, 0x7FFF57A4F548, 0x0) = 0 0 48322/0x1111b1: read_nocancel(0x3, "TZif\0", 0x2A64) = 806 0 48322/0x1111b1: close_nocancel(0x3) = 0 0 48319/0x1111aa: wait4(0xBCC0, 0x7FF69AC03B90, 0x0) = 48320 0 On Sun, Feb 24, 2013 at 3:53 PM, M.-A. Lemburg wrote: > On 24.02.2013 15:48, ecir hana wrote: > > On Sun, Feb 24, 2013 at 3:43 PM, M.-A. Lemburg wrote: > > > >> On 24.02.2013 15:18, ecir hana wrote: > >> > > > >> Try a dtruss of the operation to check what gcc is looking for > >> and where. > >> > > > > You mean "sudo dtruss gcc -lname python33"? Do you mind if I post the > > result here, as I don't really understand what it is doing? > > You need to run "sudo dtruss -f gcc -lpython3.3", since the trace > you posted stops at the vfork() and doesn't include the interesting > parts. > > -- > Marc-Andre Lemburg > eGenix.com > > Professional Python Services directly from the Source (#1, Feb 24 2013) > >>> Python Projects, Consulting and Support ... http://www.egenix.com/ > >>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ > >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ > ________________________________________________________________________ > > ::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: > > eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 > D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg > Registered at Amtsgericht Duesseldorf: HRB 46611 > http://www.egenix.com/company/contact/ > From ecir.hana at gmail.com Mon Feb 25 18:22:25 2013 From: ecir.hana at gmail.com (ecir hana) Date: Mon, 25 Feb 2013 18:22:25 +0100 Subject: [capi-sig] Qt and Python Message-ID: Hello, I try to embed Python into Qt application but when I add #include at the top for working app, the compilation breaks with: ../sample/python3.3m/object.h:432:23: error: expected member name or ';' after declaration specifiers PyType_Slot *slots; /* terminated by slot==0. */ ~~~~~~~~~~~ ^ Please, does anyone know why this happens? I'm new to all this compilation stuff - could it be that Python defines the same names as Qt? Namely "slots"? Qt uses "clang++", it that changes anything... From francis.bolduc at cm-labs.com Mon Feb 25 21:44:11 2013 From: francis.bolduc at cm-labs.com (Francis Bolduc) Date: Mon, 25 Feb 2013 15:44:11 -0500 Subject: [capi-sig] Qt and Python In-Reply-To: References: Message-ID: I think there is a macro defined in one the Qt headers that turns "slots" into nothing. This allows the following to work: #include class Something : public QWidget { Q_OBJECT public slots: void doStuff(); }; That would explain why you get this error message. You compiler sees: PyType_Slot *; Because the "slots" word disappeared. At least that's my theory. Can you include Python.h before including any Qt headers, maybe that'll solve your problem. On Mon, Feb 25, 2013 at 12:22 PM, ecir hana wrote: > Hello, > > I try to embed Python into Qt application but when I add > > #include > > at the top for working app, the compilation breaks with: > > ../sample/python3.3m/object.h:432:23: error: expected member name or > ';' after declaration specifiers > PyType_Slot *slots; /* terminated by slot==0. */ > ~~~~~~~~~~~ ^ > > Please, does anyone know why this happens? I'm new to all this compilation > stuff - could it be that Python defines the same names as Qt? Namely > "slots"? > > Qt uses "clang++", it that changes anything... > _______________________________________________ > capi-sig mailing list > capi-sig at python.org > http://mail.python.org/mailman/listinfo/capi-sig -- Francis Bolduc, B.Sc. CM-Labs Simulation Inc. From ecir.hana at gmail.com Tue Feb 26 01:05:09 2013 From: ecir.hana at gmail.com (ecir hana) Date: Tue, 26 Feb 2013 01:05:09 +0100 Subject: [capi-sig] Qt and Python In-Reply-To: References: Message-ID: For archival purposes, here is the solution which works: http://stackoverflow.com/a/15078676/1037407 From ecir.hana at gmail.com Thu Feb 28 21:30:51 2013 From: ecir.hana at gmail.com (ecir hana) Date: Thu, 28 Feb 2013 21:30:51 +0100 Subject: [capi-sig] Import Message-ID: Hello, I managed to embed Python interpreter and now I would like to include all of the standard library with the app. I built Python from source and it created a folder "lib/python3.3" with all the libraries, it seems. Before I do "Py_Initialize()" I had to do "Py_SetPath()" pointing to the application directory (there I copied the whole "lib"). It works but I have a few questions. Please: - I had to set path to both "lib" and to "lib/lib-dynload" - why is that? If I remember correctly, on Windows there used to be two directories "Lib" and "libs" (?) - one containing C extensions and the other one pure Python modules. That has changed? In any case, why do I have to point to the "lib-dynload" as well, why can't the interpreter recursively search the top most "lib"? And if I wanted to include new modules, should I put them inside "site-packages"? - the docs say, "The path components should be separated by semicolons" that is ";" - but I had to use ":" - I'm on Mac, maybe the are the docs Windows specific? - to enable Python to import stdlib, is it the right way to do so with "Py_SetPath()"? Or are there other idioms? - I read somewhere sometime that it may be possible to incude giant .zip file, instead of all the libraries files (.py, .so) - is it true? How does a script import from such an archive? I hope you don't mind such newbie questions... From francis.bolduc at cm-labs.com Thu Feb 28 22:14:26 2013 From: francis.bolduc at cm-labs.com (Francis Bolduc) Date: Thu, 28 Feb 2013 16:14:26 -0500 Subject: [capi-sig] Import In-Reply-To: References: Message-ID: > - I had to set path to both "lib" and to "lib/lib-dynload" - why is that? > If I remember correctly, on Windows there used to be two directories "Lib" > and "libs" (?) - one containing C extensions and the other one pure Python > modules. That has changed? In any case, why do I have to point to the > "lib-dynload" as well, why can't the interpreter recursively search the top > most "lib"? And if I wanted to include new modules, should I put them > inside "site-packages"? I don't have an answer for that. > - the docs say, "The path components should be separated by semicolons" > that is ";" - but I had to use ":" - I'm on Mac, maybe the are the docs > Windows specific? Then I think the doc is wrong. I do the following: #ifdef _WIN32 char separator = ';'; #else char separator = ':'; #endif > - to enable Python to import stdlib, is it the right way to do so with > "Py_SetPath()"? > Or are there other idioms? It is the right way. > - I read somewhere sometime that it may be possible to incude giant .zip > file, instead of all the libraries files (.py, .so) - is it true? How does > a script import from such an archive? The Python interpreter can read zip files. This is what I do myself. I zip the entire Python library and embed it inside my application. Then I extract it at run-time in a temporary directory, then I point the Python interpreter to it using Py_SetPath. > I hope you don't mind such newbie questions... Not at all. Extending and embedding and distributing Python within an application seems to be the most common use case. Once you know what to do, it is actually very simple. But it is not covered in the documentation, nor are there any examples. I only succeeded because I actually read the CPython source code. Maybe, some day, somebody will feel generous and publish an example of how to do that. Until then, this is the best place to ask questions. -- Francis Bolduc, B.Sc. CM-Labs Simulation Inc.