[Mingw-w64-public] Newest Win-Builds Package Mingw64 Dev
I'm putting together a script that will install Win-Builds for me on a cygwin based platform. It is not completed because there are a few details I am blurred about and I'm not sure what changes have been incorporated into the recent scripts or programs. FIRST:It is inconvenient to have to reload all files to get to the instll section for testing. Can this be avoided, in the cript by telling yypkg, which I'm not familiar with, to only install because everthing is alredy downloaded? The below is the inital version: #! /bin/bash BITS=32 ARCH=i686 VERS=1.3.0 export YYPREFIX=/opt/windows_32 export PANGO_CACHE=${YYPREFIX}/etc/pango/pango.modules TOPDIR=/cygdrive/c/win-apps/win-builds # Top temp dir for holding install files mkdir -p $TOPDIR cd$TOPDIR || exit 3 # # Use cygwin's wget package to fetch win-builds bundle # /usr/bin/wget http://win-builds.org/${VERS}/win-builds-bundle-${VERS}.zip /cygdrive/c/Program\ Files/7-Zip/7z.exe x win-builds-bundle-${VERS}.zip cd win-builds-bundle || exit 1 # # Get two programs fixed for linking which enables Windows' XP's to work. # /usr/bin/wget http://notk.org/~adrien/yypkg-no-external-mklink.exe; mv yypkg-no-external-mklink.exe yypkg.exe /usr/bin/wget http://notk.org/~adrien/sherpa-no-external-mklink.exe; mv sherpa-no-external-mklink.exe sherpa.exe # # Get two scripts created for installing win-builds on cygwin # # I'm not sure if these are still valid rm msys-install.sh /usr/bin/wget http://notk.org/~adrien/win-builds-cygwin/msys-install.sh rm -v win-builds-switch.sh /usr/bin/wget http://notk.org/~adrien/win-builds-cygwin/win-builds-switch.sh # # Begin main installation process: # # It gets fuzzy after this I think the below is correct? ./msys-cygwin-install.sh i686 # # The above results in the following failure just after all files have completed downloading. . Installing atk-2.8.0-1-i686-w64-mingw32.txz...Fatal error: exception Unix.Unix_error(20, create_process, C:\cygwin\bin\bsdtar.exe) The $? value is 2. Any ideas about how to fix this? Thank You. -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Newest Win-Builds Package Mingw64 Dev
Adrien Nader wrote: .. skipped for brevity ... You've actually made me notice an issue with the cygwin/msys installer: it doesn't copy bsdtar and wget to bin/ (and liblzma). When you say specify the bin/directory, I suppose you mean /opt/windows_32/bin because if you cp wget.exe to cygwin's /bin you'd overwrite the cygwin compatible wget.exe. I note that msys-cygwin-install.sh has: cp yypkg.exe sherpa.exe win-builds-switch.sh /bin Which is in cygwin space, but there are not collisions with existing filenames. Should something like this be done? cp bsdtar.exe wget.exe liblzma-5.dll ${YYPREFIX}/bin to copy the executables into /opt/windows_32/bin ? Regards -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Newest Win-Builds Package Mingw64 Dev
Adrien Nader wrote: ... snipped part Hmm, I'm sorry if I didn't make it clear: all the fixes for installation under cygwin and XP have been merged. If you download http://win-builds.org/stable/win-builds-bundle-1.3.0.zip and use its files, you should have nothing to do besides running msys-cygwin-install.sh. Now installing is easy, smooth, and less error prone. Thanks Everthing appears to install successfully. Here is an output from install on my system: I don't think the Fatal Errors are really fatal as the tests I ran (see the bottom of this message) run successfully. The Sys_error(Invalid argument) rings a bell, but I forgot what it was about. Tail of installation process output: . . Installing zlib-1.2.8-1-i686-w64-mingw32.txz... DONE -- Fatal error: exception Sys_error(Invalid argument) Called from file pervasives.ml, line 444, characters 30-33 Called from file std_exit.ml, line 16, characters 8-20 Updating fontconfig's cache (takes lot of time and memory on Windows = 7). -- Fatal error: exception Sys_error(Invalid argument) Called from file pervasives.ml, line 444, characters 30-33 Called from file std_exit.ml, line 16, characters 8-20 Updating pango's module cache. -- Fatal error: exception Sys_error(Invalid argument) Called from file pervasives.ml, line 444, characters 30-33 Called from file std_exit.ml, line 16, characters 8-20 Updating gdk's pixbuf cache..; IMPOSSIBLE on Cygwin on XP/2k3! Please run 'gdk-pixbuf-query-loaders --update-cache' from a new cmd.exe. Updating gtk's immodules cache. Win-builds has been installed for i686. However no setting has been changed on the computer. Remember to select a environment as described at http://win-builds.org/1.3.0/msys-cygwin.html . ** Manually ran: C:\cygwin\opt\windows_32\bingdk-pixbuf-query-loaders --update-cache TESTING: PATH=/opt/windows_32/bin cd${PATH%%:*} # assume 1st PATH component gtk-demo Successfull. fc-cache -v Successfull. pango-querymodules Successfull. gtk-query-immodules-2.0 Successfull. gdk-pixbuf-query-loaders Error# Thie must be ran from a cmd.exe console: cmd.exe then enter -- /opt/windows_32/bin/gdk-pixbuf-query-loaders Then runs successfully. I suspect an enironment value might cause this. Regards -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Win-builds 1.3.0 - stable release
Great!. I installed the last version from using programs ? in win-builds-bundle-1.3-rc1.zip and using msys-install.sh and win-builds-switch.sh. Can I get the new version by running the existing msys-install.sh I have and will yypkg know what to do ? Regards Adrien Nader adr...@notk.org wrote: Hi, Here is the 1.3.0 release of the win-builds.org project. As a stable relase, only security fixes and severe bug fixes will cause updates. This project creates a system to build and distribute for Windows from almost any system: *native* Windows, MSYS*, Cygwin and Linux. Everything is done through a portable package manager for easy installation, maintenance and update. Between the 1.2 and 1.3 release, the following changes have been done: - checked the 64b compilers - GCC 4.8.2, mingw-w64 3.1.0, updated most packages - added dbus, winpthreads, x264 - installer scripts for native windows and msys/cygwin - emulation of symlinks on windows - improved documentation Thanks to everyone who took part in this development cycle with patches, ideas and bug reports. Website: http://win-builds.org Bug Tracker: http://win-builds.org/bugs/ Roadmap (partial): http://win-builds.org/bugs/index.php?do=roadmapproject=1 -- Adrien Nader -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] win-builds config options
Adrien Nader adr...@notk.org wrote: On Wed, Jan 08, 2014, wynfi...@gmail.com wrote: I brought up a MS CMD console and ran the followingm, which I think is what you meant by the corresponding exe files. C:\win-apps\yypkg\win-builds-bundle\win-builds-bundleC:\cygwin\opt\windows_32\bin\fc-cache C:\win-apps\yypkg\win-builds-bundle\win-builds-bundleC:\cygwin\opt\windows_32\bin\pango-querymodules.exe C:\cygwin\opt\windows_32\etc\pango\pango.modules C:\win-apps\yypkg\win-builds-bundle\win-builds-bundleC:\cygwin\opt\windows_32\bin\gdk-pixbuf-query-loaders --update-cache C:\win-apps\yypkg\win-builds-bundle\win-builds-bundleC:\cygwin\opt\windows_32\bin\gdk-query-immodules-2.0 --update-cache C:\win-apps\yypkg\win-builds-bundle\win-builds-bundleC:\cygwin\opt\windows_32\bin\gtk-query-immodules-2.0 --update-cache C:\win-apps\yypkg\win-builds-bundle\win-builds-bundle --- Since no error messages were displayed I assume that these ran o.k., but they ran very fast, so I can't guarantee successfull completion. Does Microsoft Windows have a return code code variable, like we do in the Unix world -- $? ? If the above were successfull, then I'd say that the problem was most likely a cygwin environment conflict. How does it look to you? Thanks for the test. You can easily test that these commands succeed by running gtk-demo and elementary-config (or elementary-test). Without these commands, gtk-demo is unable to display any character and will instead show squares. As for elementary-config, it would take a longer time to start (that one might be difficult to assess since on windows XP, it's actually fast and you can't compare before/after). Another thing you can do is run these: fc-cache -v pango-querymodules gdk-pixbuf-query-loaders gtk-query-immodules If you get output on screen, you're good: the --update-cache argument is mostly equivalent to redirecting their output to a given file. Without it, you will get the output on stdout. -- Adrien Nader -- I ran all four of the commands you mentioned above. Three were successfull from cygwin consoles and the gdk-pixbuf-query-loaders causes a seg-fault. $ ./gdk-pixbuf-query-loaders zsh: segmentation fault ./gdk-pixbuf-query-loaders $ ./gdk-pixbuf-query-loaders ../lib/gdk-pixbuf-2.0/2.10.0/loaders.cache zsh: segmentation fault ./gdk-pixbuf-query-loaders ../lib/gdk-pixbuf-2.0/2.10.0/loaders.cache # BUT C:\cygwin\opt\windows_32\bingdk-pixbuf-query-loaders C:\cygwin\opt\windows_32\lib\gdk-pixbuf-2.0\2.10.0\loaders.cache Appears to run successfully in a MS command cosole. -- Also good news is that the gtk-demo ran successfully. The first time it did give me a message to run ?X to init ?y (Sorry lost screen shot). But, thereafter it runs well each time I tried it for about 3 tries. Cheers -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] win-builds config options
Adrien Nader adr...@notk.org wrote: skipped I've installed pango in my cygwin installation and, combined with an older version of the msys-install.sh script, I can see the issue. Basically, Can you try with this file instead: http://cgit.notk.org/adrien/yypkg/win-builds.git/plain/msys-install.sh You will have to edit it and replace '@@VERSION@@' with '1.3-rc1'. I've done quite a lot of changes to it and it should be much smoother under cygwin now. I still need to check a couple things to detect whether the OS is 64b-capable or not but besides that, everything works. While at it, you can grab the latest version of 'win-builds-switch.sh' too: http://cgit.notk.org/adrien/yypkg/win-builds.git/plain/win-builds-switch.sh Regards, Adrien Nader I downloaded both the msys-install.sh and manually changed VERSION as directed and ran it. It segment faults on my platform. Here is the output Installing zlib-1.2.8-1-i686-w64-mingw32.txz... DONE Fatal error: exception Sys_error(Invalid argument) Called from file pervasives.ml, line 444, characters 30-33 Called from file std_exit.ml, line 16, characters 8-20 Updating fontconfig's cache (this is slow and uses lots of RAM on Windows = 7). Fatal error: exception Sys_error(Invalid argument) Called from file pervasives.ml, line 444, characters 30-33 Called from file std_exit.ml, line 16, characters 8-20 Updating pango's module cache. Fatal error: exception Sys_error(Invalid argument) Called from file pervasives.ml, line 444, characters 30-33 Called from file std_exit.ml, line 16, characters 8-20 Updating gdk's pixbuf cache. ./msys-install.sh: line 22: 440 Segmentation fault gdk-pixbuf-query-loaders --update-cache $? = 139 -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Shell
Using the windows cmd box terminal console, then on Win-Buids which is using MinGW64. How do you compile a source package which comes with a configure shell script made for the *nix world? Regards -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] win-builds config options
Vincent Torri vincent.to...@gmail.com wrote: hey Basically, I installed MSYS (and only it, not MinGW) with the installer from MinGW.org, then i installed win-builds. See : http://win-builds.org/stable/#_from_windows_for_msys (I'm the one who provided to Adrien the first draft of the installation of win-builds in MSYS. So, no Cygwin at all :) Why do you express that statement as a smiley ? Cygwin and the tools it provides are very helpful for many computational needs. and about the libraries : the Enlightenment Fundation Libraries (see http://www.enlightenment.org/ ) or the autotools :) Thanks for the URL. I will check it out. What is the package you are trying to compile ? I eventually want to build the Linphone application. (https://www.linphone.org/) It's current MS Windows port is out of date, crashes spuriously, and is not current. I do not wish to use Skype and consider it's use of private data is not desirable. However, I am starting with a simple GNU library, readline, to get the hang of using MinGW64 Win-Builds environment. Since many applications and lbraries from the *nix platform use a configure script, a shell is needed to run it. Does such a shell exist which uses Microsfot pathname formats? regards Vincent Cheers -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] win-builds config options
Vincent Torri wrote: Hey Note that I have no problem to compile libraries using MSYS and Win-Builds. Vincent Torri That's nice Vicent. Please tell us what libraries or kinds of libraries are you talking about? And... are you invoking the MSYS/Win-Builds configure build chain from within a Cygwin environment or not? Are you using provided configure shell scripts with the libraries? What I'm am trying for find out how to do, is complile a package which was originally developed on Linux to a Microsoft Windows platform, using the standard toolchain provided with the Win-Builds' environment. Please let us know. Thanks REF: On Tue, Dec 24, 2013 at 9:32 AM, Adrien Nader wrote: Hi, On Tue, Dec 24, 2013, wrote: I need some advice on configuration options for building the GNU readline library. I am new to win-builds and mingw64 Platform is: MS Windows XP SP3. I have the latest cygwin installed and the new win-builds separately installed. When invoking the configure script which comes with GNU readline source I do the following: wb=/cgydrive/c/win-builds-w32 PATH=$wb/bin:.:$wb/local/bin:/bin:/usr/local/bin:$wds:$s PKG_CONFIG_LIBDIR=/cygdrive/c/win-builds-32/lib/pkgconfig I don't think you can use the compilers provided by win-builds directly under cygwin. As you've already seen, they expect windows-style paths while cygwin will hand them posix-style ones. I haven't checked yet but you should be able to use the cross-compilers provided by cygwin as mingw64-i686-gcc(-g++) or with x86_64 instead of i686. This means you wouldn't prepend $wb/bin to your PATH and probably not put $wb/local/bin either. The restriction is that the compilers from win-builds and from cygwin must have compatible configurations, especially for C++. This mostly means sjlj exception on 32b and SEH ones on 64b; which are the default settings. Your current pkg-config and libdir settings seem good. To sum up, you need the cygwin compiler (installed and default value for PATH) and the win-builds binaries (set PKG_CONFIG_LIBDIR and --libdir). ./configure --host=i686-w64-mingw32 --prefix=$wb/local --libexecdir=$wb/sbin --libdir=$wb/lib --includedir=$wb/include You probably don't need to set all these paths (in particular libexecdir); configure should set most of them properly by itself. Start with only --host, --prefix and --libdir. Add --includedir if some includes are not found while they're in this directory. I am not sure if the --host=i686-w64-mingw32 is valide for the win-builds distribution. It is the right triplet for 32 bits. The configure script is finding and using the Cygwin environment, which I think is not want should be done. I guess it tries to use the win-builds-provided GCC but fails to do so because of paths and fallbacks to the cygwin one. I am attaching the full output the configure script as a file. If you continue to have issues, could you send me the config.log file? Don't send it on the mailing-list since it is usually a fairly big file which makes up for a fair amount of data when multiplied by the number of list subscribers. Regards, Adrien nader -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ #EOM -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] win-builds config options
I need some advice on configuration options for building the GNU readline library. I am new to win-builds and mingw64 Platform is: MS Windows XP SP3. I have the latest cygwin installed and the new win-builds separately installed. When invoking the configure script which comes with GNU readline source I do the following: wb=/cgydrive/c/win-builds-w32 PATH=$wb/bin:.:$wb/local/bin:/bin:/usr/local/bin:$wds:$s PKG_CONFIG_LIBDIR=/cygdrive/c/win-builds-32/lib/pkgconfig ./configure --host=i686-w64-mingw32 --prefix=$wb/local --libexecdir=$wb/sbin --libdir=$wb/lib --includedir=$wb/include I am not sure if the --host=i686-w64-mingw32 is valide for the win-builds distribution. The configure script is finding and using the Cygwin environment, which I think is not want should be done. I am attaching the full output the configure script as a file. checking build system type... i686-pc-cygwin checking host system type... i686-w64-mingw32 Beginning configuration for readline-6.2 for i686-w64-mingw32 checking whether make sets $(MAKE)... yes checking for i686-w64-mingw32-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether gcc needs -traditional... no checking for a BSD-compatible install... /bin/install -c checking for ar... ar checking for i686-w64-mingw32-ranlib... no checking for ranlib... ranlib checking for an ANSI C-conforming const... yes checking for function prototypes... yes checking whether char is unsigned... no checking for working volatile... yes checking return type of signal handlers... void checking for size_t... yes checking for ssize_t... yes checking for ANSI C header files... (cached) yes checking whether stat file-mode macros are broken... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for fcntl... yes checking for kill... yes checking for lstat... yes checking for memmove... yes checking for putenv... yes checking for select... yes checking for setenv... yes checking for setlocale... yes checking for strcasecmp... yes checking for strpbrk... yes checking for tcgetattr... yes checking for vsnprintf... yes checking for isascii... yes checking for isxdigit... yes checking for getpwent... yes checking for getpwnam... yes checking for getpwuid... yes checking for working strcoll... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for memory.h... (cached) yes checking termcap.h usability... no checking termcap.h presence... no checking for termcap.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sys/pte.h usability... no checking sys/pte.h presence... no checking for sys/pte.h... no checking sys/stream.h usability... no checking sys/stream.h presence... no checking for sys/stream.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for sys/ptem.h... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no
Re: [Mingw-w64-public] Win-Builds
Adrien, the last set of sherpa and yypkg with no-external-mklink successfully installed and build my hello world test program successfully as well. I'll go on to do more testing. Apparently ../win-builds-32/gcc knows where to find the includes and libraries, so no option settings were required. Like ming64, what are enviroment variables are required, available or recommended for the Win-Builds usage. Are there any required compiler options to build on Windows (XP etc)? Cheers -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Win-Builds
I followed your instructions. All downloading is successful. But, I'm getting a and the system gave me a invalid data in the reparse point error as follows: Installing mingw-w64-v3.0.0-1-i686-w64-mingw32-i686-w64-mingw32.txz...Fatal error: exception Failure(DeviceIoControl(FSCTL_SET_REPARSE_POINT), The data present in the reparse point buffer is invalid.) Here is some more detail of the run. C:\win-apps\yypkg\win-builds-bundlesherpa -install all 56/56 packages available after filtering through predicates. Downloading atk-2.8.0-1-i686-w64-mingw32.txz... DONE Downloading binutils-2.23.2-2-i686-w64-mingw32-i686-w64-mingw32.txz... DONE . . Installing fontconfig-2.10.93-1-i686-w64-mingw32.txz...Skipping symlink etc/fonts/conf.d/10-scale-bitmap-fonts.conf - ../../../../../../../opt/windows_32/etc/fonts/conf.avail/10-scale-bitmap-fonts.conf: ENOENT . . Skipping symlink share/fontconfig/conf.avail - ../../../../../../opt/windows_32/etc/fonts/conf.avail: ENOENT DONE . . Skipping symlink bin/i686-w64-mingw32-g77 - i686-w64-mingw32-gfortran-4.8.2 : ENOENT . Skipping symlink bin/i686-w64-mingw32-g95 - i686-w64-mingw32-gfortran-4.8.2 : ENOENT . Skipping symlink bin/i686-w64-mingw32-gfortran - i686-w64-mingw32-gfortran-4.8.2: ENOENT DONE . . Installing mingw-w64-v3.0.0-1-i686-w64-mingw32-i686-w64-mingw32.txz...Fatal error: exception Failure(DeviceIoControl(FSCTL_SET_REPARSE_POINT), The data present in the reparse point buffer is invalid.) C:\win-apps\yypkg\win-builds-bundle Adrien Nader wrote: . In order to test this verion which doesn't rely on mklink.exe, here are _all_ the steps you need to do: 1) follow the instruictions on http://win-builds.org/stable/ 2) after extracting the zip file and before running any other command, download these two files: http://notk.org/~adrien/sherpa-no-external-mklink.exe http://notk.org/~adrien/yypkg-no-external-mklink.exe 3) rename them and overwrite the sherpa.exe and yypkg.exe files which are in win-builds-bundle-1.3-beta3.zip. These are the full steps which I've done myself a few minutes ago. Sorry for the stupid mistake; I shouldn't send anything after 11pm. -- Sorry to have you up so late. Your efforts are very much appreciated. -- -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Win-Builds
Re: It took a bit more time and (much more sweat) than expected but I've implemented the revelant code straight in yypkg. There is test binary with this change which is available at: http://notk.org/~adrien/yypkg-no-external-mklink.exe Could you test it on XP and tell me whether it works and solves the failures you had? (well, it will certainly solve that issue but I need to be sure it doesn't introduce a new one :P ) Hi Adrian. I, as one of the 500 millions users, still using Microsoft Windows XP, appreciate you efforts in making your Win-builds installable and usable. I downloaded and tried the new yypkg-no-external-mklink.exe you kindly built and ran it. See the attached test file for a list output in the cmd window of its progress. There is still a reference to mklink hidden somewhere in the logic somewhere. The install process aborted with Installing gtk+2-2.24.20-1-i686-w64-mingw32.txz...'mklink' (mklink not a recognized cmd) Fatal error: exception Failure(mklink /J \doc/gtk+-2.24.20/gail-libgail-util\ \docgtk+-2.24.20/../../share/gtk-doc/html/gail-libgail-util\ returned 1 .) I'll attach the text file showing the full load/install run. RegardsMicrosoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\cd C:\win-apps\yypkg\win-builds-bundle C:\win-apps\yypkg\win-builds-bundleset YYPREFIX=C:/win-builds-32 C:\win-apps\yypkg\win-builds-bundleyypkg-no-external-mklink -init C:\win-apps\yypkg\win-builds-bundleyypkg-no-external-mklink -config -setpreds host=i686-w64-mingw32 C:\win-apps\yypkg\win-builds-bundleyypkg-no-external-mklink -config -setpreds target=i686-w64-mingw32 C:\win-apps\yypkg\win-builds-bundlesherpa -set-mirror http://win-builds.org/1.3 -beta3/packages/windows_32 C:\win-apps\yypkg\win-builds-bundlesherpa -install all Downloading atk-2.8.0-1-i686-w64-mingw32.txz... DONE Downloading binutils-2.23.2-2-i686-w64-mingw32-i686-w64-mingw32.txz... DONE Downloading c-ares-1.10.0-1-i686-w64-mingw32.txz... DONE Downloading ca-certificates-20130906-1-i686-w64-mingw32.txz... DONE Downloading cairo-1.12.14-1-i686-w64-mingw32.txz... DONE Downloading curl-7.31.0-1-i686-w64-mingw32.txz... DONE Downloading dbus-1.6.12-1-i686-w64-mingw32.txz... DONE Downloading ecore-1.7.9-1-i686-w64-mingw32.txz... DONE Downloading edje-1.7.9-1-i686-w64-mingw32.txz... DONE Downloading eet-1.7.9-1-i686-w64-mingw32.txz... DONE Downloading eina-1.7.9-1-i686-w64-mingw32.txz... DONE Downloading elementary-1.7.9-1-i686-w64-mingw32.txz... DONE Downloading embryo-1.7.9-1-i686-w64-mingw32.txz... DONE Downloading evas-1.7.9-1-i686-w64-mingw32.txz... DONE Downloading evil-1.7.9-1-i686-w64-mingw32.txz... DONE Downloading expat-2.1.0-1-i686-w64-mingw32.txz... DONE Downloading fontconfig-2.10.93-1-i686-w64-mingw32.txz... DONE Downloading freetype-2.5.0.1-1-i686-w64-mingw32.txz... DONE Downloading gcc-4.8.2-1-i686-w64-mingw32-i686-w64-mingw32.txz... DONE Downloading gcc-g++-4.8.2-1-i686-w64-mingw32-i686-w64-mingw32.txz... DONE Downloading gdk-pixbuf2-2.28.2-1-i686-w64-mingw32.txz... DONE Downloading gettext-0.18.3.1-2-i686-w64-mingw32.txz... DONE Downloading giflib-4.1.6-1-i686-w64-mingw32.txz... DONE Downloading glib-networking-2.36.2-1-i686-w64-mingw32.txz... DONE Downloading glib2-2.36.4-1-i686-w64-mingw32.txz... DONE Downloading gmp-5.1.3-1-i686-w64-mingw32.txz... DONE Downloading gnutls-3.1.16-1-i686-w64-mingw32.txz... DONE Downloading gperf-3.0.4-1-i686-w64-mingw32.txz... DONE Downloading gtk+2-2.24.20-1-i686-w64-mingw32.txz... DONE Downloading icu4c-51.2-1-i686-w64-mingw32.txz... DONE Downloading libarchive-3.1.2-1-i686-w64-mingw32.txz... DONE Downloading libffi-3.0.13-2-i686-w64-mingw32.txz... DONE Downloading libjpeg-v8a-1-i686-w64-mingw32.txz... DONE Downloading libmpc-0.8.2-2-i686-w64-mingw32.txz... DONE Downloading libogg-1.3.0-1-i686-w64-mingw32.txz... DONE Downloading libpng-1.4.12-1-i686-w64-mingw32.txz... DONE Downloading libsoup-2.42.2-1-i686-w64-mingw32.txz... DONE Downloading libtheora-1.1.1-1-i686-w64-mingw32.txz... DONE Downloading libtiff-3.9.7-1-i686-w64-mingw32.txz... DONE Downloading libvorbis-1.3.3-1-i686-w64-mingw32.txz... DONE Downloading libxml2-2.9.1-1-i686-w64-mingw32.txz... DONE Downloading lua-5.1.5-1-i686-w64-mingw32.txz... DONE Downloading mingw-w64-v3.0.0-1-i686-w64-mingw32-i686-w64-mingw32.txz... DONE Downloading mpfr-3.1.2-1-i686-w64-mingw32.txz... DONE Downloading nettle-2.7.1-1-i686-w64-mingw32.txz... DONE Downloading openssl-1.0.1e-1-i686-w64-mingw32.txz... DONE Downloading pango-1.34.1-1-i686-w64-mingw32.txz... DONE Downloading pixman-0.30.2-1-i686-w64-mingw32.txz... DONE Downloading pkg-config-0.25-1-i686-w64-mingw32.txz... DONE Downloading sqlite-3.7.17-1-i686-w64-mingw32.txz... DONE Downloading wget-1.14-2-i686-w64-mingw32.txz... DONE Downloading win-iconv-0.0.6-1-i686-w64-mingw32.txz... DONE Downloading winpthreads-v3.0.0-1-i686-w64-mingw32.txz... DONE Downloading x264-20131101-1-i686-w64-mingw32.txz... DONE Downloading
Re: [Mingw-w64-public] Win-Builds
What operating system and version you are building on? What source/date/version of yypkg are you using? What is the date of the sherpa command? The above information is important in many cases. You should supply it. -- cat fa boost.subscrib...@gmail.com wrote: When I run sherpa -install all , the following message displays: Unknown error with field `version'. Unknown error with field `metadata'. Unknown error with field `pkglist'. Fatal error: exception Pre_sexp.Of_sexp_error(_, _) I have done all these steps. set YYPREFIX=C:/win-builds-32 yypkg -init yypkg -config -setpreds host=i686-w64-mingw32 yypkg -config -setpreds target=i686-w64-mingw32 sherpa -set-mirror http://win-builds.org/1.3-beta3/packages/windows_32 sherpa -install all 2013/12/13 Adrien Nader Hi, On Fri, Dec 13, 2013, cat fa wrote: When I did sherpa -install all, nothong was downloaded. Most likely you didn't set the predicates (right). Predicates are these two lines in the documentation: yypkg -config -setpreds host=i686-w64-mingw32 yypkg -config -setpreds target=i686-w64-mingw32 (or x86_64-w64-mingw32 if you install for 64b toolchains with the windows_64 repo) They are free-form: both key and value can be set when creating a package. If a value is set in the package, the same value has to be set in the config of the package manager when installing. You should probably run these commands again as it's fairly easy to have a typo somewhere in the strings and since they are free-form, no coherency check can be done when setting them. By the way, this feature is meant to avoid mixing repositories and installing packages for one architecture while packages for another one are actually wanted. This can happen mostly when installing packages by hand. However installing by hand is not the common case and it might make sense to automatically set the predicates from the package repository that is selected. I need to think a bit more about it but that would be nice and probably wouldn't make the check less efficient. In any case, I've added a message in sherpa which will print the number of packages that are valid after filtering through the predicates. This should make it much easier to understand what is going on. (I'm also going to add a FAQ to make the message something that can be looked up on a search engine) This will be available in the next update. Thanks. Regards, Adrien Nader -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Win-Builds
What is the relation of Win-Builds to mingw64. It appears the ming64 is the core of it and then it addes on extra common packages and a user interface, though I've not used it. It does look nice. I'd like to hear from users in this group who've experienced it, if there are any out there. Thanks -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Win-Builds
Sorry I did not provide details: Building environment: Microsoft XP SP3 (Japanese Home Edition) Fetech http://win-builds.org/stable/win-builds-bundle-1.3-beta3.zip Into local download dir:..some_path/win-builds Started cmd.exe Changed directory the ..some_path/win-builds #did set YYPREFIX=C:/win-builds-32 yypkg -init yypkg -config -setpreds host=i686-w64-mingw32 yypkg -config -setpreds target=i686-w64-mingw32 sherpa -set-mirror http://win-builds.org/1.3-beta3/packages/windows_32 sherpa -install all # the below is what I earlier sent cat fa wrote: When I did sherpa -install all, nothong was downloaded. When I ran: $ sherpa -install all It installed nearly everthing I think. Hoever, it aborted with the followi= ng error message. #1 Installing gtk+2-2.24.20-1-i686-w64-mingw32.txz...mklink ... external command ( original was in Japanese char set so I added english ) ... not recognized as an executable or batch file. Fatal error: exception Failure(mklink /J \doc/gtk+-2.24.20/gail-libgail-util\ \doc\\gtk+-2.24.20/../../share/gtk-doc/html/gail-libgail-util\ returned 1 .) Also there were numerous messages related to skipping symbolic links whic= h I don't know if these are important or not. There presence did not halt the insta= ll process. #2=20=20 Installing fontconfig-2.10.93-1-i686-w64-mingw32.txz...Skipping symlink etc/fon ts/conf.d/10-scale-bitmap-fonts.conf - ../../../../../../../opt/windows_32/et c/fonts/conf.avail/10-scale-bitmap-fonts.conf: ENOENT Skipping symlink share/fontconfig/conf.avail - ../../../../../../opt/windows _32/etc/fonts/conf.avail: ENOENT DONE Please advise. -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Win-Builds
It doesn't look like the mklink command is available to the XP based systems. I've found two possible substitute command, ln and junction, available at: ln .. http://schinagl.priv.at/nt/ln/ln.html#introduction junction .. http://technet.microsoft.com/en-gb/sysinternals/bb896768 Could either of these be used as a fix to enable XP install win-builds? It installed nearly everthing I think. Hoever, it aborted with the followi= ng error message. #1 Installing gtk+2-2.24.20-1-i686-w64-mingw32.txz...mklink ... external command ( original was in Japanese char set so I added english ) ... not recognized as an executable or batch file. Fatal error: exception Failure(mklink /J \doc/gtk+-2.24.20/gail-libgail-util\ \doc\\gtk+-2.24.20/../../share/gtk-doc/html/gail-libgail-util\ returned 1 .) Also there were numerous messages related to skipping symbolic links whic= h I don't know if these are important or not. There presence did not halt the insta= ll process. #2=20=20 Installing fontconfig-2.10.93-1-i686-w64-mingw32.txz...Skipping symlink etc/fon ts/conf.d/10-scale-bitmap-fonts.conf - ../../../../../../../opt/windows_32/et c/fonts/conf.avail/10-scale-bitmap-fonts.conf: ENOENT Skipping symlink share/fontconfig/conf.avail - ../../../../../../opt/windows _32/etc/fonts/conf.avail: ENOENT DONE -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] configure options
I tried to configure ffmpeg-2.1.1 simple with $ $ lv configure ...src/ffmpeg/ffmpeg-2.1.1 $ ./configure --host=i686-w64-mingw32 Unknown option --host=i686-w64-mingw32. See ./configure --help for available options. In the configure file it shows these options: --host-cc=HOSTCC use host C compiler HOSTCC --host-cflags=HCFLAGSuse HCFLAGS when compiling for host --host-cppflags=HCPPFLAGS use HCPPFLAGS when compiling for host --host-ld=HOSTLD use host linker HOSTLD --host-ldflags=HLDFLAGS use HLDFLAGS when linking for host --host-libs=HLIBSuse libs HLIBS when linking for host --host-os=OS compiler host OS [$target_os] The first one looks to be th same so I tried it and it works or appears to. $ ./configure --host-cc=i686-w64-mingw32 This is the first time I ran into the --host= not working, but I'd like to hear if anyone else has seen this an if --host-cc=... an only it the right choice, because the option --host-ld=HOSTLD use host linker HOSTLD also looks important. But, I only want to set the minimum if possible. I know that ffmpeg binaries are already available, but I want to build it, so the developement files will be available. Thanks -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Building Packages on MinGW-w64
I am going to try to build the Linphone VoIP SIP application, whose source I download using git, using MinGW-w64 with Cygwin on an XP SP3 environment. I assume that Cygwin's m4, aclocal, autoheader, automake, autoconf, autogen.sh, libtoolize modules are safe to use and don't inject any Cygwin dll dependent setings? I also assume that MinGW-w64's include files and libraries will automatcially be detected, but I doubt that this is true. I ran ./autogen.h which completed without error. Then I ran configure as: $ ./configure CC=/usr/bin/i686-w64-mingw32-gcc CXX=/usr/bin/i686-w64-mingw32-c++.exe Are there any other ./configure flags or variables that need to be set for a configure script? But I don't see any flags for the loader, but w64-mingw32-gcc probably knows which loader to use by default. If there are any inGW-w64 specific include files or libraries, are they stored in /usr/incude and /usr/lib respectively? If not where are they stored? I ran into a dependency problem: checking for LIBGTK... configure: error: Package requirements (gtk+-2.0 = 2.18.0 gthread-2.0) were not met: No package 'gtk+-2.0' found No package 'gthread-2.0' found I will need the gtk+-2.0 library. Cygwin has one, but it requires cygwin.dll which I don't mind using, but can it be done ? I need native speed for the video and audio processing, so don't want to go through Cygwin. Has anyone built gtk+-2.0 or newer with Mingw-w64 or is it not worth the effort? Thanks -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Building linphone gtk with MinGW-w64
I found http://www.gtk.org that has a ms windows library that I will use when building Linphone. I've installed it in a directory for ms win32 specific dev named /cygdrive/c/win-dev I am trying to confiure as follows: $ ./configure CC=/usr/bin/i686-w64-mingw32-gcc CXX=/usr/bin/i686-w64-mingw32-c++.exe CPPFLAGS=-I/cygdrive/c/win-dev/include LDFLAGS=-L/cygdrive/c/win-dev/lib Thread model: win32 gcc version 4.8.2 (GCC) configure:3678: $? = 0 configure:3667: /usr/bin/i686-w64-mingw32-c++.exe -V 5 i686-w64-mingw32-c++: error: unrecognized command line option '-V' i686-w64-mingw32-c++: fatal error: no input files compilation terminated. configure:3678: $? = 1 configure:3667: /usr/bin/i686-w64-mingw32-c++.exe -qversion 5 i686-w64-mingw32-c++: error: unrecognized command line option '-qversion' i686-w64-mingw32-c++: fatal error: no input files compilation terminated. configure:3678: $? = 1 configure:3698: checking whether the C++ compiler works configure:3720: /usr/bin/i686-w64-mingw32-c++.exe -I/cygdrive/c/win-dev/include -L/cygdrive/c/win-dev/lib conftest.cpp 5 configure:3724: $? = 0 configure:3772: result: yes configure:3775: checking for C++ compiler default output file name configure:3777: result: a.exe configure:3783: checking for suffix of executables configure:3790: /usr/bin/i686-w64-mingw32-c++.exe -o conftest.exe -I/cygdrive/c/win-dev/include -L/cygdrive/c/win-dev/lib conftest.cpp 5 configure:3794: $? = 0 configure:3816: result: .exe configure:3838: checking whether we are cross compiling configure:3846: /usr/bin/i686-w64-mingw32-c++.exe -o conftest.exe -I/cygdrive/c/win-dev/include -L/cygdrive/c/win-dev/lib conftest.cpp 5 configure:3850: $? = 0 configure:3857: ./conftest.exe ./configure: line 3859: 2260 Segmentation fault ./conftest$ac_cv_exeext configure:3861: $? = 139 configure:3868: error: in `/cygdrive/c/win-apps/linphone/src/linphone': configure:3870: error: cannot run C++ compiled programs. If you meant to cross compile, use `--host'. configuring with (change c++ to cpp in the c++ executable name) Don't which to use. $ ./configure CC=/usr/bin/i686-w64-mingw32-gcc CXX=/usr/bin/i686-w64-mingw32-cpp.exe CPPFLAGS=-I/cygdrive/c/win-dev/include LDFLAGS=-L/cygdrive/c/win-dev/lib configure:3667: /usr/bin/i686-w64-mingw32-cpp.exe -V 5 i686-w64-mingw32-cpp: error: unrecognized command line option '-V' configure:3678: $? = 1 configure:3667: /usr/bin/i686-w64-mingw32-cpp.exe -qversion 5 i686-w64-mingw32-cpp: error: unrecognized command line option '-qversion' configure:3678: $? = 1 configure:3698: checking whether the C++ compiler works configure:3720: /usr/bin/i686-w64-mingw32-cpp.exe -I/cygdrive/c/win-dev/include -L/cygdrive/c/win-dev/lib conftest.cpp 5 I vaguely remember hearing something about the -V option causing problems, but might be mistaken. -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Made some more progress building LinPhone
I found that adding LIBGTK_CFLAGS=-L/cygdrive/c/win-dev/lib LIBGTK_LIBS=-L/cygdrive/c/win-dev/lib to the configure command line allowed configure to find the MS Win GTK library. Now configure progresses until it can't find any readling library, which I believe is a commong Gnu function, and something called speex. Any comments or help is always appreciated. Cheers $ ./configure --target=i686-w64-mingw32 --enable-targets=i686-w64-mingw32 --host=i686-w64-mingw32 --prefix=$a/linphone CC=/usr/bin/i686-w64-mingw32-gcc CXX=/usr/bin/i686-w64-mingw32-c++.exe CPPFLAGS=-I/cygdrive/c/win-dev/include LDFLAGS=-L/cygdrive/c/win-dev/lib LIBGTK_CFLAGS=-L/cygdrive/c/win-dev/lib LIBGTK_LIBS=-L/cygdrive/c/win-dev/lib /tmp/config.out configure: WARNING: using cross tools not prefixed with host triplet configure: WARNING: Could not find libreadline headers or library, linphonec will have limited prompt features configure: error: Package requirements (speex = 1.1.6) were not met: No package 'speex' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables SPEEX_CFLAGS and SPEEX_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Building Packages on MinGW-w64
Re: .. another thread for basically the same issue (building linphone) I'm sorry. I wasn't aware of that. I was receiving list messages in a digest which had the subject as Mingw-w64-public Digest, Vol 75, Issue 11 which isn't descriptive so I added a meaningful one and didn'T remember the exact old one. To fix this I changed my setting with the list to send out on a messge basis. Re: .. nor why you are ignoring jon_y's advice in that thread: ..Don't do that, use configure --host=i686-w64-mingw32 instead. I didn't recieve his reponse before I sent that message is why. I am grateful to Jony for having sent the advice. I will use it and continue today working on successfully building the package. * Don't do that, use configure --host=i686-w64-mingw32 instead. Thank you. * /usr/incude and /usr/lib is for native code, in\nthis case Cygwin. Never ever use them for cross compilation.\n No, you cannot use those for mingw-w64, those are for Cygwin. I don't want to use it. I was trying to ask where are mingw-w64 include files in case I have to specify them? Does setting the host= trigger the right include file directory? Facts: cpp is the C Pre-Processor, it does not stand for C++; C++ that's always\n\nsuffixed with either ++ or xx. Thanks for the distinction. I was confused with that. * Have you tried googling speex? It's an audio library for the speex format. linphonec probably depends on it. No but I will. Thanks for the advice. Regards -- -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Learning to use MinGW-w64
From: JonY Date: Thu, 05 Dec 2013 17:23:48 +0800 Subject: Re: [Mingw-w64-public] Using MinGW-w64 On 12/5/2013 12:58, wynfield wrote: # I then tried to compile it, but it failed as soon below. $ /bin/i686-w64-mingw32-gcc.exe hello.c i686-w64-mingw32-gcc: error: spawn: No such file or directory Don't do that, just use i686-w64-mingw32-gcc, or /usr/bin/i686-w64-mingw32-gcc, but not /bin/i686-w64-mingw32-gcc. I followed JonY's instruction and invoked the compiler simply as i686-w64-mingw32-gcc. I does get to the compiler now. Thank you. Next I'm getting a linking error as follows from this example code on MinGW-w64 site. #define _UNICODE #define UNICODE #include tchar.h int _tmain(int argc, _TCHAR **argv) { _tprintf(__T(Hello\n)); return 0; } Note: I am assuming the example given is oomplete and that tchar.h covers what normal stdio.h and stdlib.h do. $ i686-w64-mingw32-gcc hello.c /usr/i686-w64-mingw32/sys-root/mingw/lib/../lib/libmingw32.a(lib32_libmingw32_a-crt0_c.o): In function `main': /usr/src/debug/mingw64-i686-runtime-3.0.0-1/crt/crt0_c.c:18: undefined reference to `WinMain@16' collect2: error: ld returned 1 exit status [ undefined reference to `WinMain@16' ] Advice on solving this is appreciated. Thank you. -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Behavior
I understand that on cygwin /bin and /usr/bin both point to the same directory. Given that and that the ming2-w64 gcc program is shown to be the exact same length and have the same md5sums, I assumed that they were all equal. -rwxr-xr-x 2 692765 Dec 1 /bin/i686-w64-mingw32-gcc -rwxr-xr-x 2 692765 Dec 1 /bin/i686-w64-mingw32-gcc.exe -rwxr-xr-x 2 692765 Dec 1 /usr/bin/i686-w64-mingw32-gcc -rwxr-xr-x 2 692765 Dec 1 /usr/bin/i686-w64-mingw32-gcc.exe But the gcc in /usr/bin/ works nand the one in /bin does not. What magic causes the different behavior? -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] mingw and mingw
mingw-w64-public@lists.sourceforge.net It's been a while and I'm a confused over which Mingw is which. I preferring a manual install downloaded the files stated as needed for a minimal system plus the gbd and document packages from: URL = http://www.mingw.org/wiki/InstallationHOWTOforMinGW Then I recalled reading somewhere, back when, that there is also a different Mingw. Also I note that there is also a Mingw64 which I assume will only run on 64 bit machines, but could be ran or a 32 bit to build 64 bit program? If there are multiple flavors of Mingw and different x-bit packages I would like to know which is which, what is different. Thank you. -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Downloading
In order tosee what is involved in installing MinGW-w64 (for my 32-bit host for 32-bit applications) I read the following on page: http://sourceforge.net/apps/trac/mingw-w64/wiki/Downloading%20and%20installing%20MinGW-w64 where it states: The file naming scheme is explained below, with examples: mingw-w64-1.0-bin_x86_64-linux_20110805.tar.bz2: builds 64-bit Windows binaries, runs on 64-bit Linux, uses the 1.0 mingw-w64 release, and was built on 2011/08/05. mingw-w32-bin_i686-cygwin-1.7.8-1_20110719.tar.bz2: builds 32-bit Windows binaries, runs on 32-bit Cygwin 1.7.8, uses GCC and mingw-w64 trunk, and was built on 2011/07/19. mingw-w32-bin_i686-mingw_20110624.zip: builds 32-bit Windows binaries, runs on 32-bit (and 64-bit) Windows, uses GCC and mingw-w64 trunk, and was built on 2011/06/24. x86_64-w64-mingw32-gcc-4.6.2-1_rubenvb.7z: builds 64-bit Windows binaries, runs on 64-bit Windows, and uses GCC 4.6.2 (prerelease). So I want a package with a name like: mingw-w32-bin_i686-cygwin-1.7.8-1_20110719.tar.bz2 Which builds 32-bit Windows binaries, runs on 32-bit Cygwin BUT, I can not find any file with a name in this format on the main download page URL http://sourceforge.net/projects/mingw-w64/files/ and what are the threads files in Cygwin snapshots? The install documentation is, I'm sorry to say unclear to me. Please advise. Thank you. -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Using MinGW-w64
Thanks to Ruben Van Boxem informing me that MinGW-w64 can be downloaded from Cygwin I was able to install all packages successfully. I downloaded all MinGW-w64 packages except gcc-ada and gcc-fortran. I then attempted to build a test program using it. I tried the following c test case as shown on web page: http://sourceforge.net/apps/trac/mingw-w64/wiki/Unicode%20apps file=hello.c - #define _UNICODE #define UNICODE #include tchar.h int _tmain(int argc, _TCHAR **argv) { _tprintf(__T(Hello\n)); return 0; } # I then tried to compile it, but it failed as soon below. $ /bin/i686-w64-mingw32-gcc.exe hello.c i686-w64-mingw32-gcc: error: spawn: No such file or directory The shell used to invoke this is zsh and there is no spawn file on my system as far as I know. Is there some dependency package missing or is the example code wrong or am I missing some complier/linker options? Thanks -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Posix and Mingw 64
IS there a recommended way to keep Microsoft Windows related code and libraries isolated from cygwin dependent code and libraries? I am using /bin/i686-w64-mingw32-gcc etc, which came from cygwin's setup program. I created a development directory /msys short for Microsoft system which will hold MS Windows specific files, binaries, and libraries etc. For example I will need to install a MS Windows gtk+2.x. Cygwind setup places mingw64 programs into cygwins /usr/bin which is mainly cygwin specific programs. My concern is in building a program that I'd get a result (since using cygwin environemetn) and getting a result that depends on the cygdll. I assume that mingw does use posix file pathnames. I need to to install a MS Windows perl interpreter. Does anyone have recommendations here. Preferable one which will accept posix pathnames and convert them to MS Windows based one if necessary. Any advice about keeping the two systems: cygwin dll dependent and windeows dependend would be appreciated appreciated. thanks -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] MinGW and Msys Directories
#1 I'm sure that there is a good reason to have two very similiar root type directories such as MinGW and msys, but I can't see it. But, I am new to MinGW. To me two different pseudo root directories. Can someone explain why the two are necessary and on would not suffice? Or point me to a document which explains it? C:\MinGW and C:\inGW\msys\1.0 Also some directory has a link or is a link. /usr? # 2 Can different users use MinGW. When installed it uses the current user's name to creaste /home/usr, but, I'd like to have another user with its own /home/user-name directory. ... ls shows the owner of files different depending on the person loggged in, but wouldn't allow me to create a /home/user-name, as I recall. There is no /etc/passwd. How can I find out about this to gain a good understanding? I'd appreciate any and all information. Thanks -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] MinGW and Msys Directories
#1 I'm sure that there is a good reason to have two very similiar root type directories such as MinGW and msys, but I can't see it. But, I am new to MinGW. To me two different pseudo root directories. Can someone explain why the two are necessary and on would not suffice? Or point me to a document which explains it? C:\MinGW and C:\inGW\msys\1.0 Also some directory has a link or is a link. /usr? # 2 Can different users use MinGW. When installed it uses the current user's name to creaste /home/usr, but, I'd like to have another user with its own /home/user-name directory. ... ls shows the owner of files different depending on the person loggged in, but wouldn't allow me to create a /home/user-name, as I recall. There is no /etc/passwd. How can I find out about this to gain a good understanding? I'd appreciate any and all information. Thanks -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Application build failure
From: JonY jo...@users.sourceforge.net Date: Thu, 29 Aug 2013 22:00:12 +0800 Subject: Re: [Mingw-w64-public] Application build failure On 8/29/2013 20:41, wynfield wrote: I am working on building the Crypt_SSLeay library package on MinGw. The build fails with the following error message. It looks like I'm missing a file called in.h which should be in directory /include/netinet. There is no directory netinet and of course no in.h which should be in it. Does anyone have experience building Crypt_SSLeay on MinGW/Msys or can you point me in the direction of what I need to do to get ../netinet/in.h ? Any assistance is appreciated. This file was never part of mingw-w64, use Cygwin if you must use Unix API. A file or package does not have to be a part of mingw. It's my understanding that the very point of MinGW is to enable the building of programs which will run on various Miscrosft Windows O.S.'s and libraries. Cheers -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Getting started with MinGw
Thank you NightStrike for telling me about the MinGw project. I tried to find an easy way to get this done on cygwin which I've been using and like a lot, but there wasn't anybody seemed up to the internals on basic i/o where cygwin meets the os xfc. I naively thought that I could download the mingw-w64-v2.0.7.tar.gz, unpacked it and build it on cygwin, but it fails. I configured with: $ ./configure --build=i686-pc-cygwin --host=mingw32 which returns a 0 return code, which is nice, but make fails with: Entering directory `/usr/src/mingw/mingw-w64-v2.0.7/mingw-w64-crt' gcc -DHAVE_CONFIG_H -I. -m32 -D_SYSCRT=1 -DCRTDLL=1 -I./include -D_CRTBLD -pipe -std=gnu99 -Wall -Wextra -Wformat -Wstrict-aliasing -Wshadow -Wpacked -Winline -Wimplicit-function-declaration -Wmissing-noreturn -Wmissing-prototypes -g -O2 -MT crt/lib32_libmingw32_a-atonexit.o -MD -MP -MF crt/.deps/lib32_libmingw32_a-atonexit.Tpo -c -o crt/lib32_libmingw32_a-atonexit.o `test -f 'crt/atonexit.c' || echo './'`crt/atonexit.c In file included from crt/atonexit.c:13: ./include/internal.h:45: error: expected specifier-qualifier-list before ‘intptr_t’ In file included from crt/atonexit.c:13: ./include/internal.h:171:20: error: crtdbg.h: No such file or directory crt/atonexit.c:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__dllonexit’ crt/atonexit.c:28: error: expected declaration specifiers or ‘...’ before ‘*’ token crt/atonexit.c:28: error: expected ‘)’ before ‘func’ crt/atonexit.c:31: warning: data definition has no type or storage class crt/atonexit.c:31: warning: type defaults to ‘int’ in declaration of ‘_onexit_t’ crt/atonexit.c:31: warning: ‘__cdecl__’ attribute only applies to function types crt/atonexit.c:31: error: expected ‘,’ or ‘;’ before ‘mingw_onexit’ crt/atonexit.c:33: warning: data definition has no type or storage class crt/atonexit.c:33: warning: type defaults to ‘int’ in declaration of ‘_onexit_t’ crt/atonexit.c:33: warning: ‘__cdecl__’ attribute only applies to function types crt/atonexit.c:33: error: expected ‘,’ or ‘;’ before ‘mingw_onexit’ crt/atonexit.c: In function ‘atexit’: crt/atonexit.c:58: warning: implicit declaration of function ‘mingw_onexit’ crt/atonexit.c:58: error: expected ‘)’ before ‘func’ crt/atonexit.c:58: warning: comparison between pointer and integer Makefile:12465: recipe for target `crt/lib32_libmingw32_a-atonexit.o' failed make[3]: *** [crt/lib32_libmingw32_a-atonexit.o] Error 1 make[3]: Leaving directory `/usr/src/mingw/mingw-w64-v2.0.7/mingw-w64-crt' Makefile:4261: recipe for target `all' failed If mingw can be built in the cygwin environment please assist me in how to do it. If not, I suppose downloading an msi install package is the only way to go. Any advice is appreciated. -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] I am a member.
My mail is being held and I'm getting a non-member message. I am a member, albeit a new one, but one none the same. Is there some problem? -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public