Menu

compiling dwg2dxf on mac osx

Help
torben22
2004-12-29
2013-04-22
  • torben22

    torben22 - 2004-12-29

    Hello,

    i tried to compile dwg2dxf on my mac osx-machine.

    After running
    ./configure --target=powerpc-apple-darwin7.6.0 --build=powerpc-apple-darwin7.6.0
    config.h has been created.

    Then Ive invoked a "make" and got following message:

    make  all-recursive
    Making all in dwg2dxf
    Making all in docs
    Making all in en
    make[4]: Nothing to be done for `all'.
    make[4]: Nothing to be done for `all-am'.
    c++  -g -O2  -o dwg2dxf  main.o ad2.a
    ld: archive: ad2.a has no table of contents, add one with ranlib(1) (can't load from it)
    make[3]: *** [dwg2dxf] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all-recursive-am] Error 2

    dwg2dxf has not been build.

    Does anybody know how to solve this problem?

    Compiling the same code on my i86-linux-machine was sucessfully and the programm works pretty well there...

    Thank you,

    Torben

     
    • Andrew Bibb

      Andrew Bibb - 2005-01-22

      Torben,

      It appears to be a link error.  Because of that I suspect it may have something to do with the version of ld on your Mac.  Other that that not much I can suggest -- I've never even seen one of these machines up close.

      andy

       
      • razvan

        razvan - 2005-01-27

        Hello everybody, i have the follow problem, i have a debian testin s.o. and i want compile lx-viewer, my problem is, when i execute make the error message is: make  all-recursive
        make[1]: Entering directory `/home/razvan/lx-viewer-1.0.2'
        Making all in viewer
        make[2]: Entering directory `/home/razvan/lx-viewer-1.0.2/viewer'
        Making all in docs
        make[3]: Entering directory `/home/razvan/lx-viewer-1.0.2/viewer/docs'
        Making all in en
        make[4]: Entering directory `/home/razvan/lx-viewer-1.0.2/viewer/docs/en'
        make[4]: Nothing to be done for `all'.
        make[4]: Leaving directory `/home/razvan/lx-viewer-1.0.2/viewer/docs/en'
        make[4]: Entering directory `/home/razvan/lx-viewer-1.0.2/viewer/docs'
        make[4]: Nothing to be done for `all-am'.
        make[4]: Leaving directory `/home/razvan/lx-viewer-1.0.2/viewer/docs'
        make[3]: Leaving directory `/home/razvan/lx-viewer-1.0.2/viewer/docs'
        Making all in OpenDWG
        make[3]: Entering directory `/home/razvan/lx-viewer-1.0.2/viewer/OpenDWG'
        make[3]: Nothing to be done for `all'.
        make[3]: Leaving directory `/home/razvan/lx-viewer-1.0.2/viewer/OpenDWG'
        Making all in xpm
        make[3]: Entering directory `/home/razvan/lx-viewer-1.0.2/viewer/xpm'
        make[3]: Nothing to be done for `all'.
        make[3]: Leaving directory `/home/razvan/lx-viewer-1.0.2/viewer/xpm'
        Making all in pcp
        make[3]: Entering directory `/home/razvan/lx-viewer-1.0.2/viewer/pcp'
        make[3]: Nothing to be done for `all'.
        make[3]: Leaving directory `/home/razvan/lx-viewer-1.0.2/viewer/pcp'
        Making all in fonts
        make[3]: Entering directory `/home/razvan/lx-viewer-1.0.2/viewer/fonts'
        make[3]: Nothing to be done for `all'.
        make[3]: Leaving directory `/home/razvan/lx-viewer-1.0.2/viewer/fonts'
        Making all in translations
        make[3]: Entering directory `/home/razvan/lx-viewer-1.0.2/viewer/translations'
        make[3]: Nothing to be done for `all'.
        make[3]: Leaving directory `/home/razvan/lx-viewer-1.0.2/viewer/translations'
        make[3]: Entering directory `/home/razvan/lx-viewer-1.0.2/viewer'
        make[3]: *** No rule to make target `OpenDWG/ad2.a', needed by `viewer'.  Stop.
        make[3]: Leaving directory `/home/razvan/lx-viewer-1.0.2/viewer'
        make[2]: *** [all-recursive] Error 1
        make[2]: Leaving directory `/home/razvan/lx-viewer-1.0.2/viewer'
        make[1]: *** [all-recursive] Error 1
        make[1]: Leaving directory `/home/razvan/lx-viewer-1.0.2'
        make: *** [all-recursive-am] Error 2
        Any idea, about this?
        thanks
        razvan

         
        • Andrew Bibb

          Andrew Bibb - 2005-02-04

          It sounds like you either need the OpenDWG libraries (ad2.a and ad3.a) or need to place them where the script can find them (specifically in the OpenDWG subdirectory).

          Just love these cryptic compile messages.

          andy

           

Log in to post a comment.