delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/09/18/13:35:22

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=cl/oPZM/4U4S5OtA
WGLiseiLogw9oApwCsXis8ynh8x5sGfNoqiiC4ypWxiFrE2zg2SFGdtAs/l1PnA3
9NeDLXh/x5+pAR+JFaIRl5aeb9pTsNeS6uT4cKAGC10Os+65acCqjtFL4IA4niHe
ZzkJwPfmyiXCH8S3PSej8AgOBgc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=+IGBwBj5YLRYHKhWI6Skyd
EoCJ8=; b=kJqrVfjBjgH+0bcEFozcOQcXF3R+FOIWSioJ+TZb4H0xfDkodFrk2d
sJrXh4Jd+UwQg9rYfPMXS42wA/SitObWpfZ6uNehtcWNjX3upbHVy553KO69YHtM
kgUQMDaw83MsxMzwTceZ8mEUobJquj5fvW4FWgy1kFeNErdUrh3HM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=BAYES_20,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*yandex.ru, H*RU:192.168.1.10, Hx-spam-relays-external:192.168.1.10, H*r:ip*192.168.1.10
X-HELO: forward103p.mail.yandex.net
Authentication-Results: smtp2p.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Mon, 18 Sep 2017 20:23:06 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <533039322.20170918202306@yandex.ru>
To: Graham Laight <gandtandb AT yahoo DOT co DOT uk>,
Graham Laight <gandtandb AT yahoo DOT co DOT uk>, cygwin AT cygwin DOT com
Subject: Re: Problem Compiling Source Code From Unix
In-Reply-To: <1594208380.1685699.1505747601936@mail.yahoo.com>
References: <1594208380 DOT 1685699 DOT 1505747601936 DOT ref AT mail DOT yahoo DOT com> <1594208380 DOT 1685699 DOT 1505747601936 AT mail DOT yahoo DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Graham Laight!

> I am trying to compile some SAT solvers, which all come as Unix source-code
> bundles. I have installed Cygwin at c:\cygwin, and added c:\cygwin\bin to my
> Windows path.

That was a wrong move.
Unless you exactly know what you are doing, and ready for the consequences,
adding Cygwin bins to windows PATH is a recipe for disaster.

> Lingeling came with the following instructions:

> configure && make 

> Once I realised this translates to... 

> sh configure.sh && make 

No, it is exactly ./configure && make, no translation.

> ...it was fine, and I am happily running Lingeling - which is a good SAT
> solver!

> Unfortunately, many of the other SAT solvers are based on MiniSat - and
> these all have the same instructions, which I cannot follow: 

> export MROOT=<minisat-dir>  (or setenv in cshell) 
> cd { core | simp } 
> gmake rs 

> I don't know what export MROOT means (or setenv).

It means you have to set the environment to a value. This is not Cygwin
specific.

> Then I do cd core (to get to the C:\Temp\MapleCOMSPS\core folder), and issue

> make rs

> I receive the error: 

> Makefile:4: /mtl/template.mk: No such file or directory 
> make: *** No rule to make target '/mtl/template.mk'.  Stop. 

> It cannot find included files in C:\Temp\MapleCOMSPS\mtl . I have also
> tried adding C:\Temp\MapleCOMSPS\mtl to the Windows path - but this didn't
> change anything.

> Apologies if this question has more to do with my lack of knowledge of
> compiling under Linux than it does with Cygwin - but it would mean a lot to
> me to be able to get the other SAT solvers working, so I would really
> appreciate guidance!

This has nothing to do with compiling at all, just the general Linux usage.

Try

    cd simp
    MROOT="$(dirname "$(pwd)")" make rs

> PS - further apologies if the list receives a duplicate of this message -
> but my Outlook mail is misbehaving.

Try a normal mail client.


-- 
With best regards,
Andrey Repin
Monday, September 18, 2017 20:07:47

Sorry for my terrible english...


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

- Raw text -


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