I didn't do anything to the config files beyond adding support for few new
libraries, so I will leave this for Clint to address.
On Tue, Feb 11, 2014 at 4:14 AM, Hugh Sasse <h...@dmu.ac.uk> wrote:
> OK. Well, I think a build without MinGW would be tricky. I think
> one with MinGW would be achievable. However, at the moment I see a
> contradiction between
>
> AC_CONFIG_FILES([Makedefs:Makedefs.in],)
>
> and the lack of Makedefs.in in the distribution. The existence of
> the line and the absence of the file cannot both be right, whatever
> the platform. I've only done a bit of this sort of thing though.
> I'm wondering if the file is in source control somewhere, but not
> rolled into the distribution?
>
> Also, I note that this has been seen before:
> http://sourceforge.net/mailarchive/message.php?msg_id=3152257
> Which seems to support my hypothesis that this is platform agnostic,
> because it occurs on Debian 3.0.
>
> Hugh
>
> On Mon, 10 Feb 2014, Jafar Al-Gharaibeh wrote:
>
> > Hugh,
> >
> > The catch is "configure.ac" is not used on Windows. We do the build
> with a
> > "static" configuration. You have to change the build process manually to
> > add/drop libraries.
> >
> > --Jafar
> >
> >
> > On Mon, Feb 10, 2014 at 1:33 PM, Hugh Sasse <h...@dmu.ac.uk> wrote:
> >
> > > I'm possibly mistaken, but "here goes nothing":
> > > configure claims to accept --without-pthread (incidentally, not
> > > --without-pthreads) which does turn off the search for pthreads.
> > >
> > > The process fails eventually when looking for Makedefs.in due, I
> suspect,
> > > to:
> > >
> > > $ grep AC_CONFIG_FILES configure.ac
> > > AC_CONFIG_FILES([Makedefs:Makedefs.in],)
> > > which tells AC_OUTPUT to look for the template for Makedefs in
> Makedefs.in
> > >
> > >
> > >
> https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Configuration-Files.html
> > >
> > > I believe, from my reading of that, the above could be rewritten as
> > >
> > > AC_CONFIG_FILES([Makedefs],)
> > >
> > > since it claims .in is a default. However, there seems to be no
> > > Makedefs.in
> > > within the distribution, not according to my abilities with `find`.
> > >
> > > I don't do enough of this to be certain.
> > > Hugh
> > >
> > >
> > > On Mon, 10 Feb 2014, Jafar Al-Gharaibeh wrote:
> > >
> > > > Sergey,
> > > >
> > > > pthreads library (including pthread.h) has been available with the
> > > MinGW
> > > > for the last couple of years at least? Are you using an older MinGW?
> > > >
> > > > If you don't want concurrent threads you can simply comment out:
> > > >
> > > > #define Concurrent 1 // in unicon/config/win32/gcc/define.h
> > > >
> > > > and also comment out -lpthread from makedefs32.top in the same
> directory.
> > > >
> > > > If you want threads and can't find the pthread library in mingw I
> will
> > > ship
> > > > you the necessary files from my machine.
> > > >
> > > > --Jafar
> > > >
> > > >
> > > >
> > > > On Mon, Feb 10, 2014 at 3:39 AM, Sergey Logichev <
> slogic...@yandex.ru
> > > >wrote:
> > > >
> > > > > Hi Clint!
> > > > >
> > > > > Yes, I know what XP is not a good platform. At home I have Windows
> 8.1
> > > but
> > > > > now I am not at home.
> > > > >
> > > > > As I found after investigations in the jungle of Unicon sources *.h
> > > files
> > > > > *pthread.h* is called from *unicon\src\h\sys.h* (line #212):
> > > > >
> > > > > #ifdef HAVE_LIBPTHREAD
> > > > > #if !UNIX || !defined(Audio)
> > > > > #include <pthread.h>
> > > > > #endif /* PthreadCoswitch & ! Audio */
> > > > > #include <semaphore.h>
> > > > > #endif /* HAVE_LIBPTHREAD */
> > > > >
> > > > > At the evening I will try to repeat at Windows 8.1, it's
> interesting
> > > what
> > > > > will be the results?
> > > > >
> > > > > Of course, I have installed Unicon without any troubles from binary
> > > setup.
> > > > > But it was interested for me to make it from sources. It's for
> hackers,
> > > > > sometimes I want to be such person :-)))
> > > > >
> > > > > Problem of compatibility is very complex and I agree with Jafar
> that
> > > it's
> > > > > a very unrealistic to automatically solve it. Things are changed
> all
> > > the
> > > > > time! And as practice shows, it will be even speeded up in the
> future.
> > > I
> > > > > would say that modern programming is an ordered chaos. Such a lot
> of
> > > > > different codes linked in an inconceivable mess. How it works after
> > > all!
> > > > > Nowbody knows!
> > > > >
> > > > > Thank you!
> > > > > Sergey
> > > > >
> > > > > 10.02.2014, 13:24, "Jeffery, Clint (jeffe...@uidaho.edu)" <
> > > > > jeffe...@uidaho.edu>:
> > > > >
> > > > > Sergey,
> > > > >
> > > > >
> > > > >
> > > > > I am sure Jafar will have more intelligent things to say, but I
> will
> > > try
> > > > > to make a couple small observations. Windows XP is liable to give
> you
> > > > > troubles in building Unicon. It will probably run Unicon binaries
> just
> > > > > fine, but building Unicon from source is harder. Did the binaries
> not
> > > work
> > > > > for you for some reason, or do you just prefer to build from
> source?
> > > > >
> > > > >
> > > > >
> > > > > It may be possible to walk you through the configuration failure
> points
> > > > > manually, but I suspect that the current build/configure toolchain
> > > requires
> > > > > Windows 7 or newer. We are continually trying to figure out how to
> > > make the
> > > > > build rules on Windows as stable and portable as on UNIX, but
> Microsoft
> > > > > keeps changing things such that our configure+build toolchain keeps
> > > > > breaking. Old MSYS would not run properly on newer Windows. New
> MSYS
> > > might
> > > > > not run properly on old Windows; it is a mess.
> > > > >
> > > > >
> > > > >
> > > > > I want to rewrite all our build toolchain in Unicon so that we can
> > > control
> > > > > what's going on, but Jafar thinks I am crazy, and his word is law
> on
> > > the
> > > > > Windows Unicon builds, pretty much. :-)
> > > > >
> > > > >
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Clint
> > > > >
> > > > >
> > > > > ------------------------------
> > > > > *From:* Sergey Logichev <slogic...@yandex.ru>
> > > > > *Sent:* Monday, February 10, 2014 1:05 AM
> > > > > *To:* unicon-group@lists.sourceforge.net
> > > > > *Subject:* [Unicon-group] build Unicon under Windows (XP SP3)
> > > > >
> > > > > Hello,
> > > > >
> > > > > As Clinton Jeffery asked I switched my question about Unicon build
> to
> > > > > here. Suppose, Jafar will answer me.
> > > > >
> > > > > I have downloaded Unicon's source code from SVN repositary and
> tried to
> > > > > build it on Windows with help of MinGW (configured as MinGW
> base+MSYS
> > > > > base). But I failed. Below is decription of my troubles:
> > > > >
> > > > > To run make command I created a tiny script "make-unicon.bat":
> > > > >
> > > > > *setlocal*
> > > > > *set path=c:\utils\mingw\bin;c:\utils\mingw\msys\1.0\bin;%path%*
> > > > > *make NT-Configure-GCC*
> > > > > *make Unicon*
> > > > > *endlocal*
> > > > >
> > > > > Below is its output:
> > > > >
> > > > > C:\work\unicon>set
> path=c:\work\unicon\bin;c:\utils\mingw\msys\1.0\bin;
> > > > >
> > > > > C:\work\unicon>make NT-Configure-GCC
> > > > > cd config/win32/gcc && sh config.sh
> > > > >
> > > > > Now remember to add unicon/bin to your path
> > > > > Then run make Unicon to build
> > > > >
> > > > > C:\work\unicon>make Unicon
> > > > > cd src/rtt && make
> > > > > make[1]: Entering directory `/c/work/unicon/src/rtt'
> > > > > makefile:1: ../../makedefs: No such file or directory
> > > > > make[1]: *** No rule to make target `../../makedefs'. Stop.
> > > > > make[1]: Leaving directory `/c/work/unicon/src/rtt'
> > > > > make: *** [Icon-icont] Error 2
> > > > >
> > > > > C:\work\unicon>
> > > > >
> > > > > OK, I have seen message *Now remember to add unicon/bin to your
> path*
> > > and
> > > > > slightly changed my make-unicon.bat
> > > > >
> > > > > *setlocal*
> > > > > *set path=c:\utils\mingw\bin;c:\utils\mingw\msys\1.0\bin;%path%*
> > > > > *make NT-Configure-GCC*
> > > > > *set path=c:\work\unicon\bin;%path%*
> > > > > *make Unicon*
> > > > > *endlocal*
> > > > >
> > > > > Below its output:
> > > > >
> > > > > C:\work\unicon>set
> path=c:\work\unicon\bin;c:\utils\mingw\msys\1.0\bin;
> > > > >
> > > > > C:\work\unicon>make NT-Configure-GCC
> > > > > cd config/win32/gcc && sh config.sh
> > > > >
> > > > > cd config/win32/gcc && sh nt-config.sh
> > > > >
> > > > > Configuring for console build...
> > > > >
> > > > > cd config/win32/gcc && sh config32.sh
> > > > >
> > > > > Running 32-bit build configuration...
> > > > >
> > > > >
> > > > > Done!
> > > > >
> > > > > echo Run "make Unicon" to build
> > > > > Run make Unicon to build
> > > > >
> > > > > C:\work\unicon>set
> > > > >
> path=c:\work\unicon\bin;c:\utils\mingw\bin;c:\utils\mingw\msys\1.0\bin;
> > > > >
> > > > > C:\work\unicon>make Unicon
> > > > > cd src/rtt && make
> > > > > make[1]: Entering directory `/c/work/unicon/src/rtt'
> > > > > gcc -m32 -O2 -D_X86_ -I../gdbm -I../libtp -DRttx -DRTT
> > > > > -DTokDotH=\"../rtt/ltoken.h\" -DNTConsole -c -o rttparse.o
> rttparse
> > > > > c
> > > > > In file included from ../preproc/../h/gsupport.h:16:0,
> > > > > from ../preproc/preproc.h:1,
> > > > > from rtt1.h:1,
> > > > > from rttgram.y:7:
> > > > > ../preproc/../h/../h/sys.h:211:21: fatal error: pthread.h: No such
> > > file or
> > > > > directory
> > > > > #include <pthread.h>
> > > > > ^
> > > > > compilation terminated.
> > > > > make[1]: *** [rttparse.o] Error 1
> > > > > make[1]: Leaving directory `/c/work/unicon/src/rtt'
> > > > > make: *** [Icon-icont] Error 2
> > > > >
> > > > > As I understood file */mingw/include/pthread.h* is missed. Why? And
> > > where
> > > > > I will get it?
> > > > >
> > > > > Best regards,
> > > > > Sergey Logichev
> > > > >
> > > > >
> > > > >
> > > > >
> > >
> ------------------------------------------------------------------------------
> > > > > Managing the Performance of Cloud-Based Applications
> > > > > Take advantage of what the Cloud has to offer - Avoid Common
> Pitfalls.
> > > > > Read the Whitepaper.
> > > > >
> > > > >
> > >
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> > > > > _______________________________________________
> > > > > Unicon-group mailing list
> > > > > Unicon-group@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/unicon-group
> > > > >
> > > > >
> > > >
> > >
> >
>
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group