Re: [ooc-compiler] Problem Building ooc on MacOS X Leopard 10.5.8
Brought to you by:
mva
|
From: Treutwein B. <Ber...@Ve...> - 2010-06-21 14:51:12
|
Hi Duke, [...] > sudo env "CC=/usr/bin/gcc-4.2" "CFLAGS=-O2" > "CPPFLAGS=-no-cpp-precomp -DGC_DARWIN_THREADS > -fnested-functions" ./configure --enable-threads=pthreads > > I'm not very savvy with C and its tools like "make" et al. Every time > I try to build "ooc" now, all I get is the above - the choke > point. The other long and verbose compilation seems to be > by-passed. Is there a way to start from scratch, other than to edit > one of the source files? > neither I'm very familiar with the make process, but I mastered it successfully several times. As far as I know, it is neither necessary nor recommended to sudo the configure & compile step, it should only be necessary to sudo the "make install". Now back: You should be able to do a "make distclean" to cleanup everything, which was configured. Maybe you need to sudo this step to everything cleaned. Then a ./configure make sudo make install should get you through the plain process. In your case the configure step appears to be: env "CC=/usr/bin/gcc-4.2" "CFLAGS=-O2" "CPPFLAGS=-no-cpp-precomp -DGC_DARWIN_THREADS -fnested-functions" ./configure --enable-threads=pthreads regards -- Bernhard > -----Original Message----- > From: Duke Normandin [mailto:duk...@ml...] > Sent: Monday, June 21, 2010 3:57 PM > To: ooc Compiler > Subject: [ooc-compiler] Problem Building ooc on MacOS X Leopard 10.5.8 > > > Good Morning! > > Need help solving this please: > > dnormandin@ ~/programming/oberon/oo2c_64-2.1.11 > 07:30 am >> make > sed -e 's?%libdir%?/usr/local/lib?g' \ > -e 's?%oocdir%?/usr/local/lib/oo2c?g' \ > -e 's?%bindir%?/usr/local/bin?g' \ > -e 's?%INSTALL%?/usr/bin/install -c?g' \ > -e 's?%INSTALL_PROGRAM%?/usr/bin/install-c?g' \ > -e 's?%INSTALL_DATA%?/usr/bin/install -c -m 644?g' \ > /Users/dnormandin/programming/oberon/oo2c_64-2.1.11/rsrc/OOC/o > o2crc.xml.mk>/Users/dnormandin/programming/oberon/oo2c_64-2.1. > 11/rsrc/OOC/oo2crc.xml > sed -e's:<file-system>:<!--:g' \ > -e 's:</file-system>:-->:g' \ > -e > 's:<repositories>:<repositories><file-system>/Users/dnormandin > /programming/oberon/oo2c_64-2.1.11/lib</file-system><file-syst em>/Users/dnormandin/programming/oberon/oo2c_64-> 2.1.11</file-system>:' \ > /Users/dnormandin/programming/oberon/oo2c_64-2.1.11/rsrc/OOC/o > o2crc.xml > >/Users/dnormandin/programming/oberon/oo2c_64-2.1.11/oo2crc-in > stall.xml > stage0/oo2c > --config > oo2crc-install.xml > -v > -r > lib > -r > . > --build-package > liboo2c > make: > *** > [lib/obj/liboo2c.la] > Error 1 > > I configured with: > > sudo env "CC=/usr/bin/gcc-4.2" "CFLAGS=-O2" > "CPPFLAGS=-no-cpp-precomp -DGC_DARWIN_THREADS > -fnested-functions" ./configure --enable-threads=pthreads > > I'm not very savvy with C and its tools like "make" et al. Every time > I try to build "ooc" now, all I get is the above - the choke > point. The other long and verbose compilation seems to be > by-passed. Is there a way to start from scratch, other than to edit > one of the source files? > > *Sidebar* > I cannot believe how mauch I'm enjoying programming in Oberon! I also > have the Oberon system Aos/A2 working on my Mac. That's cool too. > > -- > Duke Normandin > Alberta, Canada > -- > > -------------------------------------------------------------- > ---------------- > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > ooc-compiler mailing list > ooc...@li... > https://lists.sourceforge.net/lists/listinfo/ooc-compiler > |