* RE: Promblem compiling GDB 6.3 on solaris 2.6--don't know how to make target doc/observer.texi
@ 2005-01-17 2:27 Xing Li Jun, SLC COM TD-SCDMA (BJ)
0 siblings, 0 replies; 6+ messages in thread
From: Xing Li Jun, SLC COM TD-SCDMA (BJ) @ 2005-01-17 2:27 UTC (permalink / raw)
To: Dave Korn, gdb
> -----Original Message-----
> From: Dave Korn [mailto:dave.korn@artimi.com]
> Sent: Friday, January 14, 2005 8:54 PM
> To: 'Xing Li Jun, SLC COM TD-SCDMA (BJ)'; gdb@sources.redhat.com
> Subject: RE: Promblem compiling GDB 6.3 on solaris 2.6--don't
> know how to make target doc/observer.texi
>
>
> > -----Original Message-----
> > From: gdb-owner On Behalf Of Xing Li Jun, SLC COM TD-SCDMA (BJ)
> > Sent: 14 January 2005 08:46
>
> > I am building gdb 6.3 on solaris, I have installed gmp, mpfr,
> > texinfo for it. The configure process is ok, no errors in
> config.log,
> > bug when I do make, it will give out the following error:
> >
> > make: fatal error: don't know how to make target 'doc/observer.texi'
> > ...
> > make: fatal error: command failed for target 'all-gdb'
> > then quit.
>
> That file should already have been in the source code;
> where did you get your
> sources from? CVS, a snapshot, or the released 6.3 tarball?
> What do you get
> when you look in the <sourcedir>/gdb/doc? Is it there? Does
> it have the wrong
> permissions?
>
>
> cheers,
> DaveK
> --
> Can't think of a witty .sigline today....
>
I got the sources from the released 6.3 tarball. When I look in the <sourcedir>/gdb/doc, observer.texi is there, with permission 644.
Then I changed the permission to 777, but the problem still exists.
Another symptom I have just noted is that in <builddir>/gdb/config.log, there are many errors reported, when checking for argz.h, setenv, stpcpy...etc.
In the config.log under <builddir>, everything is ok. the <builddir>/gdb/config.log is generated after make in invoked.
Do you know what is wrong?
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Promblem compiling GDB 6.3 on solaris 2.6--don't know how to make target doc/observer.texi
@ 2005-01-19 1:15 Xing Li Jun, SLC COM TD-SCDMA (BJ)
0 siblings, 0 replies; 6+ messages in thread
From: Xing Li Jun, SLC COM TD-SCDMA (BJ) @ 2005-01-19 1:15 UTC (permalink / raw)
To: Dave Korn, gdb
> -----Original Message-----
> From: Dave Korn [mailto:dave.korn@artimi.com]
> Sent: Tuesday, January 18, 2005 8:18 PM
> To: 'Xing Li Jun, SLC COM TD-SCDMA (BJ)'; gdb@sources.redhat.com
> Subject: RE: Promblem compiling GDB 6.3 on solaris 2.6--don't
> know how to make target doc/observer.texi
>
>
> > -----Original Message-----
> > From: Xing Li Jun, SLC COM TD-SCDMA (BJ)
> > Sent: 18 January 2005 08:54
> > To: Dave Korn; gdb
> > Subject: RE: Promblem compiling GDB 6.3 on solaris 2.6--don't
> > know how to make target doc/observer.texi
> >
> > After some trial and error, I successfully compiled gdb. The
> > action I've taken
> > is :
> > 1. replace the sun make with gmake
> > 2. run configure with the full path, instead of the relative
> > path to the build dir.
> >
> > thank Dave for your information, anyway!
>
> I am glad you succeeded. I think that using GNU make is an absolute
> requirement for building gnu projects where srcdir != objdir,
> because only gmake
> supports VPATH, not Sun make. I have heard of problems with
> using a relative
> instead of absolute path to configure on Sun before, but that
> was to do with
> gcc; maybe it affects gdb as well.
>
>
> cheers,
> DaveK
yes, I compiled gdb and gcc on Sun at the same time, and I got the same problem for gcc 3.4.3.
If the configure is run with a relative path, the the path to install-sh will be wrong, an error 'install-sh: not found' will rise. When I got this error for gdb, I just re-run the configure-make prcess with an absolute path to the configure script, and succeed.
But for gcc, the make process take so long that I can not afford the time re-compile it, so I mkdir a gcc-3.4.3, with only install-sh into it, then I copy this directory everywhere to let the make can find it:)
cheers,
Xing Li Jun
> --
> Can't think of a witty .sigline today....
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Promblem compiling GDB 6.3 on solaris 2.6--don't know how to make target doc/observer.texi
@ 2005-01-18 8:54 Xing Li Jun, SLC COM TD-SCDMA (BJ)
2005-01-18 12:21 ` Dave Korn
0 siblings, 1 reply; 6+ messages in thread
From: Xing Li Jun, SLC COM TD-SCDMA (BJ) @ 2005-01-18 8:54 UTC (permalink / raw)
To: Dave Korn, gdb
After some trial and error, I successfully compiled gdb. The action I've taken
is :
1. replace the sun make with gmake
2. run configure with the full path, instead of the relative path to the build dir.
thank Dave for your information, anyway!
> -----Original Message-----
> From: Xing Li Jun, SLC COM TD-SCDMA (BJ)
> [mailto:lijun.xing@siemens.com]
> Sent: Monday, January 17, 2005 10:26 AM
> To: Dave Korn; gdb@sources.redhat.com
> Subject: RE: Promblem compiling GDB 6.3 on solaris 2.6--don't
> know how to make target doc/observer.texi
>
>
>
>
> > -----Original Message-----
> > From: Dave Korn [mailto:dave.korn@artimi.com]
> > Sent: Friday, January 14, 2005 8:54 PM
> > To: 'Xing Li Jun, SLC COM TD-SCDMA (BJ)'; gdb@sources.redhat.com
> > Subject: RE: Promblem compiling GDB 6.3 on solaris 2.6--don't
> > know how to make target doc/observer.texi
> >
> >
> > > -----Original Message-----
> > > From: gdb-owner On Behalf Of Xing Li Jun, SLC COM TD-SCDMA (BJ)
> > > Sent: 14 January 2005 08:46
> >
> > > I am building gdb 6.3 on solaris, I have installed gmp, mpfr,
> > > texinfo for it. The configure process is ok, no errors in
> > config.log,
> > > bug when I do make, it will give out the following error:
> > >
> > > make: fatal error: don't know how to make target
> 'doc/observer.texi'
> > > ...
> > > make: fatal error: command failed for target 'all-gdb'
> > > then quit.
> >
> > That file should already have been in the source code;
> > where did you get your
> > sources from? CVS, a snapshot, or the released 6.3 tarball?
> > What do you get
> > when you look in the <sourcedir>/gdb/doc? Is it there? Does
> > it have the wrong
> > permissions?
> >
> >
> > cheers,
> > DaveK
> > --
> > Can't think of a witty .sigline today....
> >
>
> I got the sources from the released 6.3 tarball. When I look
> in the <sourcedir>/gdb/doc, observer.texi is there, with
> permission 644.
> Then I changed the permission to 777, but the problem still exists.
> Another symptom I have just noted is that in
> <builddir>/gdb/config.log, there are many errors reported,
> when checking for argz.h, setenv, stpcpy...etc.
> In the config.log under <builddir>, everything is ok. the
> <builddir>/gdb/config.log is generated after make in invoked.
> Do you know what is wrong?
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Promblem compiling GDB 6.3 on solaris 2.6--don't know how to make target doc/observer.texi
2005-01-18 8:54 Xing Li Jun, SLC COM TD-SCDMA (BJ)
@ 2005-01-18 12:21 ` Dave Korn
0 siblings, 0 replies; 6+ messages in thread
From: Dave Korn @ 2005-01-18 12:21 UTC (permalink / raw)
To: 'Xing Li Jun, SLC COM TD-SCDMA (BJ)', gdb
> -----Original Message-----
> From: Xing Li Jun, SLC COM TD-SCDMA (BJ)
> Sent: 18 January 2005 08:54
> To: Dave Korn; gdb
> Subject: RE: Promblem compiling GDB 6.3 on solaris 2.6--don't
> know how to make target doc/observer.texi
>
> After some trial and error, I successfully compiled gdb. The
> action I've taken
> is :
> 1. replace the sun make with gmake
> 2. run configure with the full path, instead of the relative
> path to the build dir.
>
> thank Dave for your information, anyway!
I am glad you succeeded. I think that using GNU make is an absolute
requirement for building gnu projects where srcdir != objdir, because only gmake
supports VPATH, not Sun make. I have heard of problems with using a relative
instead of absolute path to configure on Sun before, but that was to do with
gcc; maybe it affects gdb as well.
cheers,
DaveK
--
Can't think of a witty .sigline today....
^ permalink raw reply [flat|nested] 6+ messages in thread
* Promblem compiling GDB 6.3 on solaris 2.6--don't know how to make target doc/observer.texi
@ 2005-01-14 8:47 Xing Li Jun, SLC COM TD-SCDMA (BJ)
2005-01-14 15:37 ` Dave Korn
0 siblings, 1 reply; 6+ messages in thread
From: Xing Li Jun, SLC COM TD-SCDMA (BJ) @ 2005-01-14 8:47 UTC (permalink / raw)
To: gdb
Hi,
I am new to this mailing list and may be impolite in some manner, please correct me frankly:)
I am building gdb 6.3 on solaris, I have installed gmp, mpfr, texinfo for it. The configure process is ok, no errors in config.log,
bug when I do make, it will give out the following error:
make: fatal error: don't know how to make target 'doc/observer.texi'
...
make: fatal error: command failed for target 'all-gdb'
then quit.
Thank you for your help!
Xing Li Jun
Young people nowadays assume that money is everything, and when they get older they know it. --- Oscar Wilde
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Promblem compiling GDB 6.3 on solaris 2.6--don't know how to make target doc/observer.texi
2005-01-14 8:47 Xing Li Jun, SLC COM TD-SCDMA (BJ)
@ 2005-01-14 15:37 ` Dave Korn
0 siblings, 0 replies; 6+ messages in thread
From: Dave Korn @ 2005-01-14 15:37 UTC (permalink / raw)
To: 'Xing Li Jun, SLC COM TD-SCDMA (BJ)', gdb
> -----Original Message-----
> From: gdb-owner On Behalf Of Xing Li Jun, SLC COM TD-SCDMA (BJ)
> Sent: 14 January 2005 08:46
> I am building gdb 6.3 on solaris, I have installed gmp, mpfr,
> texinfo for it. The configure process is ok, no errors in config.log,
> bug when I do make, it will give out the following error:
>
> make: fatal error: don't know how to make target 'doc/observer.texi'
> ...
> make: fatal error: command failed for target 'all-gdb'
> then quit.
That file should already have been in the source code; where did you get your
sources from? CVS, a snapshot, or the released 6.3 tarball? What do you get
when you look in the <sourcedir>/gdb/doc? Is it there? Does it have the wrong
permissions?
cheers,
DaveK
--
Can't think of a witty .sigline today....
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-01-19 1:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-17 2:27 Promblem compiling GDB 6.3 on solaris 2.6--don't know how to make target doc/observer.texi Xing Li Jun, SLC COM TD-SCDMA (BJ)
-- strict thread matches above, loose matches on Subject: below --
2005-01-19 1:15 Xing Li Jun, SLC COM TD-SCDMA (BJ)
2005-01-18 8:54 Xing Li Jun, SLC COM TD-SCDMA (BJ)
2005-01-18 12:21 ` Dave Korn
2005-01-14 8:47 Xing Li Jun, SLC COM TD-SCDMA (BJ)
2005-01-14 15:37 ` Dave Korn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).