Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin): msg#00006

apache.logging.log4cxx.user

Subject: Re: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin)

Jwahar Bammi wrote:
I cant say that I have compiled for a pure MingW environment, but I would
pull the Cygnus libpthread for win32, specify that for thread and it should
move the build ahead.

That's the right solution. libpthread is intended for use with either
Cygwin or Mingw. See their page and install it.

The log4cxx configure script should be smart enough to detect all the
things he reported though.

--joel sherrill

Jwahar Bammi
Memento, Inc.
bammi@xxxxxxxxxxxxxxx

-----Original Message-----
From: Enno Borgsteede [mailto:ennoborg@xxxxxxxxx] Sent: Sunday, December 05, 2004 10:20 AM
To: log4cxx-user@xxxxxxxxxxxxxxxxxx
Subject: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin)

Hi,

I'm trying to build version 0.9.7 under MinGW on XP Home. I'm running MinGW with MSYS and msysDTK, not CYGWIN. Searching the list archive didn't provide a solution, so here's a summury of what I tried.

1. I found that configure can't figure out whether threads are available. It stops with an error, but I can avoid that by specifying --with-threads=no on the command line.
2. Then compilation stops, because the type int64_t is not recognized. I can cure that too, by defining int64_t as __int64 in config.h.
3. I can't easily get past the third hurdle, which is the compiler complaining that the thread() object does not exist. I can't find an easy cure for that, so I'm stuck here.

I can think of several options, but maybe someone else has tried this before, and give me directions:
1. Is --with-threads=no the right choice?
2. I use the latest versions of MinGW and MSYS. Would it help if I upgrade the compiler?
I prefer not to upgrade to cygwin, because I like the MinGW philosophy better.

thanks,

Enno





--
Joel Sherrill, Ph.D. Director of Research & Development
joel@xxxxxxxxxxx On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation