public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Can not compile Insite 6.0 on Solaris
@ 2004-02-27 16:40 Spektor, Leonid (MTO)
  2004-02-27 17:00 ` keiths
  0 siblings, 1 reply; 2+ messages in thread
From: Spektor, Leonid (MTO) @ 2004-02-27 16:40 UTC (permalink / raw)
  To: 'insight@sources.redhat.com'; +Cc: Batchelor, Balfour (MTO)

We downloaded Insite version 6.0 (and even earlier versions) on our Solaris
development platform.

However, compilation failed in the following modules:

	Making all in plugins
	Making all in rhabout
	make: Fatal error in reader: Makefile, line 59: Unexpected end of
line seen
	Current working directory
/var/spool/pkg/insight-6.0/gdb/gdbtk/plugins/rhabout
	*** Error code 1
	make: Fatal error: Command failed for target `all-recursive'
	Current working directory
/var/spool/pkg/insight-6.0/gdb/gdbtk/plugins
	*** Error code 1
	make: Fatal error: Command failed for target `all-recursive'
	Current working directory /var/spool/pkg/insight-6.0/gdb/gdbtk
	*** Error code 1
	make: Fatal error: Command failed for target `subdir_do'
	Current working directory /var/spool/pkg/insight-6.0/gdb
	*** Error code 1
	make: Fatal error: Command failed for target `all'
	Current working directory /var/spool/pkg/insight-6.0/gdb
	*** Error code 1
	make: Fatal error: Command failed for target `all-gdb'
	root@mtostuas23 #

Close examination of Makefile  in one of the module revealed usage of
non-standard Makefile features that prevent our make utility to complete its
job:

Directory and file .... /insight-6.0/gdb/gdbtk/plugins/rhabout/Makefile

ifeq ($(TCL_SHLIB_SUFFIX),.dll)
CYGWIN_CFLAGS=-I$(srcdir)/../../../../tcl/win
else
CYGWIN_CFLAGS=
endif

Do we need a special version of make utility to complete compilation process
?

Please, advice.

  Leonid Spektor
  leonid.spektor@mto.gov.on.ca



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

* Re: Can not compile Insite 6.0 on Solaris
  2004-02-27 16:40 Can not compile Insite 6.0 on Solaris Spektor, Leonid (MTO)
@ 2004-02-27 17:00 ` keiths
  0 siblings, 0 replies; 2+ messages in thread
From: keiths @ 2004-02-27 17:00 UTC (permalink / raw)
  To: Spektor, Leonid (MTO)
  Cc: 'insight@sources.redhat.com', Batchelor, Balfour (MTO)

Quoting "Spektor, Leonid (MTO)" <Leonid.Spektor@mto.gov.on.ca>:

> ifeq ($(TCL_SHLIB_SUFFIX),.dll)
> CYGWIN_CFLAGS=-I$(srcdir)/../../../../tcl/win
> else
> CYGWIN_CFLAGS=
> endif

Sadly, yes, this is a GNU-ism. You've three choices:

1) Remove the plugins directory (nobody's ever written one anyway)
2) Fix the Makefiles so that it is compatible with Sun's make utility
3) Install and use GNU make to make GNU tools

Ideally, I would like to see you do #2 (and submit the diffs here! :-), but
honestly, the easiest thing is to just get GNU make and use that to build Insight.
You wouldn't have to use it for anything else.

As it is, I tested that code on Linux and Cygwin (and maybe even Solaris). But I
am sure that it never occurred to me to try anything but GNU Make. Alas, I no
longer have access to a Solaris box to try any of this.

Keith


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

end of thread, other threads:[~2004-02-27 17:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-27 16:40 Can not compile Insite 6.0 on Solaris Spektor, Leonid (MTO)
2004-02-27 17:00 ` keiths

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