public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* lsh and/or gmp?
@ 1999-02-08 16:09 Marc Haber
       [not found] ` < E10A0jb-0002Sp-00.1999-02-09-01-08-59@torres.gf1.internal >
  1999-02-28 23:02 ` Marc Haber
  0 siblings, 2 replies; 14+ messages in thread
From: Marc Haber @ 1999-02-08 16:09 UTC (permalink / raw)
  To: cygwin

Hi!

I would like to compile lsh (a GPL'ed ssh2-package) under cygwin. lsh
seems to need gmp, but gmp-2.0.2 doesn't compile with cygwin: 
bash-2.02$ ./configure
|Configuring for a i386-unknown-cygwin32 host.
|Invalid configuration `i386-unknown-cygwin32': system `cygwin32' not recognized
|Invalid configuration `i386-unknown-cygwin32': system `cygwin32' not recognized
|Unrecognized host system name i386-unknown-cygwin32.
|bash-2.02$

Any hints what to do?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: lsh and/or gmp?
       [not found] ` < E10A0jb-0002Sp-00.1999-02-09-01-08-59@torres.gf1.internal >
@ 1999-02-08 18:01   ` Mumit Khan
       [not found]     ` < 199902090201.UAA11542@modi.xraylith.wisc.edu >
  1999-02-28 23:02     ` Mumit Khan
  0 siblings, 2 replies; 14+ messages in thread
From: Mumit Khan @ 1999-02-08 18:01 UTC (permalink / raw)
  To: Marc Haber; +Cc: cygwin

Marc.Haber-lists@gmx.de (Marc Haber) writes:
> Hi!
> 
> I would like to compile lsh (a GPL'ed ssh2-package) under cygwin. lsh
> seems to need gmp, but gmp-2.0.2 doesn't compile with cygwin:=20
> bash-2.02$ ./configure
> |Configuring for a i386-unknown-cygwin32 host.
> |Invalid configuration `i386-unknown-cygwin32': system `cygwin32' not =
> recognized
> |Invalid configuration `i386-unknown-cygwin32': system `cygwin32' not =
> recognized
> |Unrecognized host system name i386-unknown-cygwin32.
> |bash-2.02$
> 
> Any hints what to do?

Just force the host/target type:
  
  $ ./configure i586-cygwin32

and gmp-2.0.2 should build out of the box.

Mumit

--   
Want to unsubscribe from this list?                             
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: lsh and/or gmp?
       [not found]     ` < 199902090201.UAA11542@modi.xraylith.wisc.edu >
@ 1999-02-09  2:30       ` Marc Haber
  1999-02-09 10:58         ` Stipe Tolj
                           ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Marc Haber @ 1999-02-09  2:30 UTC (permalink / raw)
  To: cygwin

On Mon, 08 Feb 1999 20:01:21 -0600, you wrote:
>Marc.Haber-lists@gmx.de (Marc Haber) writes:
>Just force the host/target type:
>  
>  $ ./configure i586-cygwin32
>
>and gmp-2.0.2 should build out of the box.

|bash-2.02$ cd /home/mh/gmp-2.0.2
|bash-2.02$ ./configure i586-cygwin32
|Invalid configuration `i586-cygwin32': system `cygwin32' not recognized
|Invalid configuration `i586-cygwin32': system `cygwin32' not recognized
|Unrecognized host system name i586-cygwin32.
|bash-2.02$ pwd

Doesn't seem to work :-(

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: lsh and/or gmp?
  1999-02-09  2:30       ` Marc Haber
@ 1999-02-09 10:58         ` Stipe Tolj
  1999-02-28 23:02           ` Stipe Tolj
  1999-02-09 17:15         ` Stipe Tolj
  1999-02-28 23:02         ` Marc Haber
  2 siblings, 1 reply; 14+ messages in thread
From: Stipe Tolj @ 1999-02-09 10:58 UTC (permalink / raw)
  To: Marc Haber; +Cc: cygwin

> |bash-2.02$ cd /home/mh/gmp-2.0.2
> |bash-2.02$ ./configure i586-cygwin32
> |Invalid configuration `i586-cygwin32': system `cygwin32' not recognized
> |Invalid configuration `i586-cygwin32': system `cygwin32' not recognized
> |Unrecognized host system name i586-cygwin32.
> |bash-2.02$ pwd
>
> Doesn't seem to work :-(

patch the "configure" script itself, i.e. add the required target
i586-unkown-cygwin32 to the detection routine and you'll be fine. Search for the
place "unrecognized host system ..." is dumped within configure and you'll
propably find some other OS detection rules, like Solaris and Linux etc.

Regards,
Stipe

--
Stipe Tolj <tolj@uni-duesseldorf.de>

Cygwin Porting Project -- "We build UNIX on top of Windows"
http://www.student.uni-koeln.de/cygwin/

Department of Economical Computer Science
University of Cologne, Germany





--   
Want to unsubscribe from this list?                             
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: lsh and/or gmp?
  1999-02-09  2:30       ` Marc Haber
  1999-02-09 10:58         ` Stipe Tolj
@ 1999-02-09 17:15         ` Stipe Tolj
       [not found]           ` < 36C0DD0E.4E2E158C@uni-duesseldorf.de >
  1999-02-28 23:02           ` Stipe Tolj
  1999-02-28 23:02         ` Marc Haber
  2 siblings, 2 replies; 14+ messages in thread
From: Stipe Tolj @ 1999-02-09 17:15 UTC (permalink / raw)
  To: Marc Haber; +Cc: cygwin

> |bash-2.02$ cd /home/mh/gmp-2.0.2
> |bash-2.02$ ./configure i586-cygwin32
> |Invalid configuration `i586-cygwin32': system `cygwin32' not recognized
> |Invalid configuration `i586-cygwin32': system `cygwin32' not recognized
> |Unrecognized host system name i586-cygwin32.
> |bash-2.02$ pwd
>
> Doesn't seem to work :-(

There are two problems causing configure to fail. First of all within
config.guess the old i386-unknown-cygwin32 is specified, it should be
i586-unknown-cygwin32 since cygwin b20. But the more serious problem is the non
defines os for cygwin within the old config.sub.

See the attached patch file and change the necessary thing. The gmp-2.0.2 package
build out of the box on my cygwin b20.1 (egcs-1.1.1 release) system.

Regards,
Stipe

--
Stipe Tolj <tolj@uni-duesseldorf.de>

Cygwin Porting Project -- "We build UNIX on top of Windows"
http://www.student.uni-koeln.de/cygwin/

Department of Economical Computer Science
University of Cologne, Germany

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: lsh and/or gmp?
       [not found]           ` < 36C0DD0E.4E2E158C@uni-duesseldorf.de >
@ 1999-02-10  2:36             ` Marc Haber
  1999-02-10 13:24               ` Stipe Tolj
  1999-02-28 23:02               ` Marc Haber
  0 siblings, 2 replies; 14+ messages in thread
From: Marc Haber @ 1999-02-10  2:36 UTC (permalink / raw)
  To: cygwin

On Wed, 10 Feb 1999 02:12:46 +0100, you wrote:
>See the attached patch file and change the necessary thing. The gmp-2.0.2 package
>build out of the box on my cygwin b20.1 (egcs-1.1.1 release) system.

With your patch, the build was successfull. Even make install worked,
thanks.

However, lsh still doesn't compile because it doesn't seem to find
gmp.h. Are the envvars set to sane values by the standard login
process or do I have to do it manually? How is the envvar called that
is used to locate include files and libraries?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: lsh and/or gmp?
  1999-02-10  2:36             ` Marc Haber
@ 1999-02-10 13:24               ` Stipe Tolj
  1999-02-28 23:02                 ` Stipe Tolj
  1999-02-28 23:02               ` Marc Haber
  1 sibling, 1 reply; 14+ messages in thread
From: Stipe Tolj @ 1999-02-10 13:24 UTC (permalink / raw)
  To: Marc Haber; +Cc: cygwin

> On Wed, 10 Feb 1999 02:12:46 +0100, you wrote:
> >See the attached patch file and change the necessary thing. The gmp-2.0.2 package
> >build out of the box on my cygwin b20.1 (egcs-1.1.1 release) system.
>
> With your patch, the build was successfull. Even make install worked,
> thanks.
>
> However, lsh still doesn't compile because it doesn't seem to find
> gmp.h. Are the envvars set to sane values by the standard login
> process or do I have to do it manually? How is the envvar called that
> is used to locate include files and libraries?

If gmp.h isn't found while building lsh simply add the path with the -I options into
the CFLAGS or INCDIR of the corsponding Makefile of lsh.

You may add something like -I/usr/local/include is gmp.h is located within this dir.

Regards,
Stipe

--
Stipe Tolj <tolj@uni-duesseldorf.de>

Cygwin Porting Project -- "We build UNIX on top of Windows"
http://www.student.uni-koeln.de/cygwin/

Department of Economical Computer Science
University of Cologne, Germany




--   
Want to unsubscribe from this list?                             
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: lsh and/or gmp?
  1999-02-09 17:15         ` Stipe Tolj
       [not found]           ` < 36C0DD0E.4E2E158C@uni-duesseldorf.de >
@ 1999-02-28 23:02           ` Stipe Tolj
  1 sibling, 0 replies; 14+ messages in thread
From: Stipe Tolj @ 1999-02-28 23:02 UTC (permalink / raw)
  To: Marc Haber; +Cc: cygwin

> |bash-2.02$ cd /home/mh/gmp-2.0.2
> |bash-2.02$ ./configure i586-cygwin32
> |Invalid configuration `i586-cygwin32': system `cygwin32' not recognized
> |Invalid configuration `i586-cygwin32': system `cygwin32' not recognized
> |Unrecognized host system name i586-cygwin32.
> |bash-2.02$ pwd
>
> Doesn't seem to work :-(

There are two problems causing configure to fail. First of all within
config.guess the old i386-unknown-cygwin32 is specified, it should be
i586-unknown-cygwin32 since cygwin b20. But the more serious problem is the non
defines os for cygwin within the old config.sub.

See the attached patch file and change the necessary thing. The gmp-2.0.2 package
build out of the box on my cygwin b20.1 (egcs-1.1.1 release) system.

Regards,
Stipe

--
Stipe Tolj <tolj@uni-duesseldorf.de>

Cygwin Porting Project -- "We build UNIX on top of Windows"
http://www.student.uni-koeln.de/cygwin/

Department of Economical Computer Science
University of Cologne, Germany

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: lsh and/or gmp?
  1999-02-10 13:24               ` Stipe Tolj
@ 1999-02-28 23:02                 ` Stipe Tolj
  0 siblings, 0 replies; 14+ messages in thread
From: Stipe Tolj @ 1999-02-28 23:02 UTC (permalink / raw)
  To: Marc Haber; +Cc: cygwin

> On Wed, 10 Feb 1999 02:12:46 +0100, you wrote:
> >See the attached patch file and change the necessary thing. The gmp-2.0.2 package
> >build out of the box on my cygwin b20.1 (egcs-1.1.1 release) system.
>
> With your patch, the build was successfull. Even make install worked,
> thanks.
>
> However, lsh still doesn't compile because it doesn't seem to find
> gmp.h. Are the envvars set to sane values by the standard login
> process or do I have to do it manually? How is the envvar called that
> is used to locate include files and libraries?

If gmp.h isn't found while building lsh simply add the path with the -I options into
the CFLAGS or INCDIR of the corsponding Makefile of lsh.

You may add something like -I/usr/local/include is gmp.h is located within this dir.

Regards,
Stipe

--
Stipe Tolj <tolj@uni-duesseldorf.de>

Cygwin Porting Project -- "We build UNIX on top of Windows"
http://www.student.uni-koeln.de/cygwin/

Department of Economical Computer Science
University of Cologne, Germany




--   
Want to unsubscribe from this list?                             
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: lsh and/or gmp?
  1999-02-09 10:58         ` Stipe Tolj
@ 1999-02-28 23:02           ` Stipe Tolj
  0 siblings, 0 replies; 14+ messages in thread
From: Stipe Tolj @ 1999-02-28 23:02 UTC (permalink / raw)
  To: Marc Haber; +Cc: cygwin

> |bash-2.02$ cd /home/mh/gmp-2.0.2
> |bash-2.02$ ./configure i586-cygwin32
> |Invalid configuration `i586-cygwin32': system `cygwin32' not recognized
> |Invalid configuration `i586-cygwin32': system `cygwin32' not recognized
> |Unrecognized host system name i586-cygwin32.
> |bash-2.02$ pwd
>
> Doesn't seem to work :-(

patch the "configure" script itself, i.e. add the required target
i586-unkown-cygwin32 to the detection routine and you'll be fine. Search for the
place "unrecognized host system ..." is dumped within configure and you'll
propably find some other OS detection rules, like Solaris and Linux etc.

Regards,
Stipe

--
Stipe Tolj <tolj@uni-duesseldorf.de>

Cygwin Porting Project -- "We build UNIX on top of Windows"
http://www.student.uni-koeln.de/cygwin/

Department of Economical Computer Science
University of Cologne, Germany





--   
Want to unsubscribe from this list?                             
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: lsh and/or gmp?
  1999-02-09  2:30       ` Marc Haber
  1999-02-09 10:58         ` Stipe Tolj
  1999-02-09 17:15         ` Stipe Tolj
@ 1999-02-28 23:02         ` Marc Haber
  2 siblings, 0 replies; 14+ messages in thread
From: Marc Haber @ 1999-02-28 23:02 UTC (permalink / raw)
  To: cygwin

On Mon, 08 Feb 1999 20:01:21 -0600, you wrote:
>Marc.Haber-lists@gmx.de (Marc Haber) writes:
>Just force the host/target type:
>  
>  $ ./configure i586-cygwin32
>
>and gmp-2.0.2 should build out of the box.

|bash-2.02$ cd /home/mh/gmp-2.0.2
|bash-2.02$ ./configure i586-cygwin32
|Invalid configuration `i586-cygwin32': system `cygwin32' not recognized
|Invalid configuration `i586-cygwin32': system `cygwin32' not recognized
|Unrecognized host system name i586-cygwin32.
|bash-2.02$ pwd

Doesn't seem to work :-(

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 14+ messages in thread

* lsh and/or gmp?
  1999-02-08 16:09 lsh and/or gmp? Marc Haber
       [not found] ` < E10A0jb-0002Sp-00.1999-02-09-01-08-59@torres.gf1.internal >
@ 1999-02-28 23:02 ` Marc Haber
  1 sibling, 0 replies; 14+ messages in thread
From: Marc Haber @ 1999-02-28 23:02 UTC (permalink / raw)
  To: cygwin

Hi!

I would like to compile lsh (a GPL'ed ssh2-package) under cygwin. lsh
seems to need gmp, but gmp-2.0.2 doesn't compile with cygwin: 
bash-2.02$ ./configure
|Configuring for a i386-unknown-cygwin32 host.
|Invalid configuration `i386-unknown-cygwin32': system `cygwin32' not recognized
|Invalid configuration `i386-unknown-cygwin32': system `cygwin32' not recognized
|Unrecognized host system name i386-unknown-cygwin32.
|bash-2.02$

Any hints what to do?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: lsh and/or gmp?
  1999-02-08 18:01   ` Mumit Khan
       [not found]     ` < 199902090201.UAA11542@modi.xraylith.wisc.edu >
@ 1999-02-28 23:02     ` Mumit Khan
  1 sibling, 0 replies; 14+ messages in thread
From: Mumit Khan @ 1999-02-28 23:02 UTC (permalink / raw)
  To: Marc Haber; +Cc: cygwin

Marc.Haber-lists@gmx.de (Marc Haber) writes:
> Hi!
> 
> I would like to compile lsh (a GPL'ed ssh2-package) under cygwin. lsh
> seems to need gmp, but gmp-2.0.2 doesn't compile with cygwin:=20
> bash-2.02$ ./configure
> |Configuring for a i386-unknown-cygwin32 host.
> |Invalid configuration `i386-unknown-cygwin32': system `cygwin32' not =
> recognized
> |Invalid configuration `i386-unknown-cygwin32': system `cygwin32' not =
> recognized
> |Unrecognized host system name i386-unknown-cygwin32.
> |bash-2.02$
> 
> Any hints what to do?

Just force the host/target type:
  
  $ ./configure i586-cygwin32

and gmp-2.0.2 should build out of the box.

Mumit

--   
Want to unsubscribe from this list?                             
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: lsh and/or gmp?
  1999-02-10  2:36             ` Marc Haber
  1999-02-10 13:24               ` Stipe Tolj
@ 1999-02-28 23:02               ` Marc Haber
  1 sibling, 0 replies; 14+ messages in thread
From: Marc Haber @ 1999-02-28 23:02 UTC (permalink / raw)
  To: cygwin

On Wed, 10 Feb 1999 02:12:46 +0100, you wrote:
>See the attached patch file and change the necessary thing. The gmp-2.0.2 package
>build out of the box on my cygwin b20.1 (egcs-1.1.1 release) system.

With your patch, the build was successfull. Even make install worked,
thanks.

However, lsh still doesn't compile because it doesn't seem to find
gmp.h. Are the envvars set to sane values by the standard login
process or do I have to do it manually? How is the envvar called that
is used to locate include files and libraries?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~1999-02-28 23:02 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-08 16:09 lsh and/or gmp? Marc Haber
     [not found] ` < E10A0jb-0002Sp-00.1999-02-09-01-08-59@torres.gf1.internal >
1999-02-08 18:01   ` Mumit Khan
     [not found]     ` < 199902090201.UAA11542@modi.xraylith.wisc.edu >
1999-02-09  2:30       ` Marc Haber
1999-02-09 10:58         ` Stipe Tolj
1999-02-28 23:02           ` Stipe Tolj
1999-02-09 17:15         ` Stipe Tolj
     [not found]           ` < 36C0DD0E.4E2E158C@uni-duesseldorf.de >
1999-02-10  2:36             ` Marc Haber
1999-02-10 13:24               ` Stipe Tolj
1999-02-28 23:02                 ` Stipe Tolj
1999-02-28 23:02               ` Marc Haber
1999-02-28 23:02           ` Stipe Tolj
1999-02-28 23:02         ` Marc Haber
1999-02-28 23:02     ` Mumit Khan
1999-02-28 23:02 ` Marc Haber

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).