public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Rafel Amer Ramon <rafel.amer@upc.edu>
To: cygwin@cygwin.com
Subject: Re: Error compiling gengetopt
Date: Thu, 26 Nov 2020 22:34:31 +0100	[thread overview]
Message-ID: <46996be5-313b-9430-e0fb-de7da2a2c4ec@upc.edu> (raw)
In-Reply-To: <ab434975-5a05-8b6b-2206-163062938f7e@cornell.edu>

El 26/11/20 a les 18:47, Ken Brown ha escrit:
> On 11/26/2020 12:25 PM, Rafel Amer Ramon wrote:
>> El 26/11/20 a les 17:31, Ken Brown ha escrit:
>>> [Please don't top-post on this list.]
>>>
>>> On 11/26/2020 10:51 AM, Rafel Amer Ramon wrote:
>>>>
>>>> Hello,
>>>>
>>>> I get the same error with the bash terminal and directory 
>>>> /usr/local/src
>>>>
>>>> libtool: link: (cd .libs/libgengetopt.lax/libgnu.a && ar x 
>>>> "/usr/lacal/src/gengetopt-2.23/src/../gl/.libs/libgnu.a")
>>>>
>>>> libtool: error: object name conflicts in archive: 
>>>> .libs/libgengetopt.lax/libgnu.a//usr/local/src/gengetopt-2.23/src/../gl/.libs/libgnu.a 
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> OK, my guess was wrong.
>>>
>>> I downloaded and built the package on my system without a problem, 
>>> so something specific to your setup is causing this. Do you see 
>>> anything suspicious earlier in the build?  You might try capturing a 
>>> log of the build and sending it as an attachment to see if anyone 
>>> here spots anything.  Also, please follow the problem-reporting 
>>> guide at https://cygwin.com/problems.html, including the part about 
>>> sending cygcheck output (as an attachment).
>>>
>>> Ken
>>
>> Hello,
>>
>> I can't see anything strange. I attach the file cygcheck.out 
>> (cygcheck -s -v -r  > cygcheck.out),
>> and the file make.out (make > make.out 2>&1)
>
> I think your PATH might be the problem.  I see several warnings like 
> this in cygcheck.out:
>
>   Warning: C:\Windows\system32\bash.exe hides C:\cygwin64\bin\bash.exe
>
> And I also saw this in the configure.log that you sent me privately:
>
>   checking for tar... /cygdrive/c/Windows/system32/tar
>
> You need to be sure you're using Cygwin tools when building on 
> Cygwin.  Note that if you had been working in a Cygwin bash shell, 
> /etc/profile would have adjusted your profile appropriately.
>
> Ken

Hello,

yes, the problem was the PATH. I have changed the order of the 
directories in the PATH and now I can compile
successfully the gengetopt program.

Thank you very much.

Best regards,

Rafel Amer


  reply	other threads:[~2020-11-26 21:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-26 10:30 Rafel Amer Ramon
2020-11-26 13:04 ` Ken Brown
2020-11-26 15:51   ` Rafel Amer Ramon
2020-11-26 16:31     ` Ken Brown
2020-11-26 17:25       ` Rafel Amer Ramon
2020-11-26 17:47         ` Ken Brown
2020-11-26 21:34           ` Rafel Amer Ramon [this message]
2020-11-29 11:44           ` gengetopt Rafel Amer Ramon
2020-11-29 12:44             ` gengetopt Adam Dinwoodie
2020-11-29 14:50               ` gengetopt Rafel Amer Ramon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46996be5-313b-9430-e0fb-de7da2a2c4ec@upc.edu \
    --to=rafel.amer@upc.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).