delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/29/16:23:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3FC90EEA.9060409@cox.net>
Date: Sat, 29 Nov 2003 16:26:02 -0500
From: "David A. Cobb" <Superbiskit AT cox DOT net>
Reply-To: "David A. Cobb" <superbiskit AT cox DOT net>,
Cygwin General Discussion <cygwin AT cygwin DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031119 Thunderbird/0.4a
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: =?ISO-8859-1?Q?=22Fr=E9d=E9ric_L=2E_W=2E_Meunier=22?=
<1 AT pervalidus DOT net>
CC: Cygwin General Discussion <cygwin AT cygwin DOT com>
Subject: Re: Problem making rxvt
References: <3FC62C36 DOT 1080802 AT cox DOT net> <3FC68B2A DOT 1080106 AT fangorn DOT ca> <3FC8CE35 DOT 2090704 AT cox DOT net> <Pine DOT CYG DOT 4 DOT 58 DOT 0311291614530 DOT 3240 AT pervalidus>
In-Reply-To: <Pine.CYG.4.58.0311291614530.3240@pervalidus>

Frédéric L. W. Meunier wrote:

>On Sat, 29 Nov 2003, David A. Cobb wrote:
>
>  
>
>     Next experiment is to cd into the source tree to do the build: the
>     example does show "./configure".
>     THIS IS STILL A BUG! Building from inside is, in fact, discouraged,
>     IIRC, in the Autotools references.
>
>You can try using lndir. I use it when builddir != srcdir
>doesn't work.
>  
>
OK, one more thing to look up :-(.   Anyway, I changed my build script 
to do --
<quote>
(  cd $SRCDIR ; ./configure . . . && make ) 2>&1 | tee build.log
That did, indeed, avoid the infinite recursion on the make.  Still not a 
success, but things are looking up.


>Anyway, I think only packages that use Automake are supposed to
>work without it. The others that only use Autoconf may or not.
>rxvt doesn't entirely. On Linux CVS failed for me making the
>man page (I had Yodl installed).
>  
>
My remaining problems look like this:

Each compilation includes the warning:
<quote>
ignoring duplicate directory "/usr/local/include"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "/usr/X11R6/include"
</quote>
However, the later output of "Include path" does include the 
/usr/local/include. 
I guess the question is, 'what is the basis for gcc concluding that /u 
/l /i "duplicates a system directory.  It is, in fact,
a couple of items from /usr/include, with modifications to avoid some 
compiler warnings.  I do not get the warnings I
was trying to avoid, so I will assume the "ignoring duplicate directory 
. . ." is specious.  I really detest specious warnings because they're 
so damn hard to get rid of.


At the end of a long linker pass I get:
<quote>
(/usr/X11R6/lib/libX11.dll.a)d000000.o
(/usr/X11R6/lib/libX11.dll.a)d001246.o
collect2: ld returned 1 exit status
Reaping losing child 0x10039ea0 PID 6576
make[1]: *** [rxvt] Error 1
    Failed to remake target file `rxvt'.
  Giving up on target file `allbin'.
Giving up on target file `all'.
make[1]: Target `all' not remade because of errors.
make[1]: Leaving directory `/home/Superbiskit/Build/rxvt/rxvt-2.7.10/src'
GNU Make 3.80
Updating makefiles....
 Considering target file `Makefile'.
 No need to remake target `Makefile'.
</quote>
And, indeed, rxvt(.exe) is not made.  To me, that means this `make` run 
was a failure.

But the very end of the run shows:
<quote>
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/Superbiskit/Build/rxvt/rxvt-2.7.10/src/graphics'
GNU Make 3.80
Updating makefiles....
 Considering target file `Makefile'.
 No need to remake target `Makefile'.
Updating goal targets....
Considering target file `all'.
 File `all' does not exist.
Must remake target `all'.
Successfully remade target file `all'.
make[1]: Entering directory 
`/home/Superbiskit/Build/rxvt/rxvt-2.7.10/src/test'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/Superbiskit/Build/rxvt/rxvt-2.7.10/src/test'
  Successfully remade target file `all'.
Must remake target `first_rule'.
Successfully remade target file `first_rule'.
</quote>

So, it seems there are a few things amiss about this `make` setup.

-- 
David A. Cobb, Software Engineer, Public Access Advocate
"By God's Grace, I am a Christian man; by my actions a great sinner." -- The Way of a Pilgrim: R.French, Tr.
Life is too short to tolerate crappy software!




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019