thelogic Posted January 8, 2008 Share Posted January 8, 2008 Hi... Just wondering how's it done.. I know theres some ./configure / make / makeinstall cmds involved but not sure on the flags etc. I'm hoping to be able to use this: http://pldaniels.com/hpgl-dxf/ is there a noobs guide on how to do this about? Any help would be much appreciated! TIA Link to comment https://www.insanelymac.com/forum/topic/80579-compile-bsd-source-in-leopard/ Share on other sites More sharing options...
AlainTox714 Posted January 8, 2008 Share Posted January 8, 2008 Hi... Just wondering how's it done.. I know theres some ./configure / make / makeinstall cmds involved but not sure on the flags etc. I'm hoping to be able to use this: http://pldaniels.com/hpgl-dxf/ is there a noobs guide on how to do this about? Any help would be much appreciated! TIA 1) Download hpgl-dxf-0.0.2.tar.gz from pldaniels.com 2) expand to desktop to get a folder hpgl-dxf-0.0.2 3) Open makefile with TextEdit Instructions inside: all: hpgl-dxf hpgl-dxf: hpgl-dxf.c gcc -Wall hpgl-dxf.c -o hpgl-dxf install: hpgl-dxf cp hpgl-dxf /usr/local/bin clean: rm hpgl-dxf *.o 4) Open Terminal 5) In terminal: cd ~/Desktop/hpgl-dxf-0.0.2 ~/Desktop/hpgl-dxf-0.0.2 : gcc -Wall hpgl-dxf.c -o hpgl-dxf hpgl-dxf.c: In function ‘main’: hpgl-dxf.c:313: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘size_t’ hpgl-dxf.c:342: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ hpgl-dxf.c:342: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘size_t’ ~/Desktop/hpgl-dxf-0.0.2 : chmod +x ~/Desktop/hpgl-dxf-0.0.2/hpgl-dxf 6) In folder hpgl-dxf-0.0.2 you will get a file hpgl-dxf, your binary. 7) I guess but not sure that you will need the Developer Tools installed As you can see there is 3 warnings, i don't think is important in case tha binary don't works, you will have to modify the source to remove there warnings. hpgl_dxf.zip Link to comment https://www.insanelymac.com/forum/topic/80579-compile-bsd-source-in-leopard/#findComment-571108 Share on other sites More sharing options...
thelogic Posted January 8, 2008 Author Share Posted January 8, 2008 Hi Alain... Many thanks! works just fine!! I've just found something else to try (it's mentioned on the hpgl-dxf website): http://www.ribbonsoft.com/qcad_downloads.html - check the open source community edition. On this page http://zeitkunst.org/blog/2007/02/13/compi...os-x-with-fink/ it shows how to compile but with using Fink - Have you used that in Leopard? Would be great to get this app going too Thanks again for the hpgl-dxf bianry tho... Dan Link to comment https://www.insanelymac.com/forum/topic/80579-compile-bsd-source-in-leopard/#findComment-571166 Share on other sites More sharing options...
AlainTox714 Posted January 8, 2008 Share Posted January 8, 2008 After downloading : You will directly get an executable in the folder: ~/Desktop/qcad-2.1.3.2-1-demo.freebsd.x86 The problem is that this executable can't run on Leo only Tiger and the sources are not available. About Fink check that Link : Fink works fine in Tiger and should in Leo, i don't use it anymore but it will do the job. Sorry I tried the free BSB version and no way. This time I downloaded the Mac OS 10.4 version and the QCadDemo.app in folder: qcad-2.1.3.2-1-demo.macosx.tiger.universal works fine in Leo. Hope this help. Link to comment https://www.insanelymac.com/forum/topic/80579-compile-bsd-source-in-leopard/#findComment-571532 Share on other sites More sharing options...
thelogic Posted January 8, 2008 Author Share Posted January 8, 2008 Hey... Yeh, i tried the tiger version but even tho it runs in Leo i noticed some probs (display not updating or showing contents when zooming until the window is resized for instance*). Was just wondering if we could compile a Leo version from the sources as the demo is limited and i'd like to be able to print out without restrictions - looks like i need to install tiger to compile arrrghh! Hohum... thanks for effort tho! * Just found that it was a QuartzGL issue - disabling that with quartz debug solved the prob. Link to comment https://www.insanelymac.com/forum/topic/80579-compile-bsd-source-in-leopard/#findComment-571782 Share on other sites More sharing options...
Recommended Posts