git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Compile fix for SCO OPenServer

From
BGBoyd Lynn Gerber <gerberb@zenez.com>
Date
Jul 31, 2008, 00:00 UTC
Message-ID
<alpine.LNX.1.10.0807301747160.13032@xenau.zenez.com>
In-Reply-To
<20080730234455.GN10399@yugib.highrise.ca>
On Wed, 30 Jul 2008, Aidan Van Dyk wrote:
Show 18 quoted lines
> * Boyd Lynn Gerber <gerberb@zenez.com> [080730 19:30]:
> > I have m4-1.4.3 at 
> > 
> > ftp://ftp.zenez.com/pub/zenez/prgms/m4-1.4.3-osr6-all.tar.gz
> > 
> > I really have to be able to use configure for most of my OpenSource 
> > Projects for SCO OS's.
> > 
> > I made the changes so that most things work with the auto tools.  
> 
> I'm not a SCO guru by any means...
> 
> I'm just a user on someone else's SCO machine, just trying to make sure
> that the software I write is "fairly portable"...
> 
> I'm willing to carry a good and useful tool (like git) in my home
> directory in that endeavour, but I'm not carrying all of the GNU stack
> in my home directory so I can run configure git is a bit much ;-)
That make sense.  All though m4 is

test5 > l /usr/local/bin/m4 -rwxr-xr-x 1 gerberb zenez 280524 Jul 23 2005 /usr/local/bin/m4

Which is not that big. I have it in my ~/.bin/ on my clients machines. You really need a good m4 for most things. Sendmail expecially. Also for the latest bind with the DNS security fix. I some times need bc as well.

test5 > l /usr/local/bin/bc -rwxr-xr-x 1 bin bin 85088 May 19 17:20 /usr/local/bin/bc

Show 10 quoted lines
> > I did a VM install of OpenServer 6 to try things out.  I was able to get 
> > your -Wall failure, but once I ran the CC=cc CXX=CC ./configure I was able 
> > to run gmake without any errors. I did have to install the M4 from above 
> > to get configure to work.  So, the straight out of the box install has to 
> > have gnu m4 to run configure. 
> 
> So configure.ac must have some magic in it that allows configure to
> notice -Wall doesn't work.  You can see what it choose in
> config.mak.autogen I think.  But I'm pretty glad for the kbuild style
> Makefile in git not requiring autoconf/automake/etc.
I do not see anything really obvious, but below is config.mak.autogen

test5 > cat config.mak.autogen # git Makefile configuration, included in main Makefile # config.mak.autogen. Generated from config.mak.in:config.mak.append by configure.

CC = cc CFLAGS = -Kalloca -Kthread AR = gar TAR = gtar #INSTALL = @INSTALL@ # needs install-sh or install.sh in sources TCLTK_PATH = wish

prefix = /usr/local exec_prefix = ${prefix} bindir = ${exec_prefix}/bin #gitexecdir = ${exec_prefix}/libexec/git-core/ datarootdir = @datarootdir@ template_dir = ${prefix}/share/git-core/templates/

mandir=${prefix}/man
srcdir = .

export exec_prefix mandir export srcdir VPATH

ASCIIDOC8= NEEDS_SSL_WITH_CRYPTO= NO_OPENSSL= NO_CURL= NO_EXPAT= NEEDS_LIBICONV= NEEDS_SOCKET=YesPlease NO_SYS_SELECT_H= NO_D_INO_IN_DIRENT= NO_D_TYPE_IN_DIRENT=YesPlease NO_SOCKADDR_STORAGE= NO_IPV6= NO_C99_FORMAT= NO_STRCASESTR=YesPlease NO_MEMMEM=YesPlease NO_STRLCPY= NO_STRTOUMAX= NO_SETENV= NO_UNSETENV= NO_MKDTEMP=YesPlease NO_ICONV= OLD_ICONV= NO_DEFLATE_BOUND= FREAD_READS_DIRECTORIES=UnfortunatelyYes SNPRINTF_RETURNS_BOGUS=UnfortunatelyYes # config.mak.append. Generated by configure.

Show 9 quoted lines
> > -g and -O2 are mutually exclusive.  You can have either one but not both.
> 
> Yes, and I think the default to cc matches -g, not -O2, hence my
> failures unless setting -O2.
> 
> > I do have tcl and tk
> 
> I'm sure... I might even find it burried somewhere on this machine too,
> but I have no real need for it.
OK.

So what do you think we need to have. I really do not see the need for __OPENSERVER__. Do you?

-- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047

Previous: Aidan Van DykNext: Aidan Van Dyk
Message 11 of 14 in “Compile fix for SCO OpenServer”
  1. Compile fix for SCO OpenServerAidan Van Dyk, Dec 5, 2007
  2. Compile fix for SCO OPenServerAidan Van Dyk, Jul 30, 2008
  3. Junio C HamanoJul 30, 2008
  4. Boyd Lynn GerberJul 30, 2008
  5. Junio C HamanoJul 30, 2008
  6. Aidan Van DykJul 30, 2008
  7. Boyd Lynn GerberJul 30, 2008
  8. Aidan Van DykJul 30, 2008
  9. Boyd Lynn GerberJul 30, 2008
  10. Aidan Van DykJul 30, 2008
  11. Boyd Lynn GerberJul 31, 2008
  12. Aidan Van DykJul 31, 2008
  13. Boyd Lynn GerberJul 31, 2008
  14. Boyd Lynn GerberJul 30, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.