Stephen Grant Brown | 1 Nov 02:45 2007
Picon

Building GNUCash on Vista

Dear Sirs/Madams,
 
I am not sure if I should post this but I am wanting to build GNUCash on my Vista Home Premiun machine, so I can help debug it.
 
It worked OK under XP.
 
Since moving to a new computer with Vista I have run into issue after issue.
 
My first was permission issues. Another was the unzip program. The latest is the gcc problem.
 
I have installed the gcc-vista file (I think).
 
Could someone have at a look at the supplied url and tell me what is worng (or even better fix it) so I can compile gnucash?
 
 
If I am asking too much, please tell me and I will continue to work on it myself.
 
Yours Sincerely Stephen Grant Brown
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Sisyphus | 1 Nov 07:09 2007
Picon

Re: Building GNUCash on Vista


----- Original Message ----- 
From: "Stephen Grant Brown" <s_g_brown@...>
.
.

> I have installed the gcc-vista file (I think).

Can you compile a basic C script (using gcc) and a basic C++ script (using 
g++) ? If so, then everything is probably ok in that regard. If not, then 
what errors are you getting ?

If the build process needs to use the fortran compiler (g77) then I think 
you're in trouble - I don't know of a patched g77 that works with Vista.

> http://wiki.gnucash.org/wiki/Windows#Instructions_for_an_.28almost.29_automated_build

Only error that I spotted in the above wiki was the instruction to "start 
gnucash from the MSYS command line by typing c:/soft/gnucash/bin/gnucash". 
(I expect you would need to type /c/soft/gnucash/bin/gnucash.)

> If I am asking too much, please tell me and I will continue to work on it 
> myself.

What you ask is probably beyond the charter of this list - unless you've 
come up against issues where MSYS and/or MinGW are not behaving correctly. 
If you think you've come up against such issues, then you should provide 
some information about them.

Telling us that your latest issue is "is the gcc problem" doesn't really 
give us much to work with :-)

Cheers,
Rob 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

Earnie Boyd | 1 Nov 12:15 2007
Picon
Picon

Re: Building GNUCash on Vista


Quoting Sisyphus <sisyphus1@...>:

>
> Only error that I spotted in the above wiki was the instruction to "start
> gnucash from the MSYS command line by typing c:/soft/gnucash/bin/gnucash".
> (I expect you would need to type /c/soft/gnucash/bin/gnucash.)
>

FLI, either should work; MSYS understands c:/ just fine.

Earnie

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

Earnie Boyd | 1 Nov 12:22 2007
Picon
Picon

Re: Building GNUCash on Vista


Quoting Stephen Grant Brown <s_g_brown@...>:

> Dear Sirs/Madams,
>
> I am not sure if I should post this but I am wanting to build GNUCash 
> on my Vista Home Premiun machine, so I can help debug it.
>
> It worked OK under XP.
>
> Since moving to a new computer with Vista I have run into issue after issue.
>

Well, there is Vista32 and Vista64 which do you have?  I don't have 
either yet so can't help with specifics to Vista beyond helping you 
help yourself.

> My first was permission issues. Another was the unzip program. The 
> latest is the gcc problem.
>

What is the gcc problem?

> I have installed the gcc-vista file (I think).
>
> Could someone have at a look at the supplied url and tell me what is 
> worng (or even better fix it) so I can compile gnucash?
>

I don't know the problem so I don't know what is wrong.

> http://wiki.gnucash.org/wiki/Windows#Instructions_for_an_.28almost.29_automated_build
>
> If I am asking too much, please tell me and I will continue to work 
> on it myself.
>

Helping you use MinGW is what this list is for.  I don't know Vista and 
I don't know gnucash but together we may work out the issues.

Earnie

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

Keith Marshall | 1 Nov 15:31 2007
Picon
Picon

Re: x86-mingw32-build.sh: unrecoverable error building gcc

On Sat, 2007-10-27 at 11:53 -0700, william estrada wrote:
>    I am trying to MinGW on a FC6 linux system. I get the following
> error during the build:
> 
> > /home/mingw/usr/local/include/time.h:187: error: syntax error before
> > "char" make[1]: *** [crtbegin.o] Error 1 make[1]: Leaving directory
> > `/home/tmp/mingw-3.4.5/build-gcc/gcc' make: *** [all-gcc] Error 2 
> > x86-mingw32-build.sh: unrecoverable error building gcc
> 
>    Anybody seen this error?

No, but from the more detailed support ticket you raised on the bug
tracker, it seems that your usage was incorrect.  I believe I have
answered this, at:

Regards,
Keith.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

Keith Marshall | 1 Nov 20:34 2007
Picon
Picon

Re: x86-mingw32-build.sh: unrecoverable error building gcc

On Sat, 2007-10-27 at 11:53 -0700, william estrada wrote:
>    I am trying to MinGW on a FC6 linux system. I get the following
> error during the build:
> 
> > /home/mingw/usr/local/include/time.h:187: error: syntax error before
> > "char" make[1]: *** [crtbegin.o] Error 1 make[1]: Leaving directory
> > `/home/tmp/mingw-3.4.5/build-gcc/gcc' make: *** [all-gcc] Error 2 
> > x86-mingw32-build.sh: unrecoverable error building gcc
> 
>    Anybody seen this error?

No, but from the more detailed support ticket you raised on the bug
tracker, it seems that your usage was incorrect.  I believe I have
answered this, at:
http://sourceforge.net/tracker/index.php?func=detail&aid=1822513&group_id=2435&atid=202435

Regards,
Keith.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

amores perros | 3 Nov 17:28 2007
Picon

acceptable sources other than MSDN -- winehq/...wincrypt.h?

I don't see X509_ANY_STRING in MSDN online.

I do see it, or at least there is a hit on it, somewhere in

  http://source.winehq.org/source/include/wincrypt.h

which starts off with a GPL statement.

I didn't go down and look at the actual occurrence.

Is it permissible to use source like that to create a patch
for mingw (cygwin) wincrypt.h?



Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it now!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
amores perros | 3 Nov 18:41 2007
Picon

Just posted mingw patch to add CryptEncodeObject... constants to wincrypt.h from MSDN


FYI:

Just posted mingw patch to add CryptEncodeObject... constants to wincrypt.h from MSDN

mingw sourceforge patch tracker

[ 1825238 ] Add CryptEncodeObject... constants to wincrypt.h from MSDN

http://sourceforge.net/tracker/index.php?func=detail&aid=1825238&group_id=2435&atid=302435

(Apologies if it is redundant to post a msg about this patch to this mailing list; I wasn't sure.)

Essentially this is the constants from the MSDN page

"Constants for CryptEncodeObject and CryptDecodeObject"

http://msdn2.microsoft.com/en-us/library/aa378145.aspx

_________________________________________________________________
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

Greg Chicares | 3 Nov 19:35 2007
Picon
Picon

Re: acceptable sources other than MSDN -- winehq/...wincrypt.h?

On 2007-11-03 16:28Z, amores perros wrote:
> I don't see X509_ANY_STRING in MSDN online.
> 
> I do see it, or at least there is a hit on it, somewhere in 
> 
>   http://source.winehq.org/source/include/wincrypt.h
> 
> which starts off with a GPL statement.
> 
> I didn't go down and look at the actual occurrence.
> 
> Is it permissible to use source like that to create a patch
> for mingw (cygwin) wincrypt.h?

IIRC, this was discussed here years ago, and the answer was "no".
The problem is that a third party might duplicate copyrighted
material, replacing the original copyright with a GPL notice.
For information that ms might consider proprietary, if google
can't find an instance of ms disclosing it, then you kind of
have to wonder where someone else got it.

However...

> I don't see X509_ANY_STRING in MSDN online.

I think its value is disclosed on msdn, in terms of another
macro whose numeric value is specified:

http://msdn2.microsoft.com/en-us/library/aa378145.aspx
|
| X509_NAME_VALUE
| (LPCSTR) 6
...
| X509_ANY_STRING
| X509_NAME_VALUE

So IMO it's acceptable to write

  #define X509_NAME_VALUE (LPCSTR) 6
  #define X509_ANY_STRING X509_NAME_VALUE

Perhaps some constants missing in your patch can be filled in
in the same way. For instance, they've published this:

| X509_DSS_PUBLICKEY
| X509_MULTI_BYTE_UINT

so where your patch has

  +/* need X509_DSS_PUBLICKEY */
  +#define X509_MULTI_BYTE_UINT (LPCSTR) 38

I'd say you could instead write:

  +#define X509_MULTI_BYTE_UINT (LPCSTR) 38
  +#define X509_DSS_PUBLICKEY X509_MULTI_BYTE_UINT

I glanced at a few other values in your patch, and it seems
that you're carefully following the rules, at least as I
understand them. Thanks.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

Randy Reed | 3 Nov 22:33 2007

Cannot build a statically linked gtk+ app

Greetings,

I am developing a gtk+ application using mingw.
I installed mingw via dev-c++ 4.9.9.1 (but am using the cygwin environment
to compile my app).  I am trying to statically link a gtk+ application
but no matter what compiler options I use, I get dependencies on
c:\windows\system32\LIBGTK-0.DLL. My goal is to distribute this application
without distributing any DLLs if possible.

As you can see below, I use several versions of '-static' and I provide
only '.a' files to link against.  Therefore, I do not even know how the
linker is aware of LIBGTK-0.DLL.  I would very much appreciate any help
or information that would assist me in building a statically linked 
application.

Thank you!

Randy Reed
.

#COMPILE DIRECTIVE FOR THE MAIN
/cygdrive/d/Dev-Cpp/bin/gcc.exe -mwindows -mno-cygwin -mms-bitfields 
-DHAVE_CONFIG_H -I"d:/Dev-Cpp/INCLUDE/GDK"  -I"d:/Dev-Cpp/include/gtk" 
-c vlgc_main.c -Bstatic -o vlgc_main.o

#COMPILE DIRECTIVE FOR LINKAGE
/cygdrive/d/Dev-Cpp/bin/gcc.exe -mwindows -mno-cygwin -mms-bitfields 
-DHAVE_CONFIG_H --static -static -Wl,-static \
       -I"d:/Dev-Cpp/INCLUDE/GDK"  -I"d:/Dev-Cpp/include/gtk"  \
       vlgc_main.o vlgc_popups.o  ../../AMEgtk/src/menubar.o\
       -L"lib" "d:/Dev-Cpp/Lib/libz.a" 
"d:/Dev-Cpp/Lib/libglib-2.0.dll.a" "d:/Dev-Cpp/Lib/libgtk.dll.a" 
"d:/Dev-Cpp/Lib/libgdk.dll.a" -o ../bin/voodoolabGS.exe

#MY PATH ENVIRONMENT
VARIABLE:
PATH=.:/cygdrive/d/Dev-Cpp/bin:/usr/local:/usr/lib:/bin:/usr/local/bin:/etc:/usr/bin:/usr/etc:/usr/sbin:/sbin:/home/rreed:/home/rreed/bin:/usr/X11R6/bin:/usr/local/mspace/bin:/home/rreed/AMEdev/AMEbin 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users


Gmane