all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?
@ 2003-05-19  6:10 David Combs
  2003-05-19  8:09 ` Akop Pogosian
  2003-05-22 11:02 ` Kai Großjohann
  0 siblings, 2 replies; 13+ messages in thread
From: David Combs @ 2003-05-19  6:10 UTC (permalink / raw)


[]  emacs: 21.3: 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?

(four questions)

Here's the original message I got while "making" emacs-21.2:

  ld.so.1: ./temacs: fatal: libXaw3d.so.5: open failed: No such file or directory

So,  I went to google and found "Xaw3d-1.5.tar.gz", untarred it, which 
  created a directory "xc", 

  which contains only dir "lib"

  which contains only dir Xaw3d,

  which contains these files (no dirs):

  /david3/from_netcom-dir1/clibraries-stuff/xc/lib/Xaw3d:
  used 2846 available files

  drwxr-xr-x   2 dkc      other       2560 May 19 01:06 .
  drwxr-xr-x   3 dkc      other        512 May 19 01:06 ..
  -rw-r--r--   1 dkc      other       4762 Oct 15  1996 AllWidgets.c
  -rw-r--r--   1 dkc      other       1561 Oct 15  1996 AllWidgets.h
  -rw-r--r--   1 dkc      other      20925 Oct 15  1996 AsciiSink.c
  -rw-r--r--   1 dkc      other       3458 Oct 15  1996 AsciiSink.h
  -rw-r--r--   1 dkc      other       4133 Oct 15  1996 AsciiSinkP.h
  -rw-r--r--   1 dkc      other      37681 May 14  1998 AsciiSrc.c
  -rw-r--r--   1 dkc      other       4524 Oct 15  1996 AsciiSrc.h
  -rw-r--r--   1 dkc      other       5697 Oct 15  1996 AsciiSrcP.h
  -rw-r--r--   1 dkc      other      10840 Oct 15  1996 AsciiText.c
  -rw-r--r--   1 dkc      other       5514 Oct 15  1996 AsciiText.h
  -rw-r--r--   1 dkc      other       5254 Oct 15  1996 AsciiTextP.h
  -rw-r--r--   1 dkc      other      20108 Oct 15  1996 Box.c
  -rw-r--r--   1 dkc      other       3644 Oct 15  1996 Box.h
  -rw-r--r--   1 dkc      other       3782 Oct 15  1996 BoxP.h
  -rw-r--r--   1 dkc      other       1727 Oct 15  1996 Cardinals.h
  -rw-r--r--   1 dkc      other      18321 Oct 15  1996 Command.c
  -rw-r--r--   1 dkc      other       5065 Oct 15  1996 Command.h
  -rw-r--r--   1 dkc      other       4578 Oct 15  1996 CommandP.h
  -rw-r--r--   1 dkc      other      14917 Oct 15  1996 Dialog.c
  -rw-r--r--   1 dkc      other       3925 Oct 15  1996 Dialog.h
  -rw-r--r--   1 dkc      other       3728 Oct 15  1996 DialogP.h
  -rw-r--r--   1 dkc      other      26335 May 14  1998 Form.c
  -rw-r--r--   1 dkc      other       5644 Oct 15  1996 Form.h
  -rw-r--r--   1 dkc      other       5241 Oct 15  1996 FormP.h
  -rw-r--r--   1 dkc      other       5776 Oct 15  1996 Grip.c
  -rw-r--r--   1 dkc      other       4119 Oct 15  1996 Grip.h
  -rw-r--r--   1 dkc      other       3712 Oct 15  1996 GripP.h
  -rw-r--r--   1 dkc      other       4060 Oct 15  1996 Imakefile
  -rw-r--r--   1 dkc      other      23979 Oct 15  1996 Label.c
  -rw-r--r--   1 dkc      other       4765 Oct 15  1996 Label.h
  -rw-r--r--   1 dkc      other       4329 Oct 15  1996 LabelP.h
  -rw-r--r--   1 dkc      other      27492 Oct 15  1996 Layout.c
  -rw-r--r--   1 dkc      other       3272 Oct 15  1996 Layout.h
  -rw-r--r--   1 dkc      other       5799 Oct 15  1996 LayoutP.h
  -rw-r--r--   1 dkc      other      35596 Oct 15  1996 List.c
  -rw-r--r--   1 dkc      other       7701 Oct 15  1996 List.h
  -rw-r--r--   1 dkc      other       4019 Oct 15  1996 ListP.h
  -rw-r--r--   1 dkc      other       3163 Oct 15  1996 MenuButtoP.h
  -rw-r--r--   1 dkc      other       6926 Oct 15  1996 MenuButton.c
  -rw-r--r--   1 dkc      other       3308 Oct 15  1996 MenuButton.h
  -rw-r--r--   1 dkc      other      24158 Oct 15  1996 MultiSink.c
  -rw-r--r--   1 dkc      other       4776 Oct 15  1996 MultiSink.h
  -rw-r--r--   1 dkc      other       5637 Oct 15  1996 MultiSinkP.h
  -rw-r--r--   1 dkc      other      42505 May 14  1998 MultiSrc.c
  -rw-r--r--   1 dkc      other       4686 Oct 15  1996 MultiSrc.h
  -rw-r--r--   1 dkc      other       7167 Oct 15  1996 MultiSrcP.h
  -rw-r--r--   1 dkc      other      56091 Oct 15  1996 Paned.c
  -rw-r--r--   1 dkc      other       8892 Oct 15  1996 Paned.h
  -rw-r--r--   1 dkc      other       7771 Oct 15  1996 PanedP.h
  -rw-r--r--   1 dkc      other      30133 Oct 15  1996 Panner.c
  -rw-r--r--   1 dkc      other       3996 Oct 15  1996 Panner.h
  -rw-r--r--   1 dkc      other       4273 Oct 15  1996 PannerP.h
  -rw-r--r--   1 dkc      other      11511 Oct 15  1996 Porthole.c
  -rw-r--r--   1 dkc      other       2423 Oct 15  1996 Porthole.h
  -rw-r--r--   1 dkc      other       2163 Oct 15  1996 PortholeP.h
  -rw-r--r--   1 dkc      other       8049 May 15  1998 README.XAW3D
  -rw-r--r--   1 dkc      other       9351 Oct 15  1996 Repeater.c
  -rw-r--r--   1 dkc      other       2822 Oct 15  1996 Repeater.h
  -rw-r--r--   1 dkc      other       2968 Oct 15  1996 RepeaterP.h
  -rw-r--r--   1 dkc      other       2341 Oct 15  1996 Reports.h
  -rw-r--r--   1 dkc      other      38992 Oct 15  1996 Scrollbar.c
  -rw-r--r--   1 dkc      other       5602 Oct 15  1996 Scrollbar.h
  -rw-r--r--   1 dkc      other       5083 Oct 15  1996 ScrollbarP.h
  -rw-r--r--   1 dkc      other       9974 Oct 15  1996 Simple.c
  -rw-r--r--   1 dkc      other       3974 Oct 15  1996 Simple.h
  -rw-r--r--   1 dkc      other       3419 Oct 15  1996 SimpleMenP.h
  -rw-r--r--   1 dkc      other      35770 Oct 15  1996 SimpleMenu.c
  -rw-r--r--   1 dkc      other       5120 Oct 15  1996 SimpleMenu.h
  -rw-r--r--   1 dkc      other       3262 Oct 15  1996 SimpleP.h
  -rw-r--r--   1 dkc      other       7196 Oct 15  1996 Sme.c
  -rw-r--r--   1 dkc      other       2537 Oct 15  1996 Sme.h
  -rw-r--r--   1 dkc      other      22839 Oct 15  1996 SmeBSB.c
  -rw-r--r--   1 dkc      other       3506 Oct 15  1996 SmeBSB.h
  -rw-r--r--   1 dkc      other       3842 Oct 15  1996 SmeBSBP.h
  -rw-r--r--   1 dkc      other       8820 Oct 15  1996 SmeLine.c
  -rw-r--r--   1 dkc      other       2588 Oct 15  1996 SmeLine.h
  -rw-r--r--   1 dkc      other       3070 Oct 15  1996 SmeLineP.h
  -rw-r--r--   1 dkc      other       3248 Oct 15  1996 SmeP.h
  -rw-r--r--   1 dkc      other      19192 Oct 15  1996 SmeThreeD.c
  -rw-r--r--   1 dkc      other       3415 Oct 15  1996 SmeThreeD.h
  -rw-r--r--   1 dkc      other       2631 Oct 15  1996 SmeThreeDP.h
  -rw-r--r--   1 dkc      other       4174 Oct 15  1996 StripCharP.h
  -rw-r--r--   1 dkc      other      17907 Oct 15  1996 StripChart.c
  -rw-r--r--   1 dkc      other       4755 Oct 15  1996 StripChart.h
  -rw-r--r--   1 dkc      other       3315 Oct 15  1996 Template.c
  -rw-r--r--   1 dkc      other       2520 Oct 15  1996 Template.h
  -rw-r--r--   1 dkc      other       2054 Oct 15  1996 TemplateP.h
  -rw-r--r--   1 dkc      other     101230 May 14  1998 Text.c
  -rw-r--r--   1 dkc      other       8499 Oct 15  1996 Text.h
  -rw-r--r--   1 dkc      other      57070 Oct 15  1996 TextAction.c
  -rw-r--r--   1 dkc      other       9980 Oct 15  1996 TextP.h
  -rw-r--r--   1 dkc      other      43967 Oct 15  1996 TextPop.c
  -rw-r--r--   1 dkc      other      22274 Oct 15  1996 TextSink.c
  -rw-r--r--   1 dkc      other       9764 Oct 15  1996 TextSink.h
  -rw-r--r--   1 dkc      other       5338 Oct 15  1996 TextSinkP.h
  -rw-r--r--   1 dkc      other      20069 May 14  1998 TextSrc.c
  -rw-r--r--   1 dkc      other       7840 Oct 15  1996 TextSrc.h
  -rw-r--r--   1 dkc      other       5638 Oct 15  1996 TextSrcP.h
  -rw-r--r--   1 dkc      other       4857 Oct 15  1996 TextTr.c
  -rw-r--r--   1 dkc      other      19901 Oct 15  1996 ThreeD.c
  -rw-r--r--   1 dkc      other       3355 Oct 15  1996 ThreeD.h
  -rw-r--r--   1 dkc      other       2327 Oct 15  1996 ThreeDP.h
  -rw-r--r--   1 dkc      other      17539 Oct 15  1996 Toggle.c
  -rw-r--r--   1 dkc      other       5547 Oct 15  1996 Toggle.h
  -rw-r--r--   1 dkc      other       3285 Oct 15  1996 ToggleP.h
  -rw-r--r--   1 dkc      other      29249 Oct 15  1996 Tree.c
  -rw-r--r--   1 dkc      other       4807 Oct 15  1996 Tree.h
  -rw-r--r--   1 dkc      other       4658 Oct 15  1996 TreeP.h
  -rw-r--r--   1 dkc      other      14718 Oct 15  1996 Vendor.c
  -rw-r--r--   1 dkc      other       3170 Oct 15  1996 VendorEP.h
  -rw-r--r--   1 dkc      other      33643 Oct 15  1996 Viewport.c
  -rw-r--r--   1 dkc      other       4284 Oct 15  1996 Viewport.h
  -rw-r--r--   1 dkc      other       4153 Oct 15  1996 ViewportP.h
  -rw-r--r--   1 dkc      other       3219 Oct 15  1996 XawI18n.c
  -rw-r--r--   1 dkc      other       2318 Oct 15  1996 XawI18n.h
  -rw-r--r--   1 dkc      other      46542 Apr 21  1998 XawIm.c
  -rw-r--r--   1 dkc      other       6014 Apr 21  1998 XawImP.h
  -rw-r--r--   1 dkc      other       1966 Oct 15  1996 XawInit.c
  -rw-r--r--   1 dkc      other       1456 Oct 15  1996 XawInit.h
  -rw-r--r--   1 dkc      other       7358 Oct 15  1996 jump_funcs
  -rw-r--r--   1 dkc      other        151 Oct 15  1996 jump_ignore
  -rw-r--r--   1 dkc      other       7076 Oct 15  1996 jump_vars
  -rw-r--r--   1 dkc      other       5446 Oct 15  1996 laygram.y
  -rw-r--r--   1 dkc      other       2588 Oct 15  1996 laylex.l
  -rw-r--r--   1 dkc      other       6351 Oct 15  1996 sharedlib.c

No README, no configure, no Makefile.


--- QUESTION ONE:  Please, what am I supposed to do now?



--- QUESTION TWO: might there be some easier way to grab this
 "libXaw3d.so.5" that it seems to want, eg off some www-site, 
  would there?)





---- NOTE: these two paragraphs come from the emacs 21.3 PROBLEMS file:

    * When using Xaw3d scroll bars without arrows, the very first mouse
    click in a scroll bar might be ignored by the scroll bar widget.  This
    is probably a bug in Xaw3d; when Xaw3d is compiled with arrows, the
    problem disappears.

    * There are known binary incompatibilities between Xaw, Xaw3d, neXtaw,
    XawM and the few other derivatives of Xaw.  So when you compile with
    one of these, it may not work to dynamically link with another one.
    For example, strange problems, such as Emacs exiting when you type
    "C-x 1", were reported when Emacs compiled with Xaw3d and libXaw was
    used with neXtaw at run time.

I have not a clue as to what it means, nor what I'm supposed 
to do about it.


Oh, solaris-9 already comes with the widgets themselves:
  
53 ==/big7.1/dkc==> egrep xaw3d /dkcjunk/allunixfiles-blade-19may03.nam
/big5/david3/from_netcom-dir2/sources-stuff/README-xaw3d
/var/sadm/pkg/SFWxaw3d/install/copyright
/var/sadm/pkg/SFWxaw3d/install/depend
/var/sadm/pkg/SFWxaw3d/pkginfo
54 ==/big7.1/dkc==> pkginfo SFWxaw3d
system      SFWxaw3d       Xaw3d - Three-D Athena Widgets
55 ==/big7.1/dkc==> 

, but not the library, apparently.

---------------------------

QUESTION THREE: Reading the PROBLEMS or README file, I
 went and got all these.  Do I really have to use
 this stuff?  Which ones are really necessary?

  -rw-------   1 dkc      other     284420 May 15 02:04 Xaw3d-1.5.tar.gz
  drwxr-xr-x   2 dkc      other       3072 Mar 27  1998 jpeg-6b
  -rw-------   1 dkc      other       3776 May 15 02:40 jpeg.documents
  -rw-------   1 dkc      other      61440 May 15 02:45 jpegaltui.v6b.tar
  -rw-------   1 dkc      other    2293760 May 15 02:45 jpegsrc.v6b.tar
  -rw-------   1 dkc      other     921600 May 15 02:09 libXpm-4.7.tar
  drwxr-xr-x   5 dkc      other       1024 Oct  3  2002 libpng-1.2.5
  -rw-------   1 dkc      other    2519040 May 15 02:18 libpng-1.2.5.tar
  drwxr-xr-x   2 dkc      other        512 Sep 24  2001 libtiff-lzw-compression-kit-1.3
  -rw-------   1 dkc      other      40960 May 15 02:51 libtiff-lzw-compression-kit-1.3.tar
  drwxr-xr-x   6 dkc      other       1024 Feb  9  1999 libungif-4.1.0
  -rw-------   1 dkc      other    1208320 May 15 03:01 libungif-4.1.0.tar
  drwxr-xr-x   3 dkc      other        512 May 19 01:06 xc
  drwxr-xr-x   7 dkc      other        512 May 19 00:57 xpm-3.4g


QUESTION FOUR: (NOTE: I really couldn't care less, right now, about all
this 3D and jpeg etc stuff -- all I want is a emacs-21 that works better
than 21.2.1!  Any suggestions for an easier way to get a 21.3 working?)


Thanks!

David

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: emacs 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?
  2003-05-19  6:10 emacs 21.3 wants "libXaw3d.so.5"; got Xaw3d-1.5.tar.gz; NOW WHAT? David Combs
@ 2003-05-19  8:09 ` Akop Pogosian
  2003-05-19 17:54   ` David Combs
  2003-05-22 11:02 ` Kai Großjohann
  1 sibling, 1 reply; 13+ messages in thread
From: Akop Pogosian @ 2003-05-19  8:09 UTC (permalink / raw)


In comp.unix.solaris David Combs <dkcombs@panix.com> wrote:
> []  emacs: 21.3: 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?

> (four questions)

> Here's the original message I got while "making" emacs-21.2:

>   ld.so.1: ./temacs: fatal: libXaw3d.so.5: open failed: No such file or directory

If you're compiling emacs from source (that means you should have
compiled temacs, whatever it is, from source too), supposedly your
linker should have managed to find the location of the libXaw3d
library. Otherwise, you wouldn't have gotten temacs executable file in
the first place. This means that this shared library file already
exists somewhere on your system but the run time-linker can not find
it. The proper way to fix this is to make sure that when you compile
emacs that -R<path to the library directory> flag is passed to the
linker when linking the emacs binaries. I haven't compiled emacs
recently, so I don't remember what needs to be done to make this
happen. Typically, setting the LDFLAGS='-R/something/something/lib"
environment variable works, sometimes you need to pass this ld flag as
an option to the configure script, and finally, you can edit the
generated Makefile(s) after running configure.

As for installing Xaw3d-1.5.tar.gz, extract the tar archive and then
look at the files with names that might suggest that they contain
installation instructions (e.g. README, INSTALL, etc) and see what
they say. There is no standard way to compile things from source. 

Tinkering with source packages is useful for learning how to build
unix software but in lots of cases I'd also settle for precompiled
packages (specially if a copy of emacs and a few other standard
package is all that you need). Solaris 8 and 9 companion CDs contain a
copy of emacs and you can also download emacs packages from sites like
www.sunfreeware.org or www.blastwave.org.


-akop

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: emacs 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?
  2003-05-19  8:09 ` Akop Pogosian
@ 2003-05-19 17:54   ` David Combs
  2003-05-19 18:17     ` Stefan Monnier
  0 siblings, 1 reply; 13+ messages in thread
From: David Combs @ 2003-05-19 17:54 UTC (permalink / raw)


In article <baa3fs$1tcp$1@agate.berkeley.edu>,
Akop Pogosian  <akopps+usenet@ocf.berkeley.edu> wrote:
>In comp.unix.solaris David Combs <dkcombs@panix.com> wrote:
>> []  emacs: 21.3: 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?
>
>> (four questions)
>
>> Here's the original message I got while "making" emacs-21.2:
>
>>   ld.so.1: ./temacs: fatal: libXaw3d.so.5: open failed: No such file or directory
>
>If you're compiling emacs from source (that means you should have
>compiled temacs, whatever it is, from source too), supposedly your
>linker should have managed to find the location of the libXaw3d
>library. Otherwise, you wouldn't have gotten temacs executable file in
>the first place. This means that this shared library file already


No, I doubt it.

What's that command -- ah, "nm".  I'll try that in a min,
after  posting this.

("ld" man-page needs to add "nm" to its "see also"!)


>exists somewhere on your system but the run time-linker can not find
>it. The proper way to fix this is to make sure that when you compile
>emacs that -R<path to the library directory> flag is passed to the
>linker when linking the emacs binaries. 

  Silly question, maybe, but why not just another -L<...>
 after the LDFLAGS= ?

I haven't compiled emacs
>recently, so I don't remember what needs to be done to make this
>happen. Typically, setting the LDFLAGS='-R/something/something/lib"
>environment variable works, sometimes you need to pass this ld flag as
>an option to the configure script, and finally, you can edit the
>generated Makefile(s) after running configure.
>
>As for installing Xaw3d-1.5.tar.gz, extract the tar archive and then
>look at the files with names that might suggest that they contain
>installation instructions (e.g. README, INSTALL, etc) and see what
>they say. 

Wonderful!  Unfortunately, as shown in OP, there is NEITHER a README
nor an INSTALL, nor anything else!   HELP!



There is no standard way to compile things from source. 
>
>Tinkering with source packages is useful for learning how to build
>unix software but in lots of cases I'd also settle for precompiled
>packages (specially if a copy of emacs and a few other standard
>package is all that you need). Solaris 8 and 9 companion CDs contain a
>copy of emacs 


Right.  Unfortunately, it's 21.2.1.  *Full* of bugs and
other difficulties (maybe "features"); nontheless, I
read on the emacs groups that 21.3 is a whole lot better.

and you can also download emacs packages from sites like
>www.sunfreeware.org or www.blastwave.org.

Last time I looked, was 21.2.1.


QUESTION: who keeps those sites  up-to-date?  Email addrs?

Thanks!

David

PS:  HELP!

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: emacs 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?
  2003-05-19 17:54   ` David Combs
@ 2003-05-19 18:17     ` Stefan Monnier
  2003-05-20  6:19       ` David Combs
  0 siblings, 1 reply; 13+ messages in thread
From: Stefan Monnier @ 2003-05-19 18:17 UTC (permalink / raw)


>> If you're compiling emacs from source (that means you should have
>> compiled temacs, whatever it is, from source too), supposedly your
>> linker should have managed to find the location of the libXaw3d
>> library. Otherwise, you wouldn't have gotten temacs executable file in
>> the first place. This means that this shared library file already
> No, I doubt it.

How about checking it instead of relying on your gut feeling ?
Where did the "libXaw3d.so.5" come from you think ?
The Emacs source only does -lXaw3d, so even if we assume that the "lib"
and the ".so" are implicit, that still doesn't explain the ".5".

>   Silly question, maybe, but why not just another -L<...>
>  after the LDFLAGS= ?

Because -L only provides the path to find the library at compile-time,
whereas -R provides the path to find the library at runtime.  Most likely
the library libXaw3d.so.5 is already in /var/sadm/pkg/SFWxaw3d/ and you
simply need to add the corresponding directory either as a -R to the `ld'
command or to the LD_LIBRARY_PATH envvar.

> Right.  Unfortunately, it's 21.2.1.  *Full* of bugs and
> other difficulties (maybe "features"); nontheless, I
> read on the emacs groups that 21.3 is a whole lot better.

AFAIK, 21.3 only fixes a few bugs and I haven't read anybody rave about how
buggy 21.2 is and/or how stable 21.3 is.  Could you report the bugs you see
in 21.2 ?


        Stefan

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: emacs 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?
  2003-05-19 18:17     ` Stefan Monnier
@ 2003-05-20  6:19       ` David Combs
  2003-05-20  6:56         ` Stefan Monnier
  0 siblings, 1 reply; 13+ messages in thread
From: David Combs @ 2003-05-20  6:19 UTC (permalink / raw)



Is there anyone who has actually "made" a 21.3 on Solaris (9) (Sparc)?

If so, perhaps you can tell me how *you* did it?

------

Thanks for your reply!



In article <5lptmeol70.fsf@rum.cs.yale.edu>,
Stefan Monnier <monnier+gnu.emacs.help/news/@flint.cs.yale.edu> wrote:
>>> If you're compiling emacs from source (that means you should have
>>> compiled temacs, whatever it is, from source too), supposedly your
>>> linker should have managed to find the location of the libXaw3d
>>> library. Otherwise, you wouldn't have gotten temacs executable file in
>>> the first place. This means that this shared library file already
>> No, I doubt it.
>
>How about checking it instead of relying on your gut feeling ?

How?  



>Where did the "libXaw3d.so.5" come from you think ?

I downloaded it -- having gotten the error message saying
it was missing, I went to google and searched for it,
found it, and downloaded it.  That's where it came from.

And, here's a search through all the file-names
that existed a few days ago (before that download)
on my computer and all its disks:



(Note: I don't even program not in C but in something
totally unrelated -- so for some of the things
you ask, I have neither answer nor understanding.)




>The Emacs source only does -lXaw3d, so even if we assume that the "lib"
>and the ".so" are implicit, that still doesn't explain the ".5".
>
>>   Silly question, maybe, but why not just another -L<...>
>>  after the LDFLAGS= ?
>
>Because -L only provides the path to find the library at compile-time,
>whereas -R provides the path to find the library at runtime.  Most likely
>the library libXaw3d.so.5 is already in /var/sadm/pkg/SFWxaw3d/ and you
>simply need to add the corresponding directory either as a -R to the `ld'
>command or to the LD_LIBRARY_PATH envvar.
>
>> Right.  Unfortunately, it's 21.2.1.  *Full* of bugs and
>> other difficulties (maybe "features"); nontheless, I
>> read on the emacs groups that 21.3 is a whole lot better.
>
>AFAIK, 21.3 only fixes a few bugs and I haven't read anybody rave about how
>buggy 21.2 is and/or how stable 21.3 is.  Could you report the bugs you see
>in 21.2 ?
>
>
>        Stefan

Here's all mention of xaw in emacs 21.3's "configure" and "Makefiles":

What does it suggest that I could do?



73 ==/david3/from_netcom-dir2/sources-stuff/emacs-21.3==> 
73 ==/david3/from_netcom-dir2/sources-stuff/emacs-21.3==> 
73 ==/david3/from_netcom-dir2/sources-stuff/emacs-21.3==> 
73 ==/david3/from_netcom-dir2/sources-stuff/emacs-21.3==> egrep -in xaw `cat t.nam`
./configure:38:                          don't use Motif or Xaw3d scroll bars"
./configure:4764:    echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
./configure:4765:echo "configure:4766: checking X11 version 5 with Xaw" >&5
./configure:4766:    if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
./configure:4774:#include <X11/Xaw/Simple.h>
./configure:4781:  emacs_cv_x11_version_5_with_xaw=yes
./configure:4786:  emacs_cv_x11_version_5_with_xaw=no
./configure:4791:    if test $emacs_cv_x11_version_5_with_xaw = yes; then
./configure:4792:      echo "$ac_t""5 or newer, with Xaw; use toolkit by default" 1>&6
./configure:4795:      echo "$ac_t""before 5 or no Xaw; do not use toolkit by default" 1>&6
./configure:4901:# On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
./configure:5041:### Is -lXaw3d available?
./configure:5042:HAVE_XAW3D=no
./configure:5045:    ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
./configure:5046:echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
./configure:5047:echo "configure:5048: checking for X11/Xaw3d/Scrollbar.h" >&5
./configure:5054:#include <X11/Xaw3d/Scrollbar.h>
./configure:5073:  echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
./configure:5074:echo "configure:5075: checking for XawScrollbarSetThumb in -lXaw3d" >&5
./configure:5075:ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
./configure:5080:LIBS="-lXaw3d  $LIBS"
./configure:5087:char XawScrollbarSetThumb();
./configure:5090:XawScrollbarSetThumb()
./configure:5108:  HAVE_XAW3D=yes
./configure:5117:    if test "${HAVE_XAW3D}" = "yes"; then
./configure:5119:#define HAVE_XAW3D 1
./configure:5135:      HAVE_XAW3D=no
./configure:5137:    elif test "${HAVE_XAW3D}" = "yes"; then
./configure:9272:echo "  Does Emacs use -lXaw3d?                                 ${HAVE_XAW3D}"
./configure.in:98:                          don't use Motif or Xaw3d scroll bars])
./configure.in:1727:    AC_MSG_CHECKING(X11 version 5 with Xaw)
./configure.in:1728:    AC_CACHE_VAL(emacs_cv_x11_version_5_with_xaw,
./configure.in:1731:#include <X11/Xaw/Simple.h>],
./configure.in:1733:      emacs_cv_x11_version_5_with_xaw=yes,
./configure.in:1734:      emacs_cv_x11_version_5_with_xaw=no))
./configure.in:1735:    if test $emacs_cv_x11_version_5_with_xaw = yes; then
./configure.in:1736:      AC_MSG_RESULT([5 or newer, with Xaw; use toolkit by default])
./configure.in:1739:      AC_MSG_RESULT(before 5 or no Xaw; do not use toolkit by default)
./configure.in:1777:# On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
./configure.in:1804:### Is -lXaw3d available?
./configure.in:1805:HAVE_XAW3D=no
./configure.in:1808:    AC_CHECK_HEADER(X11/Xaw3d/Scrollbar.h,
./configure.in:1809:	AC_CHECK_LIB(Xaw3d, XawScrollbarSetThumb, HAVE_XAW3D=yes))
./configure.in:1810:    if test "${HAVE_XAW3D}" = "yes"; then
./configure.in:1811:	AC_DEFINE(HAVE_XAW3D)
./configure.in:1817:dnl using Motif or Xaw3d is available, and unless
./configure.in:1825:      HAVE_XAW3D=no
./configure.in:1827:    elif test "${HAVE_XAW3D}" = "yes"; then
./configure.in:2282:echo "  Does Emacs use -lXaw3d?                                 ${HAVE_XAW3D}"
./src/Makefile.in:324:#if HAVE_XAW3D
./src/Makefile.in:325:LIBW= -lXaw3d
./src/Makefile.in:327:LIBW= -lXaw
./src/Makefile.c:325:#if HAVE_XAW3D
./src/Makefile.c:326:LIBW= -lXaw3d
./src/Makefile.c:328:LIBW= -lXaw
./src/Makefile:73:LIBW= -lXaw3d
./src/Makefile_01:73:LIBW= -lXaw3d
./src/Makefile~:73:LIBW= -lXaw3d
./lwlib/Makefile.in:24:     LUCID_OBJS = lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o
./lwlib/Makefile.in:57:lwlib.o:       lwlib.c lwlib.h lwlib-int.h lwlib-Xaw.h lwlib-Xlw.h
./lwlib/Makefile.in:59:lwlib-Xaw.o:   lwlib-Xaw.c lwlib-Xaw.h lwlib.h lwlib-int.h
./lwlib/Makefile:25:     LUCID_OBJS = lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o
./lwlib/Makefile:58:lwlib.o:       lwlib.c lwlib.h lwlib-int.h lwlib-Xaw.h lwlib-Xlw.h
./lwlib/Makefile:60:lwlib-Xaw.o:   lwlib-Xaw.c lwlib-Xaw.h lwlib.h lwlib-int.h
74 ==/david3/from_netcom-dir2/sources-stuff/emacs-21.3==> 




---- Within my computer's disks, here's *all* filenames containing "xaw":

71 ==/david3/from_netcom-dir2/sources-stuff/emacs-21.3==> egrep -i xaw /dkcjunk/allunixfiles-blade-19may03.nam
/big5/david3/from_netcom-dir1/emacs-stuff/emacs-21.1/lwlib/lwlib-Xaw.c
/big5/david3/from_netcom-dir1/emacs-stuff/emacs-21.1/lwlib/lwlib-Xaw.h
/big5/david3/from_netcom-dir1/emacs-stuff/emacs-21.1-build/lwlib/lwlib-Xaw.o
/big5/david3/from_netcom-dir1/emacs-stuff/emacs-21.2/lwlib/lwlib-Xaw.c
/big5/david3/from_netcom-dir1/emacs-stuff/emacs-21.2/lwlib/lwlib-Xaw.h
/big5/david3/from_netcom-dir2/sources-stuff/README-xaw3d
/big5/david3/from_netcom-dir2/sources-stuff/Xaw3d-0.6B.tar.Z
/big5/david3/from_netcom-dir2/sources-stuff/Xaw3d-how2install.txt
/big5/david3/from_netcom-dir2/sources-stuff/emacs-21.3/lwlib/lwlib-Xaw.c
/big5/david3/from_netcom-dir2/sources-stuff/emacs-21.3/lwlib/lwlib-Xaw.h
/big5/david3/from_netcom-dir2/sources-stuff/emacs-21.3/lwlib/lwlib-Xaw.o
/big5/david3/from_netcom-dir2/sources-stuff/emacs-21.2/lwlib/lwlib-Xaw.c
/big5/david3/from_netcom-dir2/sources-stuff/emacs-21.2/lwlib/lwlib-Xaw.h
/opt/sfw/include/X11/Xaw3d/AllWidgets.h
/opt/sfw/include/X11/Xaw3d/AsciiSink.h
/opt/sfw/include/X11/Xaw3d/AsciiSinkP.h
/opt/sfw/include/X11/Xaw3d/AsciiSrc.h
/opt/sfw/include/X11/Xaw3d/AsciiSrcP.h
/opt/sfw/include/X11/Xaw3d/AsciiText.h
/opt/sfw/include/X11/Xaw3d/AsciiTextP.h
/opt/sfw/include/X11/Xaw3d/Box.h
/opt/sfw/include/X11/Xaw3d/BoxP.h
/opt/sfw/include/X11/Xaw3d/Cardinals.h
/opt/sfw/include/X11/Xaw3d/Command.h
/opt/sfw/include/X11/Xaw3d/CommandP.h
/opt/sfw/include/X11/Xaw3d/Dialog.h
/opt/sfw/include/X11/Xaw3d/DialogP.h
/opt/sfw/include/X11/Xaw3d/Form.h
/opt/sfw/include/X11/Xaw3d/FormP.h
/opt/sfw/include/X11/Xaw3d/Grip.h
/opt/sfw/include/X11/Xaw3d/GripP.h
/opt/sfw/include/X11/Xaw3d/Label.h
/opt/sfw/include/X11/Xaw3d/LabelP.h
/opt/sfw/include/X11/Xaw3d/Layout.h
/opt/sfw/include/X11/Xaw3d/LayoutP.h
/opt/sfw/include/X11/Xaw3d/List.h
/opt/sfw/include/X11/Xaw3d/ListP.h
/opt/sfw/include/X11/Xaw3d/MenuButtoP.h
/opt/sfw/include/X11/Xaw3d/MenuButton.h
/opt/sfw/include/X11/Xaw3d/MultiSink.h
/opt/sfw/include/X11/Xaw3d/MultiSinkP.h
/opt/sfw/include/X11/Xaw3d/MultiSrc.h
/opt/sfw/include/X11/Xaw3d/MultiSrcP.h
/opt/sfw/include/X11/Xaw3d/Paned.h
/opt/sfw/include/X11/Xaw3d/PanedP.h
/opt/sfw/include/X11/Xaw3d/Panner.h
/opt/sfw/include/X11/Xaw3d/PannerP.h
/opt/sfw/include/X11/Xaw3d/Porthole.h
/opt/sfw/include/X11/Xaw3d/PortholeP.h
/opt/sfw/include/X11/Xaw3d/Repeater.h
/opt/sfw/include/X11/Xaw3d/RepeaterP.h
/opt/sfw/include/X11/Xaw3d/Reports.h
/opt/sfw/include/X11/Xaw3d/Scrollbar.h
/opt/sfw/include/X11/Xaw3d/ScrollbarP.h
/opt/sfw/include/X11/Xaw3d/Simple.h
/opt/sfw/include/X11/Xaw3d/SimpleMenP.h
/opt/sfw/include/X11/Xaw3d/SimpleMenu.h
/opt/sfw/include/X11/Xaw3d/SimpleP.h
/opt/sfw/include/X11/Xaw3d/Sme.h
/opt/sfw/include/X11/Xaw3d/SmeBSB.h
/opt/sfw/include/X11/Xaw3d/SmeBSBP.h
/opt/sfw/include/X11/Xaw3d/SmeLine.h
/opt/sfw/include/X11/Xaw3d/SmeLineP.h
/opt/sfw/include/X11/Xaw3d/SmeP.h
/opt/sfw/include/X11/Xaw3d/SmeThreeD.h
/opt/sfw/include/X11/Xaw3d/SmeThreeDP.h
/opt/sfw/include/X11/Xaw3d/StripCharP.h
/opt/sfw/include/X11/Xaw3d/StripChart.h
/opt/sfw/include/X11/Xaw3d/Template.c
/opt/sfw/include/X11/Xaw3d/Template.h
/opt/sfw/include/X11/Xaw3d/TemplateP.h
/opt/sfw/include/X11/Xaw3d/Text.h
/opt/sfw/include/X11/Xaw3d/TextP.h
/opt/sfw/include/X11/Xaw3d/TextSink.h
/opt/sfw/include/X11/Xaw3d/TextSinkP.h
/opt/sfw/include/X11/Xaw3d/TextSrc.h
/opt/sfw/include/X11/Xaw3d/TextSrcP.h
/opt/sfw/include/X11/Xaw3d/ThreeD.h
/opt/sfw/include/X11/Xaw3d/ThreeDP.h
/opt/sfw/include/X11/Xaw3d/Toggle.h
/opt/sfw/include/X11/Xaw3d/ToggleP.h
/opt/sfw/include/X11/Xaw3d/Tree.h
/opt/sfw/include/X11/Xaw3d/TreeP.h
/opt/sfw/include/X11/Xaw3d/VendorEP.h
/opt/sfw/include/X11/Xaw3d/Viewport.h
/opt/sfw/include/X11/Xaw3d/ViewportP.h
/opt/sfw/include/X11/Xaw3d/XawImP.h
/opt/sfw/include/X11/Xaw3d/XawInit.h
/opt/sfw/lib/libXaw3d.so.5
/opt/sfw/kde/share/apps/kappfinder/apps/Multimedia/xawtv.desktop
/opt/sfw/kde/share/apps/kdisplay/app-defaults/AAAXaw.ad
/opt/sfw/kde/share/apps/kdisplay/app-defaults/Xawtv.ad
/opt/sfw/kde/share/icons/Locolor/32x32/apps/xawtv.png
/opt/sfw/kde/share/icons/hicolor/32x32/apps/xawtv.png
/opt6/var/dkchacks/emacs-20.5/lwlib/lwlib-Xaw.c
/opt6/var/dkchacks/emacs-20.5/lwlib/lwlib-Xaw.h
/opt6/var/dkchacks/emacs-20.5/lwlib/lwlib-Xaw.o
/opt6/myexternals/opt/gnu/emacs-19.34/lwlib/lwlib-Xaw.c
/opt6/myexternals/opt/gnu/emacs-19.34/lwlib/lwlib-Xaw.h
/opt6/myexternals/opt/gnu/emacs-19.34/lwlib/lwlib-Xaw.o
/var/sadm/pkg/SFWxaw3d/install/copyright
/var/sadm/pkg/SFWxaw3d/install/depend
/var/sadm/pkg/SFWxaw3d/pkginfo
/usr/openwin/share/man/man3X11/XAWMHints.3X11
/usr/openwin/share/include/X11/Xaw/AllWidgets.h
/usr/openwin/share/include/X11/Xaw/AsciiSink.h
/usr/openwin/share/include/X11/Xaw/AsciiSinkP.h
/usr/openwin/share/include/X11/Xaw/AsciiSrc.h
/usr/openwin/share/include/X11/Xaw/AsciiSrcP.h
/usr/openwin/share/include/X11/Xaw/AsciiText.h
/usr/openwin/share/include/X11/Xaw/AsciiTextP.h
/usr/openwin/share/include/X11/Xaw/Box.h
/usr/openwin/share/include/X11/Xaw/BoxP.h
/usr/openwin/share/include/X11/Xaw/Cardinals.h
/usr/openwin/share/include/X11/Xaw/Clock.h
/usr/openwin/share/include/X11/Xaw/ClockP.h
/usr/openwin/share/include/X11/Xaw/Command.h
/usr/openwin/share/include/X11/Xaw/CommandP.h
/usr/openwin/share/include/X11/Xaw/Dialog.h
/usr/openwin/share/include/X11/Xaw/DialogP.h
/usr/openwin/share/include/X11/Xaw/Form.h
/usr/openwin/share/include/X11/Xaw/FormP.h
/usr/openwin/share/include/X11/Xaw/Grip.h
/usr/openwin/share/include/X11/Xaw/GripP.h
/usr/openwin/share/include/X11/Xaw/Label.h
/usr/openwin/share/include/X11/Xaw/LabelP.h
/usr/openwin/share/include/X11/Xaw/List.h
/usr/openwin/share/include/X11/Xaw/ListP.h
/usr/openwin/share/include/X11/Xaw/Logo.h
/usr/openwin/share/include/X11/Xaw/LogoP.h
/usr/openwin/share/include/X11/Xaw/Mailbox.h
/usr/openwin/share/include/X11/Xaw/MailboxP.h
/usr/openwin/share/include/X11/Xaw/MenuButtoP.h
/usr/openwin/share/include/X11/Xaw/MenuButton.h
/usr/openwin/share/include/X11/Xaw/MultiSink.h
/usr/openwin/share/include/X11/Xaw/MultiSinkP.h
/usr/openwin/share/include/X11/Xaw/MultiSrc.h
/usr/openwin/share/include/X11/Xaw/MultiSrcP.h
/usr/openwin/share/include/X11/Xaw/Paned.h
/usr/openwin/share/include/X11/Xaw/PanedP.h
/usr/openwin/share/include/X11/Xaw/Panner.h
/usr/openwin/share/include/X11/Xaw/PannerP.h
/usr/openwin/share/include/X11/Xaw/Porthole.h
/usr/openwin/share/include/X11/Xaw/PortholeP.h
/usr/openwin/share/include/X11/Xaw/Repeater.h
/usr/openwin/share/include/X11/Xaw/RepeaterP.h
/usr/openwin/share/include/X11/Xaw/Reports.h
/usr/openwin/share/include/X11/Xaw/Scrollbar.h
/usr/openwin/share/include/X11/Xaw/ScrollbarP.h
/usr/openwin/share/include/X11/Xaw/Simple.h
/usr/openwin/share/include/X11/Xaw/SimpleMenP.h
/usr/openwin/share/include/X11/Xaw/SimpleMenu.h
/usr/openwin/share/include/X11/Xaw/SimpleP.h
/usr/openwin/share/include/X11/Xaw/Sme.h
/usr/openwin/share/include/X11/Xaw/SmeP.h
/usr/openwin/share/include/X11/Xaw/SmeBSB.h
/usr/openwin/share/include/X11/Xaw/SmeBSBP.h
/usr/openwin/share/include/X11/Xaw/SmeLine.h
/usr/openwin/share/include/X11/Xaw/SmeLineP.h
/usr/openwin/share/include/X11/Xaw/StripCharP.h
/usr/openwin/share/include/X11/Xaw/StripChart.h
/usr/openwin/share/include/X11/Xaw/Template.c
/usr/openwin/share/include/X11/Xaw/Template.h
/usr/openwin/share/include/X11/Xaw/TemplateP.h
/usr/openwin/share/include/X11/Xaw/Text.h
/usr/openwin/share/include/X11/Xaw/TextP.h
/usr/openwin/share/include/X11/Xaw/TextSink.h
/usr/openwin/share/include/X11/Xaw/TextSinkP.h
/usr/openwin/share/include/X11/Xaw/TextSrc.h
/usr/openwin/share/include/X11/Xaw/TextSrcP.h
/usr/openwin/share/include/X11/Xaw/Toggle.h
/usr/openwin/share/include/X11/Xaw/ToggleP.h
/usr/openwin/share/include/X11/Xaw/Tree.h
/usr/openwin/share/include/X11/Xaw/TreeP.h
/usr/openwin/share/include/X11/Xaw/VendorEP.h
/usr/openwin/share/include/X11/Xaw/Viewport.h
/usr/openwin/share/include/X11/Xaw/ViewportP.h
/usr/openwin/share/include/X11/Xaw/XawImP.h
/usr/openwin/share/include/X11/Xaw/XawInit.h
/usr/openwin/lib/libXaw.so.4
/usr/openwin/lib/libXaw.so.5
/usr/openwin/lib/sparcv9/libXaw.so.5
/usr/openwin/lib/sparcv9/llib-lXaw.ln
/usr/openwin/lib/libp/libXaw.a
/usr/openwin/lib/libXaw.a
/usr/openwin/lib/llib-lXaw.ln
/usr/4lib/libXaw.so.4.0
72 ==/david3/from_netcom-dir2/sources-stuff/emacs-21.3==> 

Does the above greps, etc, suggest anything?


AGAIN -- is there anyone who's actually BUILT an emacs-21.3?


Thanks!

David

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: emacs 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?
  2003-05-20  6:19       ` David Combs
@ 2003-05-20  6:56         ` Stefan Monnier
  2003-05-20 16:32           ` David Combs
  0 siblings, 1 reply; 13+ messages in thread
From: Stefan Monnier @ 2003-05-20  6:56 UTC (permalink / raw)


>> Where did the "libXaw3d.so.5" come from you think ?

> I downloaded it -- having gotten the error message saying
> it was missing, I went to google and searched for it,
> found it, and downloaded it.  That's where it came from.

You misunderstood.  My question was `where does the string "libXaw3d.so.5"
come from', given the fact that Emacs does not have the ".5" part anywhere
in its code.

> And, here's a search through all the file-names
> that existed a few days ago (before that download)
> on my computer and all its disks:
[...]
> /opt/sfw/lib/libXaw3d.so.5

Is gnu.emacs.help really the best way to do a `grep' ?


        Stefan

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: emacs 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?
  2003-05-20  6:56         ` Stefan Monnier
@ 2003-05-20 16:32           ` David Combs
  0 siblings, 0 replies; 13+ messages in thread
From: David Combs @ 2003-05-20 16:32 UTC (permalink / raw)


In article <5lbrxynm17.fsf@rum.cs.yale.edu>,
Stefan Monnier <monnier+gnu.emacs.help/news/@flint.cs.yale.edu> wrote:
>>> Where did the "libXaw3d.so.5" come from you think ?
>
>> I downloaded it -- having gotten the error message saying
>> it was missing, I went to google and searched for it,
>> found it, and downloaded it.  That's where it came from.
>
>You misunderstood.  My question was `where does the string "libXaw3d.so.5"
>come from', given the fact that Emacs does not have the ".5" part anywhere
>in its code.
>
>> And, here's a search through all the file-names
>> that existed a few days ago (before that download)
>> on my computer and all its disks:
>[...]
>> /opt/sfw/lib/libXaw3d.so.5
>
>Is gnu.emacs.help really the best way to do a `grep' ?
>
>
>        Stefan

Not quite sure whether that's a serious question or a
troll's bait.

If serious, then (re)read my partof the thread.

If not, it reminds me of a forced-attendance
college-vistor's talk (back in early 60's)
about worldwide fallout from nuclear tests,
and how it was in all the food we ate.
Some student raised his hand and asked, "Why do
you scientists keep adding all this strontium-90 
to our milk".

D.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: emacs 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?
  2003-05-19  6:10 emacs 21.3 wants "libXaw3d.so.5"; got Xaw3d-1.5.tar.gz; NOW WHAT? David Combs
  2003-05-19  8:09 ` Akop Pogosian
@ 2003-05-22 11:02 ` Kai Großjohann
  2003-05-23  5:34   ` David Combs
  1 sibling, 1 reply; 13+ messages in thread
From: Kai Großjohann @ 2003-05-22 11:02 UTC (permalink / raw)


dkcombs@panix.com (David Combs) writes:

> []  emacs: 21.3: 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?
>
> (four questions)

I confess that I'm quite confused now, after reading your post.  It
seems you were doing many steps, and you're now asking a question
about step 23.  But I don't know anything about steps 1 through 22.

What did you want to do?

What did you do to achieve this?  (Show all steps, starting from the
beginning, including the successful steps.)

What happened when you did that?

What did you expect to happen?

I hope I'm not alienating you with my stupid questions, but I would
like to help and can't because I'm so confused.
-- 
This line is not blank.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: emacs 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?
  2003-05-22 11:02 ` Kai Großjohann
@ 2003-05-23  5:34   ` David Combs
  2003-05-23  7:04     ` Kai Großjohann
  0 siblings, 1 reply; 13+ messages in thread
From: David Combs @ 2003-05-23  5:34 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1355 bytes --]

In article <84he7nutvd.fsf@lucy.is.informatik.uni-duisburg.de>,
Kai Großjohann <kai.grossjohann@gmx.net> wrote:
>dkcombs@panix.com (David Combs) writes:
>
>> []  emacs: 21.3: 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?
>>
>> (four questions)
>
>I confess that I'm quite confused now, after reading your post.  It
>seems you were doing many steps, and you're now asking a question
>about step 23.  But I don't know anything about steps 1 through 22.
>
>What did you want to do?
>
>What did you do to achieve this?  (Show all steps, starting from the
>beginning, including the successful steps.)
>
>What happened when you did that?
>
>What did you expect to happen?
>
>I hope I'm not alienating you with my stupid questions, but I would
>like to help and can't because I'm so confused.
>-- 
>This line is not blank.

Thanks, Kai, for your interest.

I gave up on this thread, and started a new one,
much more successful:

   Has anyone actually built emacs 21.3 for SOLARIS (sparc)?

I've gotten lots of help on that one.  Please go
have a look; you'll surely have something worthwhile
to add.

My idea (promise) was to try to distill all the different
(and conflicting!) responses, get them verified by the
group, and then see if rms will include them or something
like them in the emacs INSTALL file, or maybe an INSTALL-ADDENDUM.

David

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: emacs 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?
  2003-05-23  5:34   ` David Combs
@ 2003-05-23  7:04     ` Kai Großjohann
  2003-05-25 21:37       ` David Combs
  0 siblings, 1 reply; 13+ messages in thread
From: Kai Großjohann @ 2003-05-23  7:04 UTC (permalink / raw)


dkcombs@panix.com (David Combs) writes:

> Thanks, Kai, for your interest.
>
> I gave up on this thread, and started a new one,
> much more successful:
>
>    Has anyone actually built emacs 21.3 for SOLARIS (sparc)?
>
> I've gotten lots of help on that one.  Please go
> have a look; you'll surely have something worthwhile
> to add.

I agree with folks there that you need to add the right -L and -R
flags to the linker invocation.

I did this some time ago, on Solaris 2.6, by setting $LDFLAGS prior to
running ./configure.
-- 
This line is not blank.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: emacs 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?
  2003-05-23  7:04     ` Kai Großjohann
@ 2003-05-25 21:37       ` David Combs
  2003-05-25 22:22         ` Stefan Monnier
  2003-05-26  6:57         ` Kai Großjohann
  0 siblings, 2 replies; 13+ messages in thread
From: David Combs @ 2003-05-25 21:37 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4520 bytes --]

In article <84of1uxhwp.fsf@lucy.is.informatik.uni-duisburg.de>,
Kai Großjohann <kai.grossjohann@gmx.net> wrote:
>
>I agree with folks there that you need to add the right -L and -R
>flags to the linker invocation.
>
>I did this some time ago, on Solaris 2.6, by setting $LDFLAGS prior to
>running ./configure.


Thanks, Kai, for the advice.

Now, on that other thread, there has been SO MUCH back-
and-forth about the args, one saying "add this -R xxx"
and the followup saying eg ~~ "no, no, no -- don't do that!
It won't work!" -- please, for me, and for the eventual
writeup that I promised:

(1) exactly what arg for the -L?  (and why)

(2) ditto for the -R.

(3) Something to pre-answer a "no no no!" kind of followup.


(4) (I assume there's more than one way to successfully
build this new Emacs -- or is there essentially only
ONE way?)

(5) What is it that makes this 21.3 (or just 21.x?)
    more difficult, more understanding needed, than
    20.x, 19.x?

THANKS!

David

PS: From the SOLARIS ld-manpage, will having these
 pieces right here make it any easier to answer
 anything?  (Instead of having to go out and grab
 your own man-page and lift out pieces).


i

     -L path
           Adds  path  to  the  library  search  directories.  ld
           searches for libraries first in any directories speci-
           fied by the -L options and then in the standard direc-
           tories.  This option is useful only if it precedes the
           -l options to which it applies on  the  command  line.
           The  environment  variable LD_LIBRARY_PATH may be used
           to   supplement   the   library   search   path.   See
           LD_LIBRARY_PATH below.


     -R path
           A colon-separated list of directories used to  specify
           library  search  directories to the runtime linker. If
           present and not NULL, it is  recorded  in  the  output
           object file and passed to the runtime linker. Multiple
           instances of this  option  are  concatenated  together
           with each path separated by a colon.



     -l x  Searches a library libx.so or libx.a, the conventional
           names for shared object and archive libraries, respec-
           tively. In dynamic mode, unless the -B  static  option

           is  in effect, ld searches each directory specified in
           the library search path for a libx.so or libx.a  file.
           The directory search stops at the first directory con-
           taining either. ld chooses the file ending in  .so  if
           -lx  expands  to  two  files  with  names  of the form
           libx.so and libx.a. If no libx.so is  found,  then  ld
           accepts  libx.a. In static mode, or when the -B static
           option is in effect, ld selects only the  file  ending
           in  .a.  ld  searches a library when it encounters its
           name, so the placement of -l is significant.



ENVIRONMENT VARIABLES
     LD_LIBRARY_PATH
           A list of directories in which to search for libraries
           specified with the -l option. Multiple directories are
           separated by a colon. In the  most  general  case,  it
           will  contain two directory lists separated by a semi-
           colon:

           dirlist1;dirlist2

           If ld is called with any number of occurrences of  -L,
           as in:

           ld ... -Lpath1 ... -Lpathn ...

           then the search path ordering is:

           dirlist1 path1 ... pathn dirlist2 LIBPATH

           When the list of directories does not contain a  semi-
           colon, it is interpreted as dirlist2.

           The LD_LIBRARY_PATH environment variable also  affects
           the  runtime  linkers  searching for dynamic dependen-
           cies.

           This environment variable can be specified with a  _32
           or  _64  suffix.  This  makes the environment variable
           specific, respectively, to 32-bit or 64-bit  processes
           and overrides any non-suffixed version of the environ-
           ment variable that may be in effect.


     LD_RUN_PATH
           An alternative mechanism for specifying a  runpath  to
           the   link-editor.   See   the   -R  option.  If  both
           LD_RUN_PATH and the -R option are specified, -R super-
           sedes.

FILES

     LIBPATH
           /usr/lib for 32-bit libraries, or /usr/lib/64 for  64-
           bit libraries.



(Of course there's other stuff that I ommitted,
amongst that stuff.)

D.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: emacs 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?
  2003-05-25 21:37       ` David Combs
@ 2003-05-25 22:22         ` Stefan Monnier
  2003-05-26  6:57         ` Kai Großjohann
  1 sibling, 0 replies; 13+ messages in thread
From: Stefan Monnier @ 2003-05-25 22:22 UTC (permalink / raw)


> Now, on that other thread, there has been SO MUCH back-
> and-forth about the args, one saying "add this -R xxx"
> and the followup saying eg ~~ "no, no, no -- don't do that!

I don't know where you've seen such things.  I haven't seen a single post
say no to the use of -R.

> (1) exactly what arg for the -L?  (and why)

The fact that you got a binary shows that the compiler found all the
libraries it needed at compile-time, which is all what -L is for, so
clearly all the necessary -L are already correctly set by `configure'.

> (5) What is it that makes this 21.3 (or just 21.x?)
>     more difficult, more understanding needed, than
>     20.x, 19.x?

It might compile by default with libraries that are not in the standard
dynamic loader load path.


        Stefan

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: emacs 21.3 wants "libXaw3d.so.5";  got Xaw3d-1.5.tar.gz; NOW WHAT?
  2003-05-25 21:37       ` David Combs
  2003-05-25 22:22         ` Stefan Monnier
@ 2003-05-26  6:57         ` Kai Großjohann
  1 sibling, 0 replies; 13+ messages in thread
From: Kai Großjohann @ 2003-05-26  6:57 UTC (permalink / raw)


dkcombs@panix.com (David Combs) writes:

> Now, on that other thread, there has been SO MUCH back- and-forth
> about the args, one saying "add this -R xxx" and the followup saying
> eg ~~ "no, no, no -- don't do that!  It won't work!" -- please, for
> me, and for the eventual writeup that I promised:
>
> (1) exactly what arg for the -L?  (and why)

The argument for -L should be where the library lives.  So if you
want to include the library /opt/some_package/lib/libfoo.so, then you
should add -L/opt/some_package/lib.

-L tells the linker to look in that directory when constructing the
executable. 

> (2) ditto for the -R.

The argument for -R should be the same as for -L.  -R tells the
executable where to find its libraries when running.

When -R is not specfied, the executable (the loader, actually) will
look in the directories listed in $LD_LIBRARY_PATH.  I'm not sure
whether the linker will also look there or only in -L.

> (3) Something to pre-answer a "no no no!" kind of followup.

The obvious alternative, to me, would be to specify the directory via
$LD_LIBRARY_PATH when the executable is run.  So what you could do is
to use -L to specify a directory for the linker, and then each user
can use $LD_LIBRARY_PATH to choose the directory when running.

This way, you could specify -L/foo/1.4/lib but later on, when a new
version of foo is released, you could change $LD_LIBRARY_PATH from
/foo/1.4/lib to /foo/1.5/lib and then the executable would use the
new library.

> (4) (I assume there's more than one way to successfully
> build this new Emacs -- or is there essentially only
> ONE way?)

There are advantages for the -R solution (always finds the library
that Emacs was built with) and also for the $LD_LIBRARY_PATH solution
(can use bugfixed library without recompiling Emacs).

My personal opinion is that it is safer to use -R because strange
problems may arise when run Emacs with a different library (version)
than it was built with.  If the bugfix from the new library version
is really needed, it is easy enough to build Emacs again.

> (5) What is it that makes this 21.3 (or just 21.x?)
>     more difficult, more understanding needed, than
>     20.x, 19.x?

Emacs 21 uses more external libraries, for displaying images for
instance.

-- 
This line is not blank.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2003-05-26  6:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-19  6:10 emacs 21.3 wants "libXaw3d.so.5"; got Xaw3d-1.5.tar.gz; NOW WHAT? David Combs
2003-05-19  8:09 ` Akop Pogosian
2003-05-19 17:54   ` David Combs
2003-05-19 18:17     ` Stefan Monnier
2003-05-20  6:19       ` David Combs
2003-05-20  6:56         ` Stefan Monnier
2003-05-20 16:32           ` David Combs
2003-05-22 11:02 ` Kai Großjohann
2003-05-23  5:34   ` David Combs
2003-05-23  7:04     ` Kai Großjohann
2003-05-25 21:37       ` David Combs
2003-05-25 22:22         ` Stefan Monnier
2003-05-26  6:57         ` Kai Großjohann

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.