Thread: [XonX-Users] Compiling Xbae
Brought to you by:
torrey
From: Ebrahim M. <eb...@cy...> - 2002-02-22 18:50:14
|
Hello all I have just subscribed to your mailing list. I would like to link the Xbae-4.7.3 widget library with Lesstif which I have just installed on my machine. (I have no problems running Motif from within X-Windows if I substitute mwm for the twm option in the xinitrc file.) I do, however, have a problem when trying to compile the Xbae library. /usr/local/LessTif/Motif1.2/include/Xm/Xm.h:29: header file 'X11/Intrinsic.h' not found /usr/local/LessTif/Motif1.2/include/Xm/Xm.h:30: header file 'X11/Shell.h' not found /usr/local/LessTif/Motif1.2/include/Xm/Xm.h:31: header file 'X11/Xatom.h' not found /usr/local/LessTif/Motif1.2/include/Xm/XmStrDefs.h:3505: header file 'X11/StringDefs.h' not found Could anybody tell me where I could obtain the missing X11 headers mentioned above. Running Configuration: Machine: iMac DV G3 400 Mhz OS: 10.1.2 X-Windows Env: XFree86 v4.1 in conjunction with XDarwin 1.0.5 RAM: 320 Mb Many Thanks. Ebrahim Mayat |
From: Torrey T. L. <to...@mr...> - 2002-02-26 20:39:00
|
At 8:50 PM +0200 2/22/02, Ebrahim Mayat wrote: >Hello all > >I have just subscribed to your mailing list. I would like to link >the Xbae-4.7.3 widget library with Lesstif which I have just >installed on my machine. (I have no problems running Motif from >within X-Windows if I substitute mwm for the twm option in the >xinitrc file.) I do, however, have a problem when trying to compile >the Xbae library. > >/usr/local/LessTif/Motif1.2/include/Xm/Xm.h:29: header file >'X11/Intrinsic.h' not found >/usr/local/LessTif/Motif1.2/include/Xm/Xm.h:30: header file >'X11/Shell.h' not found >/usr/local/LessTif/Motif1.2/include/Xm/Xm.h:31: header file >'X11/Xatom.h' not found >/usr/local/LessTif/Motif1.2/include/Xm/XmStrDefs.h:3505: header file >'X11/StringDefs.h' not found > >Could anybody tell me where I could obtain the missing X11 headers >mentioned above. These header files are part of the standard XFree86 4.2 install. They live in /usr/X11R6/include/X11/. If you don't have these files, then you likely did not install the programmer's tools when installing XFree86. If you installed with Xinstall.sh then you need to download Xprog.tgz and rerun Xinstall.sh. If you installed with XInstall.sit, then you should do a full install or make sure you include the programmer's tools if you do a custom install. If you got XFree86 4.2 from another source, you will need to contact them to find out how to get all the headers. On the other hand if you have these file, you may need to make sure /usr/X11R6/include is in your include path. --Torrey |
From: Ebrahim M. <eb...@cy...> - 2002-02-27 12:55:42
|
Could anybody tell me where I could obtain the missing X11 headers mentioned above. These header files are part of the standard XFree86 4.2 install. They live in /usr/X11R6/include/X11/. If you don't have these files, then you likely did not install the programmer's tools when installing XFree86. If you installed with Xinstall.sh then you need to download Xprog.tgz and rerun Xinstall.sh. If you installed with XInstall.sit, then you should do a full install or make sure you include the programmer's tools if you do a custom install. If you got XFree86 4.2 from another source, you will need to contact them to find out how to get all the headers. On the other hand if you have these file, you may need to make sure /usr/X11R6/include is in your include path. --Torrey Hi Many thanks for your help. I have installed XFree86 4.2.0 and now I do have the missing headers Intrinsic.h, Shell.h, Xatom.h and StringDefs.h. More questions: 1. Is the "programmer's tools" the same as the "Development C Headers for XFree86" in www.osxgnu.org/software/Xwin/xfree86/ I have tried to download these development headers, but I cannot. 2. I have now tried compiling Xbae and I get the following messages in Terminal.app: [localhost:~] ebrahimm% cd Xbae-4.9.1 [localhost:~/Xbae-4.9.1] ebrahimm% sudo ./configure --with- x=/usr/X11R6/bin --x-includes=/usr/X11R6/include/.. --x- libraries=/usr/X11R6/lib --with-motif- includes=/usr/local/LessTif/Motif1.2/include --with-motif- libraries=/usr/local/LessTif/Motif1.2/lib --enable-build-12 --enable-default-12 localhost Password: configure: WARNING: you should use --build, --host, --target How does one use the build, host and target options? When I try to run a "make install" command, I get the following response: sudo make install Password: Making install in include Making install in Xbae make[3]: Nothing to be done for `install-exec-am'. /bin/sh ../../mkinstalldirs /usr/local/include/Xbae mkdir /usr/local/include/Xbae /usr/bin/install -c -m 644 Matrix.h /usr/local/include/Xbae/Matrix.h /usr/bin/install -c -m 644 Input.h /usr/local/include/Xbae/Input.h /usr/bin/install -c -m 644 Caption.h /usr/local/include/Xbae/Caption.h /usr/bin/install -c -m 644 MatrixP.h /usr/local/include/Xbae/MatrixP.h /usr/bin/install -c -m 644 Clip.h /usr/local/include/Xbae/Clip.h /usr/bin/install -c -m 644 ClipP.h /usr/local/include/Xbae/ClipP.h /usr/bin/install -c -m 644 CaptionP.h /usr/local/include/Xbae/CaptionP.h /usr/bin/install -c -m 644 InputP.h /usr/local/include/Xbae/InputP.h /usr/bin/install -c -m 644 patchlevel.h /usr/local/include/Xbae/patchlevel.h make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in src /bin/sh ../mkinstalldirs /Users/ebrahimm/Library /bin/sh ../libtool --mode=install /usr/bin/install -c libXbae.la /Users/ebrahimm/Library/libXbae.la libtool: install: `libXbae.la' is not a valid libtool archive Try `libtool --help --mode=install' for more information. make[2]: *** [install-libLTLIBRARIES] Error 1 make[1]: *** [install-am] Error 2 make: *** [install-recursive] Error 1 It seems like I also need to add a "libtool" command for successful installation. Do I add "libtool" as an option with the "make install" command? What do Error 1 and Error2 mean? All help will be appreciated. Ebrahim Mayat |
From: Torrey T. L. <to...@mr...> - 2002-02-28 01:03:53
|
At 1:16 PM +0200 2/27/02, Ebrahim Mayat wrote: >Could anybody tell me where I could obtain the missing X11 headers >mentioned above. > >These header files are part of the standard XFree86 4.2 install. >They live in /usr/X11R6/include/X11/. If you don't have these files, >then you likely did not install the programmer's tools when >installing XFree86. If you installed with Xinstall.sh then you need >to download Xprog.tgz and rerun Xinstall.sh. If you installed with >XInstall.sit, then you should do a full install or make sure you >include the programmer's tools if you do a custom install. If you >got XFree86 4.2 from another source, you will need to contact them >to find out how to get all the headers. > >On the other hand if you have these file, you may need to make sure >/usr/X11R6/include is in your include path. > >--Torrey > >Hi >Many thanks for your help. I have installed XFree86 4.2.0 and now I >do have the missing headers Intrinsic.h, Shell.h, Xatom.h and >StringDefs.h. > >More questions: > >1. Is the "programmer's tools" the same as the "Development C >Headers for XFree86" in > >www.osxgnu.org/software/Xwin/xfree86/ > >I have tried to download these development headers, but I cannot. You would have to ask the OSXGNU guys. From the name, I would guess they are the same although Xprog.tgz also includes static archives. >2. I have now tried compiling Xbae and I get the following messages >in Terminal.app: > >[localhost:~] ebrahimm% cd Xbae-4.9.1 >[localhost:~/Xbae-4.9.1] ebrahimm% sudo ./configure >--with-x=/usr/X11R6/bin --x-includes=/usr/X11R6/include/.. >--x-libraries=/usr/X11R6/lib >--with-motif-includes=/usr/local/LessTif/Motif1.2/include >--with-motif-libraries=/usr/local/LessTif/Motif1.2/lib >--enable-build-12 --enable-default-12 localhost >Password: >configure: WARNING: you should use --build, --host, --target > > How does one use the build, host and target options? If you copy config.guess and config.sub from /usr/share/libtool to the Xbae-4.9.1 directory, configure should be able to find the host type for itself. The problem is likely that the version included with Xbae doesn't know about Mac OS X. > When I try to run a "make install" command, I get the >following response: > >sudo make install >Password: >Making install in include >Making install in Xbae >make[3]: Nothing to be done for `install-exec-am'. >/bin/sh ../../mkinstalldirs /usr/local/include/Xbae >mkdir /usr/local/include/Xbae > /usr/bin/install -c -m 644 Matrix.h /usr/local/include/Xbae/Matrix.h > /usr/bin/install -c -m 644 Input.h /usr/local/include/Xbae/Input.h > /usr/bin/install -c -m 644 Caption.h /usr/local/include/Xbae/Caption.h > /usr/bin/install -c -m 644 MatrixP.h /usr/local/include/Xbae/MatrixP.h > /usr/bin/install -c -m 644 Clip.h /usr/local/include/Xbae/Clip.h > /usr/bin/install -c -m 644 ClipP.h /usr/local/include/Xbae/ClipP.h > /usr/bin/install -c -m 644 CaptionP.h /usr/local/include/Xbae/CaptionP.h > /usr/bin/install -c -m 644 InputP.h /usr/local/include/Xbae/InputP.h > /usr/bin/install -c -m 644 patchlevel.h /usr/local/include/Xbae/patchlevel.h >make[3]: Nothing to be done for `install-exec-am'. >make[3]: Nothing to be done for `install-data-am'. >Making install in src >/bin/sh ../mkinstalldirs /Users/ebrahimm/Library >/bin/sh ../libtool --mode=install /usr/bin/install -c libXbae.la >/Users/ebrahimm/Library/libXbae.la >libtool: install: `libXbae.la' is not a valid libtool archive >Try `libtool --help --mode=install' for more information. >make[2]: *** [install-libLTLIBRARIES] Error 1 >make[1]: *** [install-am] Error 2 >make: *** [install-recursive] Error 1 > > It seems like I also need to add a "libtool" command for >successful installation. > Do I add "libtool" as an option with the "make install" command? > What do Error 1 and Error2 mean? If you get the initial configure step correct, this should all be taken care of for you. --Torrey |