ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Problem of build DDD on sparc-sun-solaris-2.8


From: Josh Schwartz
Subject: RE: Problem of build DDD on sparc-sun-solaris-2.8
Date: Thu, 7 Dec 2000 09:43:06 +0200

Hi ,
  I ran into the same problem. If I recall correctly the problem came from the
following lines in show.C under the ddd directory of the ddd-3.2.1 untar 
directory.

int ddd_license(ostream& os)
{
    static const char COPYING[] =
#include "COPYING.gz.C"
        ;

    return uncompress(os, COPYING, sizeof(COPYING) - 1);
}

int ddd_news(ostream& os)
{
    static const char NEWS[] =
#include "NEWS.gz.C"
        ;

    return uncompress(os, NEWS, sizeof(NEWS) - 1);
}

int ddd_man(ostream& os)
{
#if WITH_BUILTIN_MANUAL
    static const char MANUAL[] =
#include "ddd.info.txt.gz.C"
        ;

    return uncompress(os, MANUAL, sizeof(MANUAL) - 1);


rewrite the lines without the includes so for example:

#if WITH_BUILTIN_MANUAL
    static const char MANUAL[] =
#include "ddd.info.txt.gz.C"

 goes to:

#if WITH_BUILTIN_MANUAL
    static const char MANUAL[] = "ddd.info.txt.gz.C";


files like COPYING.gz.C are created along the way I think. Note that
I tried recreating the problem after the fact and couldn't. Now that
ddd is installed it doesn't happen anymore !!! Since I can't remember
exactly what the problem was I can't be sure that this was the fix.
Part of the problem was that the XXXX.gz.C files weren't found. However
there are text files that look like they are the source for the XXXXX.gz.C
files:
ddd-3.2.1/COPYING
ddd-3.2.1/NEWS
ddd-3.2.1/ddd/ddd.info.txt


You might also try gziping these files adding the extension .C and copying
them to the ddd-3.2.1/ddd directory.

Hope this helps,
Joshua Schwartz

> -----Original Message-----
> From: address@hidden [mailto:address@hidden Behalf Of
> Super-User
> Sent: Wed, December 06, 2000 10:11 PM
> To: address@hidden
> Subject: Problem of build DDD on sparc-sun-solaris-2.8
> 
> 
> Hi,
> 
> After running "./configure",  I got the following problems when I
> running "make":
> 
> # make
> ==> Making all in ./readline...
> ==> Making all in ./ddd...
> Building ddd-3.2.1-sparc-sun-solaris2.8...
> sed -n -f ./ad2c.sed Ddd > Ddd.ad.h~ && mv Ddd.ad.h~ Ddd.ad.h
> cat ./host.h.in | \
> sed "address@hidden@%sparc-sun-solaris2.8%" | \
> sed "address@hidden@%sparc-sun-solaris2.8%" > host.h~ && \
> mv host.h~ host.h
> /usr/bin/sh ./config-info ./USERINFO USERINFO > configinfo.C~ && \
> mv configinfo.C~ configinfo.C
> make stringify
> `stringify' is up to date.
> ./stringify < COPYING.gz > COPYING.gz.C~ && mv COPYING.gz.C~
> COPYING.gz.C
> ld.so.1: ./stringify: fatal: libstdc++.so.2.10.0: open failed: No such
> file or directory
> Killed
> *** Error code 137 (ignored)
> make stringify
> `stringify' is up to date.
> ./stringify < NEWS.gz > NEWS.gz.C~ && mv NEWS.gz.C~ NEWS.gz.C
> ld.so.1: ./stringify: fatal: libstdc++.so.2.10.0: open failed: No such
> file or directory
> Killed
> *** Error code 137 (ignored)
> make stringify
> `stringify' is up to date.
> ./stringify < ddd.info.txt.gz > ddd.info.txt.gz.C~ && mv
> ddd.info.txt.gz.C~ ddd.info.txt.gz.C
> ld.so.1: ./stringify: fatal: libstdc++.so.2.10.0: open failed: No such
> file or directory
> Killed
> *** Error code 137 (ignored)
> CONFIG_FILES=../ddd.spec CONFIG_HEADERS= /usr/bin/sh ./config.status
> creating ../ddd.spec
> sed 's/@REL@/1/g' ../ddd.spec > ../ddd-3.2.1-1.spec
> rm -f ../ddd.spec
> c++  -DHAVE_CONFIG_H -DNDEBUG -O2 -g -W -Wall -trigraphs -c -I. -I.
> -I./..  -o ddd.o ddd.C
> c++  -DHAVE_CONFIG_H -DNDEBUG -O2 -g -W -Wall -trigraphs -c -I. -I.
> -I./..  -o exit.o exit.C
> c++  -DHAVE_CONFIG_H -DNDEBUG -O2 -g -W -Wall -trigraphs -c -I. -I.
> -I./..  -o resources.o resources.C
> c++  -DHAVE_CONFIG_H -DNDEBUG -O2 -g -W -Wall -trigraphs -c -I. -I.
> -I./..  -o show.o show.C
> show.C:478: COPYING.gz.C: No such file or directory
> show.C:507: NEWS.gz.C: No such file or directory
> show.C:539: ddd.info.txt.gz.C: No such file or directory
> *** Error code 1
> make: Fatal error: Command failed for target `show.o'
> Current working directory /usr/local/src/ddd-3.2.1/ddd
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> bash-2.03# find / -name .ddd -print
> 
> It will be gracefully appreciated if you can help me  to solve these
> problems.
> 
> With the best
> 
> Jing
> 
> 
> 
> 
> _______________________________________________
> Ddd mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/ddd
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]