Rodolfo Medina wrote:

> From:
> ftp://ftp.x.org/contrib/widgets/Xaw3d/R6.3/
> I downloaded the package Xaw3d-1.5.tar.gz
> but have problems with its installation
> (I have Mandrake 10.1 Community).
> Can anyone provide help?
>
> In the README.XAW3D file contained in the distribution
> the following steps are prescribed:
>
> $ gunzip -c Xaw3d-1.5.tar.gz | tar xpf -
> $ cd xc/lib/Xaw3d
> $ ../../config/imake/imake -I../../config/cf -DTOPDIR=../.. 
> -DCURRENTDIR=lib/Xaw3d
> $ make includes
> $ make depend
> $ make
> # make install
>
> . But when I do
> $ ../../config/imake/imake -I../../config/cf -DTOPDIR=../.. 
> -DCURRENTDIR=lib/Xaw3d
> I get the error message:
>
> bash: ../../config/imake/imake: No such file or directory
>
> . Any suggestion?


Mikkel L. Ellertson wrote:

> I would run "urpmi libXaw3d7" and use the pre-build Mandrake package.
> But if you realy want to compile it yourself, start by installing the
> libxorg-x11-devel package. It contains imake, along with other things
> you will need. Then you will need to see what other development packages
> you need to build the Xaw3d libraries...


Rodolfo:

> Mandrake answers me: `Everything already installed' in both cases, i.e.
> when I say `# urpmi libXaw3d7' and also whan I say `# urpmilibxorg-x11-devel'.
> But the trouble is, that when I build Emacs CVS it doesn't detect the presence
of Xaw3d
> in my system (that's why I tried to install it manually): in fact, when I run
`$ ./configure'
> from Emacs CVS source dir, the following output appears:
>
>   Does Emacs use -lXaw3d?                                 no
>   Does Emacs use -lXpm?                                   yes
>   Does Emacs use -ljpeg?                                  yes
>   Does Emacs use -ltiff?                                  yes
>   Does Emacs use -lungif?                                 yes
>   Does Emacs use -lpng?                                   yes
>   Does Emacs use X toolkit scroll bars?                   no
>
> . I had to install manually also jpeg, tiff, gif and png in order to get those
'yes'.
> Any other suggestion?



Mikkel:

> Run "urpmi libXaw3d7-devel", "urpmi libtiff3-devel", and so forth for
> all the packages you need. The libraries are probably already installed,
> but you need the development packages that go with them if you want to
> compile your own programs that use them.


Unfortunately:

[EMAIL PROTECTED] rodolfo]# urpmi libXaw3d7-devel
no package named libXaw3d7-devel


Mikkel:

> If you realy want to compile it yourself, you can probable run
>
> imake -I../../config/cf -DTOPDIR=../.. -DCURRENTDIR=lib/Xaw3d
>
> instead of
>
> ../../config/imake/imake -I../../config/cf -DTOPDIR=../..
> -DCURRENTDIR=lib/Xaw3d

Unfortunately:

[EMAIL PROTECTED] Xaw3d]$ imake -I../../config/cf -DTOPDIR=../..
-DCURRENTDIR=lib/Xaw3d
Imakefile.c:35: Imake.tmpl: No such file or directory
imake: Exit code 1.
  Stop.

. In the README.XAW3D file contained in the Xaw3d-1.5.tar.gz package,
it is written:

Notes on Building Xaw3d Outside an X Source Tree:

    The source is intended to be built inside an R6.[134] source tree.
    You can use an X Consortium source tree (R6.1, R6.3), an X Project
    Team source tree (R6.4), or any XFree86 source tree that corresponds
    to one of the X Consortium or X Project Team source trees.

    You might be able to build it outside the source tree, but if you
    try, (pay attention here) YOU'RE ON YOUR OWN. Don't send me email
    about it. Don't send me email telling me you "...know you're on
    your own, but..." It's hard enough to find time to put out these
    releases, I don't have time for handholding if you choose to
    disregard this advice.

    If you don't have a source tree, for whatever reason, plan on using
    binaries built by someone else. I'm sorry, that's just the way it has
    to be.

    Some people have written to me and told me that if you add the
    following line to the Imakefile:

      EXTRA_INCLUDES=-I.

    then you can build it anywhere you want, i.e. outside the R6 source
    tree. If this works for you, great. If not, see above. To simplify
    things a bit I've already added this line to the Imakefile. Just
    uncomment it (by deleting the '#' at the beginning of the line.

[...]

Building:

    Untar the distribution from the base of your X Consortium or XFree86
    source tree with the command:

      `gunzip -c Xaw3d-1.5.tar.gz | tar xpf -`

    or (if your system's tar supports the 'z' option)

      `tar xzpf Xaw3d-1.5.tar.gz`


    (PAY ATTENTION HERE: If you don't know where the base of your
    source tree is, don't send me email asking -- I don't know where
    you put it. If you don't know, my guess is that you don't have one.)

    This will create the directory .../xc/lib/Xaw3d.  'cd' there and
    enter the following commands:

      `../../config/imake/imake -I../../config/cf -DTOPDIR=../..
-DCURRENTDIR=lib/Xaw3d`
      `make includes; make depend; make; make install`

   
. I'm no linux expert and don't know what the author Kaleb S. KEITHLEY means
with the R6.[134] source tree
and the importance to build the package from the base of my source tree...
I tried to write to him, but the address: [EMAIL PROTECTED] seems to be wrong.
(Maybe it's better: I suppose he'd've gone very angry if he'd read may mail!)
Any other hint?

Thanks,
Rodolfo




____________________________________________________________
Navighi a 2 MEGA e i primi 3 mesi sono GRATIS. 
Scegli Libero Adsl Flat senza limiti su http://www.libero.it



____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to