From: Terry C. <tc...@ix...> - 2012-05-29 06:59:01
|
I know that someday I am going to have to finally get off of Windows XP, but I did not realize that the pendulum had swung so far away. Is there really a larger group of people running 64-bit enabled versions of Windows? I guess it is at least so for those of you upon whom we depend to get us an installable version of the latest code. Is there an expected date for 3.4 All-in-One for us old slackers running 32-bit Windows XP? Thank you. |
From: Billie W. <bil...@sw...> - 2012-05-29 13:02:21
|
On 05/29/2012 01:39 AM, Terry Corbet wrote: > I know that someday I am going to have to finally get off of Windows XP, > but I did not realize that the pendulum had swung so far away. Is there > really a larger group of people running 64-bit enabled versions of > Windows? I guess it is at least so for those of you upon whom we depend > to get us an installable version of the latest code. Is there an > expected date for 3.4 All-in-One for us old slackers running 32-bit > Windows XP? Thank you. I've got an old boat anchor sitting here running Windows 7/64 bit. I wouldn't switch back to Windows full time, but I have to admit that Windows 7 seems to be quite nice, for a Windows OS. I don't use it for very much, but every once in a while I need Windows for something. The last I heard anything about XP was that Microsoft was not planning any more updates or "fixes". Don't quote me on that though. -- “The Constitution is not an instrument for the government to restrain the people, it is an instrument for the people to restrain the government lest it come to dominate our lives and interests”. - Patrick Henry - _ _... ..._ _ _._ ._ ..... ._.. ... .._ |
From: Josip <jo...@pi...> - 2012-05-29 14:20:05
|
On 29.05.2012 08:39, Terry Corbet wrote: > I know that someday I am going to have to finally get off of Windows XP, but I did not realize that the pendulum had swung so far away. Is there really a larger group of people running 64-bit enabled versions of Windows? I guess it is at least so for those of you upon whom we depend to get us an installable version of the latest code. Is there an expected date for 3.4 All-in-One for us old slackers running 32-bit Windows XP? Thank you. > By download statistic it is 10:1 ratio in favor of 32bit user. Maybe that is reason why other projects (software) Gramps depends on is not available in 64 bit Windows version (or not officially available). Thing is that 3.4.0 Gramps version is quite broken on Windows so there is no point to release it. For when will it be fixed, there is no time-line set and if it is it will be crossed anyway :-) -- Josip |
From: Ron J. <ron...@co...> - 2012-05-29 16:06:07
|
On 05/29/2012 09:15 AM, Josip wrote: > On 29.05.2012 08:39, Terry Corbet wrote: >> I know that someday I am going to have to finally get off of Windows XP, but I did not realize that the pendulum had swung so far away. Is there really a larger group of people running 64-bit enabled versions of Windows? I guess it is at least so for those of you upon whom we depend to get us an installable version of the latest code. Is there an expected date for 3.4 All-in-One for us old slackers running 32-bit Windows XP? Thank you. >> > > By download statistic it is 10:1 ratio in favor of 32bit user. > Maybe that is reason why other projects (software) Gramps depends on is > not available in 64 bit Windows version (or not officially available). > Note that many Linux users get Gramps from their distro repositories. -- "There is usually only a limited amount of damage that can be done by dull or stupid people. For creating a truly monumental disaster, you need people with high IQs." Thomas Sowell |
From: Nick H. <nic...@ho...> - 2012-05-29 18:51:07
|
On 29/05/12 15:15, Josip wrote: > Thing is that 3.4.0 Gramps version is quite broken on Windows so there > is no point to release it. What is the problem with the Windows version? Is there a bug report for it? I could only find - 5783: GrampsAIO32? http://www.gramps-project.org/bugs/view.php?id=5783 Nick. |
From: Josip <jo...@pi...> - 2012-05-29 19:19:17
|
On 29.05.2012 20:51, Nick Hall wrote: > On 29/05/12 15:15, Josip wrote: >> Thing is that 3.4.0 Gramps version is quite broken on Windows so there >> is no point to release it. > > What is the problem with the Windows version? Is there a bug report for it? > > I could only find - 5783: GrampsAIO32? > > http://www.gramps-project.org/bugs/view.php?id=5783 > Is not that god reason ;-) 5785 will show for most users really quickly for example. (it is quickest response i ever get from aio users) Anyway i don't feel comfortable making something i know it will not work for many users. How about instead pull code from branch instead using tagged revision. Branch should be pretty stable by definition. -- Josip |
From: Nick H. <nic...@ho...> - 2012-05-29 20:26:26
|
On 29/05/12 20:14, Josip wrote: > On 29.05.2012 20:51, Nick Hall wrote: >> On 29/05/12 15:15, Josip wrote: >>> Thing is that 3.4.0 Gramps version is quite broken on Windows so there >>> is no point to release it. >> What is the problem with the Windows version? Is there a bug report for it? >> >> I could only find - 5783: GrampsAIO32? >> >> http://www.gramps-project.org/bugs/view.php?id=5783 >> > Is not that god reason ;-) > 5785 will show for most users really quickly for example. > (it is quickest response i ever get from aio users) > > Anyway i don't feel comfortable making something i know it will not work > for many users. > > How about instead pull code from branch instead using tagged revision. > Branch should be pretty stable by definition. > > I don't use Windows myself, but let me know if you need any changing the print statements to use the logging system. Nick. |
From: Benny M. <ben...@gm...> - 2012-05-29 21:07:32
|
Perhaps a windows users that is good at installing from source can extend http://www.gramps-project.org/wiki/index.php?title=Windows_installer and write a recent (2012) how-to-install gramps from source in windows, so without the installer. Like that it is clear for people who don't want to wait, what they have to do. And we might attrack some developers on windows, that fix bugs before release. I recently installed scientific software in python on windows (from source), and it are 3 A4 pages to explain how to install it, as opposed to the 1 alinea for installation in linux, so definitely not the easiest path, but possible. Benny 2012/5/29 Nick Hall <nic...@ho...> > On 29/05/12 20:14, Josip wrote: > > On 29.05.2012 20:51, Nick Hall wrote: > >> On 29/05/12 15:15, Josip wrote: > >>> Thing is that 3.4.0 Gramps version is quite broken on Windows so there > >>> is no point to release it. > >> What is the problem with the Windows version? Is there a bug report > for it? > >> > >> I could only find - 5783: GrampsAIO32? > >> > >> http://www.gramps-project.org/bugs/view.php?id=5783 > >> > > Is not that god reason ;-) > > 5785 will show for most users really quickly for example. > > (it is quickest response i ever get from aio users) > > > > Anyway i don't feel comfortable making something i know it will not work > > for many users. > > > > How about instead pull code from branch instead using tagged revision. > > Branch should be pretty stable by definition. > > > > > I don't use Windows myself, but let me know if you need any changing the > print statements to use the logging system. > > Nick. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gramps-users mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-users > |
From: Tim L. <guy...@gm...> - 2012-05-29 21:55:37
|
Nick Hall-6 wrote > > On 29/05/12 20:14, Josip wrote: >> Anyway i don't feel comfortable making something i know it will not work >> for many users. >> > I don't use Windows myself, but let me know if you need any changing the > print statements to use the logging system. > I am looking at how to change the logging system so it calls the windows event system - I have a possible patch. Nick, thanks for the offer, I'll run it past you. But I desperately need someone who would be able to test on Windows. Who constructs the Windows AIO release? -- View this message in context: http://gramps.1791082.n4.nabble.com/Release-3-4-for-Windows-XP-tp4655172p4655192.html Sent from the GRAMPS - User mailing list archive at Nabble.com. |
From: Josip <jo...@pi...> - 2012-05-29 22:06:18
|
On 29.05.2012 23:55, Tim Lyons wrote: > But I desperately need someone who would be able to test on Windows. Who > constructs the Windows AIO release? I am the guilty one for that :-) -- Josip |
From: Josip <jo...@pi...> - 2012-05-29 22:03:31
|
On 29.05.2012 22:26, Nick Hall wrote: > I don't use Windows myself, but let me know if you need any changing the > print statements to use the logging system. > > Nick. > Neither do i, just quickly check result in VM. I was thinking more: someone else will write it, i will pack it :-) -- Josip |
From: Benny M. <ben...@gm...> - 2012-05-30 07:15:02
|
2012/5/29 Josip <jo...@pi...> > On 29.05.2012 22:26, Nick Hall wrote: > > > I don't use Windows myself, but let me know if you need any changing the > > print statements to use the logging system. > > > > Nick. > > > > Neither do i, just quickly check result in VM. > I was thinking more: someone else will write it, i will pack it :-) > The problem with windows seems to be that many people are using it, but it is not a preferred development system if you don't use visual studio. In the past Brian also worked on windows, don't know if that is still the case. Benny |
From: Mary L. <mar...@vi...> - 2012-05-30 10:54:12
|
I would be happy to test gramps on XP or Vista. Mary On 30/05/2012 08:14, Benny Malengier wrote: > > > 2012/5/29 Josip <jo...@pi... <mailto:jo...@pi...>> > > On 29.05.2012 22:26, Nick Hall wrote: > > > I don't use Windows myself, but let me know if you need any > changing the > > print statements to use the logging system. > > > > Nick. > > > > Neither do i, just quickly check result in VM. > I was thinking more: someone else will write it, i will pack it :-) > > > The problem with windows seems to be that many people are using it, > but it is not a preferred development system if you don't use visual > studio. > > In the past Brian also worked on windows, don't know if that is still > the case. > > Benny > |
From: Enno B. <enn...@gm...> - 2012-05-30 11:14:58
|
> The problem with windows seems to be that many people are using it, > but it is not a preferred development system if you don't use visual > studio. Right. I still use Windows XP on my desktop, and Windows 7 on my laptop, and PAF for genealogy. I have the latest Xubuntu installed on both for Gramps development, and I would really like to have the new 3.4 running on Windows too, because I like the new Citation views. But for the moment it's much easier to reboot to Xubuntu, and do all the work there. That said, I can imagine using cygwin for development on windows. regards, Enno |
From: Benny M. <ben...@gm...> - 2012-05-30 13:08:44
|
Indeed, we would need testing of the development version before release, instead of waiting for a package and a release before doing some tests. For windows, I would suggest Notepad++, powershell and MinGW ( http://sourceforge.net/projects/mingw/files), and then build from there. To create a wiki page for Win 7 or WinXP with all the steps starting from a clean install of windows would be a good addition. For my own windows development, I wrote down the following some time ago: 1. Install Notepad++ http://notepad-plus-plus.org/ We call it text-editor 2. Find the powershell program in your start menu. We call it terminal 3. We need to install python. I installed: http://www.enthought.com/products/epd_free.php and install the free version of the Enthought Python Distribution (EPD)} for windows (32 of 64 bit) 4. Now we install the gcc compiler with the MinGW package 4.1 Go to http://sourceforge.net/projects/mingw/files and download MinGW installer (normally link above with text latest version) 4.2 Go to downloads, doubble-click mingw installer. 4.3 add compiler to the windows path, following http://www.computerhope.com/issues/ch000549.htm, so for Win 7: * Right click 'My Computer' click 'Properties' * Click on 'Advanced System settings' * Click on 'Environment Variables' * You see screen with at bottom list of variables, scroll down and look for 'Path', select and double click to edit * WARNING: don't remove anything!! Go to the end of the line, and add, starting with ; an extra directory. For my computer this is ;C:\MinGW\bin\ 4.4 At this moment MinGW contains an error we need to correct now * Open Notepad$++$ and open the file C:\Python27\Lib\distutils\cygwinccompiler.py * This file contains an error, it uses the compiler flag -mno-cywin, which is wwrong. First save a copy of the file (Menu File->Safe copy), then edit the file: search for -mno-cywin, and remove it _everywhere_ * save the file 5. EPD misses a key library form of python, so create it by following http://wiki.cython.org/InstallingOnWindows 5.1 Download python27.def. If you want, you can make it yourself: Download pexport programm, in powershell do pexports C:\Python27\python27.dll > python27.def 5.2. Now you have python27.def, create the .a library by doing: dlltool --dllname C:\Python27\python27.dll --def python27.def --output-lib C:\Python27\libs\libpython27.a 6. When you download python libraries, you should now be able to install them with the powershell command python setup.py install build --compiler=mingw32 So, above gives you editor, shell, python exe, and compiler to compile extra things. With this you have all tools to build the requirements for Gramps. For Gramps, you now need gtk. I have no experience in going further, so if somebody can extend this workflow up to the point of running Gramps? Probably it will be needed to compile things, and then you need to be sure that can be found by the compiler. What I do is: * copy needed dll's to C:\Python27\PCbuild (or to C:\Python27\Libs), and copy the include directory with header files to C:\Python27\PC (or to C:\Python27\include). * edit the path variable as done above so these directories are found. So path should be edited in total to contain at the end: ;C:\Python27;C:\Python27\PCbuild Replace here PCbuild with Libs if you chose Libs to copy stuff. Normally now errors during compiling that stuff is not found will be fixed like this. Benny 2012/5/30 Enno Borgsteede <enn...@gm...> > > > The problem with windows seems to be that many people are using it, > > but it is not a preferred development system if you don't use visual > > studio. > Right. I still use Windows XP on my desktop, and Windows 7 on my laptop, > and PAF for genealogy. > > I have the latest Xubuntu installed on both for Gramps development, and > I would really like to have the new 3.4 running on Windows too, because > I like the new Citation views. But for the moment it's much easier to > reboot to Xubuntu, and do all the work there. > > That said, I can imagine using cygwin for development on windows. > > regards, > > Enno > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gramps-users mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-users > |
From: Josip <jo...@pi...> - 2012-05-30 16:02:24
|
On 30.05.2012 15:08, Benny Malengier wrote: > Indeed, we would need testing of the development version before release, > instead of waiting for a package and a release before doing some tests. > Here is the way how to do it quickly from Linux: You will need nsis and wine. Wine is needed to install AIO but can be skipped if you know how to extract nsis package. [1] Download last GrampsAIO 32bit version (3.3.2). It is not yet on sourceforge but you can find link to them on list. You can use some previous relase also but this one is easier to change. [2] Use wine to install it in your home folder. In my case it is: /home/josip/GrampsAIO [3] We don't need old gramps so delete it: rm -rf ~/GrampsAIO/share/gramps [4] Build and install from svn. For example use latest 3.4.0 development version (gramps34 branch) and remember revision number (svn info | grep Revision): ./autogen.sh --prefix=/ make DESTDIR=~/GrampsAIO install [5] Modify install script to match yours build: cd ~/GrampsAIO/share/source sed -i 's|^!define APPVERSION .*$|!define APPVERSION "3.4.0-svn19709"|' grampsaio.nsi sed -i 's|^!define APPNAMEANDVERSION .*$|!define APPNAMEANDVERSION "GrampsAIO 3.4.0-svn19709"|' grampsaio.nsi sed -i 's|^BrandingText .*$|BrandingText "development version 3.4.0-svn19709"|' grampsaio.nsi [6] Finally build it. File GrampsAIO-3.4.0-svn19709.exe will be created: makensis grampsaio.nsi Steps 1 and 2 is only required first time, next time start from step 3. It quick and easily scripted into one that can be run regulary. -- Josip |
From: Peter L. <pet...@te...> - 2012-05-30 14:57:45
|
I have tried the "old" way without AIO. But Gramps windows installer is no longer available for Gramps 3.3.2 or later. /Peter Jérôme skrev 2012-05-30 16:28: > Note, the 'old/previous' installation with dependencies should still > work for most Windows users. > > http://www.gramps-project.org/wiki/index.php?title=Windows_installer#Installation > > > Benny Malengier a écrit : >> Indeed, we would need testing of the development version before release, >> instead of waiting for a package and a release before doing some tests. >> >> For windows, I would suggest Notepad++, powershell and MinGW >> (http://sourceforge.net/projects/mingw/files), and then build from >> there. To create a wiki page for Win 7 or WinXP with all the steps >> starting from a clean install of windows would be a good addition. >> >> For my own windows development, I wrote down the following some time ago: >> >> 1. Install Notepad++ http://notepad-plus-plus.org/ We call it text-editor >> 2. Find the powershell program in your start menu. We call it terminal >> 3. We need to install python. I installed: >> http://www.enthought.com/products/epd_free.php and install the free >> version of the Enthought Python Distribution (EPD)} for windows (32 of >> 64 bit) >> 4. Now we install the gcc compiler with the MinGW package >> 4.1 Go to http://sourceforge.net/projects/mingw/files and download MinGW >> installer (normally link above with text latest version) >> 4.2 Go to downloads, doubble-click mingw installer. >> 4.3 add compiler to the windows path, following >> http://www.computerhope.com/issues/ch000549.htm, so for Win 7: >> * Right click 'My Computer' click 'Properties' >> * Click on 'Advanced System settings' >> * Click on 'Environment Variables' >> * You see screen with at bottom list of variables, scroll down and look >> for 'Path', select and double click to edit >> * WARNING: don't remove anything!! Go to the end of the line, and add, >> starting with ; an extra directory. For my computer this is >> ;C:\MinGW\bin\ >> 4.4 At this moment MinGW contains an error we need to correct now >> * Open Notepad$++$ and open the file >> C:\Python27\Lib\distutils\cygwinccompiler.py >> * This file contains an error, it uses the compiler flag -mno-cywin, >> which is wwrong. >> First save a copy of the file (Menu File->Safe copy), then edit the >> file: search for -mno-cywin, and remove it _everywhere_ >> * save the file >> >> 5. EPD misses a key library form of python, so create it by following >> http://wiki.cython.org/InstallingOnWindows >> 5.1 Download python27.def. If you want, you can make it yourself: >> Download pexport programm, in powershell do >> >> pexports C:\Python27\python27.dll> python27.def >> >> 5.2. Now you have python27.def, create the .a library by doing: >> dlltool --dllname C:\Python27\python27.dll --def python27.def >> --output-lib C:\Python27\libs\libpython27.a >> >> 6. When you download python libraries, you should now be able to install >> them with the powershell command >> >> python setup.py install build --compiler=mingw32 >> >> >> So, above gives you editor, shell, python exe, and compiler to compile >> extra things. With this you have all tools to build the requirements for >> Gramps. >> For Gramps, you now need gtk. I have no experience in going further, so >> if somebody can extend this workflow up to the point of running Gramps? >> Probably it will be needed to compile things, and then you need to be >> sure that can be found by the compiler. What I do is: >> >> * copy needed dll's to C:\Python27\PCbuild (or to C:\Python27\Libs), and >> copy the include directory with header files to C:\Python27\PC (or to >> C:\Python27\include). >> * edit the path variable as done above so these directories are found. >> So path should be edited in total to contain at the end: >> ;C:\Python27;C:\Python27\PCbuild >> Replace here PCbuild with Libs if you chose Libs to copy stuff. Normally >> now errors during compiling that stuff is not found will be fixed like this. >> >> Benny >> >> 2012/5/30 Enno Borgsteede<enn...@gm...<mailto:enn...@gm...>> >> >> >> > The problem with windows seems to be that many people are using it, >> > but it is not a preferred development system if you don't use visual >> > studio. >> Right. I still use Windows XP on my desktop, and Windows 7 on my laptop, >> and PAF for genealogy. >> >> I have the latest Xubuntu installed on both for Gramps development, and >> I would really like to have the new 3.4 running on Windows too, because >> I like the new Citation views. But for the moment it's much easier to >> reboot to Xubuntu, and do all the work there. >> >> That said, I can imagine using cygwin for development on windows. >> >> regards, >> >> Enno >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. >> Discussions >> will include endpoint security, mobile security and the latest in >> malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gramps-users mailing list >> Gra...@li... >> <mailto:Gra...@li...> >> https://lists.sourceforge.net/lists/listinfo/gramps-users >> >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Gramps-devel mailing list >> Gra...@li... >> https://lists.sourceforge.net/lists/listinfo/gramps-devel > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gramps-users mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-users |
From: Benny M. <ben...@gm...> - 2012-05-30 15:09:51
|
2012/5/30 Peter Landgren <pet...@te...> > > I have tried the "old" way without AIO. But Gramps windows installer is > no longer available > for Gramps 3.3.2 or later. > You don't need an installer, python is pure python. Just download the tar.gz file from sourceforge, extract it to a directory C:\gramps Rename const.py.in to const.py in that directory (open the file and edit it if you need to set some constants) Then if python is installed and dependencies installed good, go with powershell to C:\gramps: cd C:\gramps and type: python gramps.py which should start gramps up. if python is not found, make sure it is on your system path, see my other mail to edit the path Benny /Peter > > > > > > Jérôme skrev 2012-05-30 16:28: > > Note, the 'old/previous' installation with dependencies should still > > work for most Windows users. > > > > > http://www.gramps-project.org/wiki/index.php?title=Windows_installer#Installation > > > > > > Benny Malengier a écrit : > >> Indeed, we would need testing of the development version before release, > >> instead of waiting for a package and a release before doing some tests. > >> > >> For windows, I would suggest Notepad++, powershell and MinGW > >> (http://sourceforge.net/projects/mingw/files), and then build from > >> there. To create a wiki page for Win 7 or WinXP with all the steps > >> starting from a clean install of windows would be a good addition. > >> > >> For my own windows development, I wrote down the following some time > ago: > >> > >> 1. Install Notepad++ http://notepad-plus-plus.org/ We call it > text-editor > >> 2. Find the powershell program in your start menu. We call it terminal > >> 3. We need to install python. I installed: > >> http://www.enthought.com/products/epd_free.php and install the free > >> version of the Enthought Python Distribution (EPD)} for windows (32 of > >> 64 bit) > >> 4. Now we install the gcc compiler with the MinGW package > >> 4.1 Go to http://sourceforge.net/projects/mingw/files and download > MinGW > >> installer (normally link above with text latest version) > >> 4.2 Go to downloads, doubble-click mingw installer. > >> 4.3 add compiler to the windows path, following > >> http://www.computerhope.com/issues/ch000549.htm, so for Win 7: > >> * Right click 'My Computer' click 'Properties' > >> * Click on 'Advanced System settings' > >> * Click on 'Environment Variables' > >> * You see screen with at bottom list of variables, scroll down and > look > >> for 'Path', select and double click to edit > >> * WARNING: don't remove anything!! Go to the end of the line, and add, > >> starting with ; an extra directory. For my computer this is > >> ;C:\MinGW\bin\ > >> 4.4 At this moment MinGW contains an error we need to correct now > >> * Open Notepad$++$ and open the file > >> C:\Python27\Lib\distutils\cygwinccompiler.py > >> * This file contains an error, it uses the compiler flag -mno-cywin, > >> which is wwrong. > >> First save a copy of the file (Menu File->Safe copy), then edit the > >> file: search for -mno-cywin, and remove it _everywhere_ > >> * save the file > >> > >> 5. EPD misses a key library form of python, so create it by following > >> http://wiki.cython.org/InstallingOnWindows > >> 5.1 Download python27.def. If you want, you can make it yourself: > >> Download pexport programm, in powershell do > >> > >> pexports C:\Python27\python27.dll> python27.def > >> > >> 5.2. Now you have python27.def, create the .a library by doing: > >> dlltool --dllname C:\Python27\python27.dll --def python27.def > >> --output-lib C:\Python27\libs\libpython27.a > >> > >> 6. When you download python libraries, you should now be able to install > >> them with the powershell command > >> > >> python setup.py install build --compiler=mingw32 > >> > >> > >> So, above gives you editor, shell, python exe, and compiler to compile > >> extra things. With this you have all tools to build the requirements for > >> Gramps. > >> For Gramps, you now need gtk. I have no experience in going further, so > >> if somebody can extend this workflow up to the point of running Gramps? > >> Probably it will be needed to compile things, and then you need to be > >> sure that can be found by the compiler. What I do is: > >> > >> * copy needed dll's to C:\Python27\PCbuild (or to C:\Python27\Libs), and > >> copy the include directory with header files to C:\Python27\PC (or to > >> C:\Python27\include). > >> * edit the path variable as done above so these directories are found. > >> So path should be edited in total to contain at the end: > >> ;C:\Python27;C:\Python27\PCbuild > >> Replace here PCbuild with Libs if you chose Libs to copy stuff. Normally > >> now errors during compiling that stuff is not found will be fixed like > this. > >> > >> Benny > >> > >> 2012/5/30 Enno Borgsteede<enn...@gm...<mailto:enn...@gm... > >> > >> > >> > >> > The problem with windows seems to be that many people are > using it, > >> > but it is not a preferred development system if you don't use > visual > >> > studio. > >> Right. I still use Windows XP on my desktop, and Windows 7 on my > laptop, > >> and PAF for genealogy. > >> > >> I have the latest Xubuntu installed on both for Gramps > development, and > >> I would really like to have the new 3.4 running on Windows too, > because > >> I like the new Citation views. But for the moment it's much easier > to > >> reboot to Xubuntu, and do all the work there. > >> > >> That said, I can imagine using cygwin for development on windows. > >> > >> regards, > >> > >> Enno > >> > >> > >> > ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > >> Discussions > >> will include endpoint security, mobile security and the latest in > >> malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gramps-users mailing list > >> Gra...@li... > >> <mailto:Gra...@li...> > >> https://lists.sourceforge.net/lists/listinfo/gramps-users > >> > >> > >> > >> ------------------------------------------------------------------------ > >> > >> > ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > Discussions > >> will include endpoint security, mobile security and the latest in > malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> > >> > >> ------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> Gramps-devel mailing list > >> Gra...@li... > >> https://lists.sourceforge.net/lists/listinfo/gramps-devel > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gramps-users mailing list > > Gra...@li... > > https://lists.sourceforge.net/lists/listinfo/gramps-users > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gramps-users mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-users > |
From: jerome <rom...@ya...> - 2012-05-30 15:51:37
|
Should we try to build one? http://gramps.svn.sourceforge.net/viewvc/gramps/branches/maintenance/gramps34/windows/BUILD_WIN32.TXT --- En date de : Mer 30.5.12, Peter Landgren <pet...@te...> a écrit : > De: Peter Landgren <pet...@te...> > Objet: Re: [Gramps-users] [Gramps-devel] Release 3.4 for Windows XP > À: gra...@li... > Date: Mercredi 30 mai 2012, 16h57 > > I have tried the "old" way without AIO. But Gramps > windows installer is > no longer available > for Gramps 3.3.2 or later. > > /Peter > > > > > > Jérôme skrev 2012-05-30 16:28: > > Note, the 'old/previous' installation with dependencies > should still > > work for most Windows users. > > > > http://www.gramps-project.org/wiki/index.php?title=Windows_installer#Installation > > > > > > Benny Malengier a écrit : > >> Indeed, we would need testing of the development > version before release, > >> instead of waiting for a package and a release > before doing some tests. > >> > >> For windows, I would suggest Notepad++, > powershell and MinGW > >> (http://sourceforge.net/projects/mingw/files), and then > build from > >> there. To create a wiki page for Win 7 or WinXP > with all the steps > >> starting from a clean install of windows would be a > good addition. > >> > >> For my own windows development, I wrote down the > following some time ago: > >> > >> 1. Install Notepad++ http://notepad-plus-plus.org/ We call it text-editor > >> 2. Find the powershell program in your start menu. > We call it terminal > >> 3. We need to install python. I installed: > >> http://www.enthought.com/products/epd_free.php and > install the free > >> version of the Enthought Python Distribution (EPD)} > for windows (32 of > >> 64 bit) > >> 4. Now we install the gcc compiler with the MinGW > package > >> 4.1 Go to http://sourceforge.net/projects/mingw/files and > download MinGW > >> installer (normally link above with text latest > version) > >> 4.2 Go to downloads, doubble-click mingw > installer. > >> 4.3 add compiler to the windows path, following > >> http://www.computerhope.com/issues/ch000549.htm, so for > Win 7: > >> * Right click 'My > Computer' click 'Properties' > >> * Click on 'Advanced System > settings' > >> * Click on 'Environment > Variables' > >> * You see screen with at bottom > list of variables, scroll down and look > >> for 'Path', select and double click to edit > >> * WARNING: don't remove anything!! > Go to the end of the line, and add, > >> starting with ; an extra directory. For my > computer this is > >> ;C:\MinGW\bin\ > >> 4.4 At this moment MinGW contains an error we need > to correct now > >> * Open Notepad$++$ and open the file > >> C:\Python27\Lib\distutils\cygwinccompiler.py > >> * This file contains an error, it uses the compiler > flag -mno-cywin, > >> which is wwrong. > >> First save a copy of the file (Menu File->Safe > copy), then edit the > >> file: search for -mno-cywin, and remove it > _everywhere_ > >> * save the file > >> > >> 5. EPD misses a key library form of python, so > create it by following > >> http://wiki.cython.org/InstallingOnWindows > >> 5.1 Download python27.def. If you want, you > can make it yourself: > >> Download pexport programm, in powershell do > >> > >> pexports > C:\Python27\python27.dll> python27.def > >> > >> 5.2. Now you have python27.def, create the .a > library by doing: > >> dlltool --dllname > C:\Python27\python27.dll --def python27.def > >> --output-lib C:\Python27\libs\libpython27.a > >> > >> 6. When you download python libraries, you should > now be able to install > >> them with the powershell command > >> > >> python setup.py install build > --compiler=mingw32 > >> > >> > >> So, above gives you editor, shell, python exe, and > compiler to compile > >> extra things. With this you have all tools to build > the requirements for > >> Gramps. > >> For Gramps, you now need gtk. I have no experience > in going further, so > >> if somebody can extend this workflow up to the > point of running Gramps? > >> Probably it will be needed to compile things, and > then you need to be > >> sure that can be found by the compiler. What I do > is: > >> > >> * copy needed dll's to C:\Python27\PCbuild (or to > C:\Python27\Libs), and > >> copy the include directory with header files > to C:\Python27\PC (or to > >> C:\Python27\include). > >> * edit the path variable as done above so these > directories are found. > >> So path should be edited in total to contain at the > end: > >> ;C:\Python27;C:\Python27\PCbuild > >> Replace here PCbuild with Libs if you chose Libs to > copy stuff. Normally > >> now errors during compiling that stuff is not found > will be fixed like this. > >> > >> Benny > >> > >> 2012/5/30 Enno Borgsteede<enn...@gm...<mailto:enn...@gm...>> > >> > >> > >> > The > problem with windows seems to be that many people are using > it, > >> > but it is > not a preferred development system if you don't use visual > >> > studio. > >> Right. I still use Windows XP > on my desktop, and Windows 7 on my laptop, > >> and PAF for genealogy. > >> > >> I have the latest Xubuntu > installed on both for Gramps development, and > >> I would really like to have the > new 3.4 running on Windows too, because > >> I like the new Citation views. > But for the moment it's much easier to > >> reboot to Xubuntu, and do all > the work there. > >> > >> That said, I can imagine using > cygwin for development on windows. > >> > >> regards, > >> > >> Enno > >> > >> > >> > ------------------------------------------------------------------------------ > >> Live Security Virtual > Conference > >> Exclusive live event will cover > all the ways today's security and > >> threat landscape has changed > and how IT managers can respond. > >> Discussions > >> will include endpoint security, > mobile security and the latest in > >> malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> > _______________________________________________ > >> Gramps-users mailing list > >> Gra...@li... > >> <mailto:Gra...@li...> > >> https://lists.sourceforge.net/lists/listinfo/gramps-users > >> > >> > >> > >> > ------------------------------------------------------------------------ > >> > >> > ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways > today's security and > >> threat landscape has changed and how IT managers > can respond. Discussions > >> will include endpoint security, mobile security and > the latest in malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> > >> > >> > ------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> Gramps-devel mailing list > >> Gra...@li... > >> https://lists.sourceforge.net/lists/listinfo/gramps-devel > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's > security and > > threat landscape has changed and how IT managers can > respond. Discussions > > will include endpoint security, mobile security and the > latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gramps-users mailing list > > Gra...@li... > > https://lists.sourceforge.net/lists/listinfo/gramps-users > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gramps-users mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-users > |
From: Peter L. <pet...@te...> - 2012-05-30 16:14:31
|
Yes, why not. I'm not sitting by my ordinary Linux box. Having a Win 7 laptop ahead of me during my time with a bad back. With the method below I get problems with PREDFIXDIR and no translations, no xx.mo files. Peter jerome skrev 2012-05-30 17:51: > Should we try to build one? > > http://gramps.svn.sourceforge.net/viewvc/gramps/branches/maintenance/gramps34/windows/BUILD_WIN32.TXT > > --- En date de : Mer 30.5.12, Peter Landgren<pet...@te...> a écrit : > >> De: Peter Landgren<pet...@te...> >> Objet: Re: [Gramps-users] [Gramps-devel] Release 3.4 for Windows XP >> À: gra...@li... >> Date: Mercredi 30 mai 2012, 16h57 >> >> I have tried the "old" way without AIO. But Gramps >> windows installer is >> no longer available >> for Gramps 3.3.2 or later. >> >> /Peter >> >> >> >> >> >> Jérôme skrev 2012-05-30 16:28: >>> Note, the 'old/previous' installation with dependencies >> should still >>> work for most Windows users. >>> >>> http://www.gramps-project.org/wiki/index.php?title=Windows_installer#Installation >>> >>> >>> Benny Malengier a écrit : >>>> Indeed, we would need testing of the development >> version before release, >>>> instead of waiting for a package and a release >> before doing some tests. >>>> For windows, I would suggest Notepad++, >> powershell and MinGW >>>> (http://sourceforge.net/projects/mingw/files), and then >> build from >>>> there. To create a wiki page for Win 7 or WinXP >> with all the steps >>>> starting from a clean install of windows would be a >> good addition. >>>> For my own windows development, I wrote down the >> following some time ago: >>>> 1. Install Notepad++ http://notepad-plus-plus.org/ We call it text-editor >>>> 2. Find the powershell program in your start menu. >> We call it terminal >>>> 3. We need to install python. I installed: >>>> http://www.enthought.com/products/epd_free.php and >> install the free >>>> version of the Enthought Python Distribution (EPD)} >> for windows (32 of >>>> 64 bit) >>>> 4. Now we install the gcc compiler with the MinGW >> package >>>> 4.1 Go to http://sourceforge.net/projects/mingw/files and >> download MinGW >>>> installer (normally link above with text latest >> version) >>>> 4.2 Go to downloads, doubble-click mingw >> installer. >>>> 4.3 add compiler to the windows path, following >>>> http://www.computerhope.com/issues/ch000549.htm, so for >> Win 7: >>>> * Right click 'My >> Computer' click 'Properties' >>>> * Click on 'Advanced System >> settings' >>>> * Click on 'Environment >> Variables' >>>> * You see screen with at bottom >> list of variables, scroll down and look >>>> for 'Path', select and double click to edit >>>> * WARNING: don't remove anything!! >> Go to the end of the line, and add, >>>> starting with ; an extra directory. For my >> computer this is >>>> ;C:\MinGW\bin\ >>>> 4.4 At this moment MinGW contains an error we need >> to correct now >>>> * Open Notepad$++$ and open the file >>>> C:\Python27\Lib\distutils\cygwinccompiler.py >>>> * This file contains an error, it uses the compiler >> flag -mno-cywin, >>>> which is wwrong. >>>> First save a copy of the file (Menu File->Safe >> copy), then edit the >>>> file: search for -mno-cywin, and remove it >> _everywhere_ >>>> * save the file >>>> >>>> 5. EPD misses a key library form of python, so >> create it by following >>>> http://wiki.cython.org/InstallingOnWindows >>>> 5.1 Download python27.def. If you want, you >> can make it yourself: >>>> Download pexport programm, in powershell do >>>> >>>> pexports >> C:\Python27\python27.dll> python27.def >>>> 5.2. Now you have python27.def, create the .a >> library by doing: >>>> dlltool --dllname >> C:\Python27\python27.dll --def python27.def >>>> --output-lib C:\Python27\libs\libpython27.a >>>> >>>> 6. When you download python libraries, you should >> now be able to install >>>> them with the powershell command >>>> >>>> python setup.py install build >> --compiler=mingw32 >>>> >>>> So, above gives you editor, shell, python exe, and >> compiler to compile >>>> extra things. With this you have all tools to build >> the requirements for >>>> Gramps. >>>> For Gramps, you now need gtk. I have no experience >> in going further, so >>>> if somebody can extend this workflow up to the >> point of running Gramps? >>>> Probably it will be needed to compile things, and >> then you need to be >>>> sure that can be found by the compiler. What I do >> is: >>>> * copy needed dll's to C:\Python27\PCbuild (or to >> C:\Python27\Libs), and >>>> copy the include directory with header files >> to C:\Python27\PC (or to >>>> C:\Python27\include). >>>> * edit the path variable as done above so these >> directories are found. >>>> So path should be edited in total to contain at the >> end: >>>> ;C:\Python27;C:\Python27\PCbuild >>>> Replace here PCbuild with Libs if you chose Libs to >> copy stuff. Normally >>>> now errors during compiling that stuff is not found >> will be fixed like this. >>>> Benny >>>> >>>> 2012/5/30 Enno Borgsteede<enn...@gm...<mailto:enn...@gm...>> >>>> >>>> >>>> > The >> problem with windows seems to be that many people are using >> it, >>>> > but it is >> not a preferred development system if you don't use visual >>>> > studio. >>>> Right. I still use Windows XP >> on my desktop, and Windows 7 on my laptop, >>>> and PAF for genealogy. >>>> >>>> I have the latest Xubuntu >> installed on both for Gramps development, and >>>> I would really like to have the >> new 3.4 running on Windows too, because >>>> I like the new Citation views. >> But for the moment it's much easier to >>>> reboot to Xubuntu, and do all >> the work there. >>>> That said, I can imagine using >> cygwin for development on windows. >>>> regards, >>>> >>>> Enno >>>> >>>> >>>> >> ------------------------------------------------------------------------------ >>>> Live Security Virtual >> Conference >>>> Exclusive live event will cover >> all the ways today's security and >>>> threat landscape has changed >> and how IT managers can respond. >>>> Discussions >>>> will include endpoint security, >> mobile security and the latest in >>>> malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> >> _______________________________________________ >>>> Gramps-users mailing list >>>> Gra...@li... >>>> <mailto:Gra...@li...> >>>> https://lists.sourceforge.net/lists/listinfo/gramps-users >>>> >>>> >>>> >>>> >> ------------------------------------------------------------------------ >>>> >> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways >> today's security and >>>> threat landscape has changed and how IT managers >> can respond. Discussions >>>> will include endpoint security, mobile security and >> the latest in malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> >>>> >>>> >> ------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Gramps-devel mailing list >>>> Gra...@li... >>>> https://lists.sourceforge.net/lists/listinfo/gramps-devel >>> >> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's >> security and >>> threat landscape has changed and how IT managers can >> respond. Discussions >>> will include endpoint security, mobile security and the >> latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Gramps-users mailing list >>> Gra...@li... >>> https://lists.sourceforge.net/lists/listinfo/gramps-users >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's >> security and >> threat landscape has changed and how IT managers can >> respond. Discussions >> will include endpoint security, mobile security and the >> latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gramps-users mailing list >> Gra...@li... >> https://lists.sourceforge.net/lists/listinfo/gramps-users >> |
From: jerome <rom...@ya...> - 2012-05-30 17:07:36
|
There is a quick and dirty solution for getting translations... Download one RPM or DEB package, uncompress it by using 'cpio'[1] or 'ar'[2]! Else, there is still 'msgfmt.exe': http://sourceforge.net/projects/gnuwin32/files/gettext/0.14.4/ or we can generate a set of compiled translations for you, because it seems that you said that one gettext file formated under linux, could be used under Windows too. [1] http://gnuwin32.sourceforge.net/packages/cpio.htm [2] http://www.gnu.org/software/binutils/ --- En date de : Mer 30.5.12, Peter Landgren <pet...@te...> a écrit : > De: Peter Landgren <pet...@te...> > Objet: Re: [Gramps-users] [Gramps-devel] Release 3.4 for Windows XP > À: "jerome" <rom...@ya...> > Cc: gra...@li... > Date: Mercredi 30 mai 2012, 18h14 > Yes, why not. > > I'm not sitting by my ordinary Linux box. > Having a Win 7 laptop ahead of me during my time > with a bad back. > > With the method below I get problems with PREDFIXDIR > and no translations, no xx.mo files. > > Peter > > jerome skrev 2012-05-30 17:51: > > Should we try to build one? > > > > http://gramps.svn.sourceforge.net/viewvc/gramps/branches/maintenance/gramps34/windows/BUILD_WIN32.TXT > > > > --- En date de : Mer 30.5.12, Peter Landgren<pet...@te...> > a écrit : > > > >> De: Peter Landgren<pet...@te...> > >> Objet: Re: [Gramps-users] [Gramps-devel] > Release 3.4 for Windows XP > >> À: gra...@li... > >> Date: Mercredi 30 mai 2012, 16h57 > >> > >> I have tried the "old" way without AIO. But > Gramps > >> windows installer is > >> no longer available > >> for Gramps 3.3.2 or later. > >> > >> /Peter > >> > >> > >> > >> > >> > >> Jérôme skrev 2012-05-30 16:28: > >>> Note, the 'old/previous' installation with > dependencies > >> should still > >>> work for most Windows users. > >>> > >>> http://www.gramps-project.org/wiki/index.php?title=Windows_installer#Installation > >>> > >>> > >>> Benny Malengier a écrit : > >>>> Indeed, we would need testing of the > development > >> version before release, > >>>> instead of waiting for a package and a > release > >> before doing some tests. > >>>> For windows, I would suggest > Notepad++, > >> powershell and MinGW > >>>> (http://sourceforge.net/projects/mingw/files), and then > >> build from > >>>> there. To create a wiki page for Win 7 or > WinXP > >> with all the steps > >>>> starting from a clean install of windows > would be a > >> good addition. > >>>> For my own windows development, I wrote > down the > >> following some time ago: > >>>> 1. Install Notepad++ http://notepad-plus-plus.org/ We call it text-editor > >>>> 2. Find the powershell program in your > start menu. > >> We call it terminal > >>>> 3. We need to install python. I installed: > >>>> http://www.enthought.com/products/epd_free.php and > >> install the free > >>>> version of the Enthought Python > Distribution (EPD)} > >> for windows (32 of > >>>> 64 bit) > >>>> 4. Now we install the gcc compiler with the > MinGW > >> package > >>>> 4.1 Go to http://sourceforge.net/projects/mingw/files and > >> download MinGW > >>>> installer (normally link above with text > latest > >> version) > >>>> 4.2 Go to downloads, doubble-click > mingw > >> installer. > >>>> 4.3 add compiler to the windows path, > following > >>>> http://www.computerhope.com/issues/ch000549.htm, so > for > >> Win 7: > >>>> * Right click > 'My > >> Computer' click 'Properties' > >>>> * Click on > 'Advanced System > >> settings' > >>>> * Click on > 'Environment > >> Variables' > >>>> * You see screen > with at bottom > >> list of variables, scroll down and look > >>>> for 'Path', select and double click to > edit > >>>> * WARNING: don't > remove anything!! > >> Go to the end of the line, and add, > >>>> starting with ; an extra directory. > For my > >> computer this is > >>>> > ;C:\MinGW\bin\ > >>>> 4.4 At this moment MinGW contains an error > we need > >> to correct now > >>>> * Open Notepad$++$ and open the file > >>>> > C:\Python27\Lib\distutils\cygwinccompiler.py > >>>> * This file contains an error, it uses the > compiler > >> flag -mno-cywin, > >>>> which is wwrong. > >>>> First save a copy of the file (Menu > File->Safe > >> copy), then edit the > >>>> file: search for -mno-cywin, and > remove it > >> _everywhere_ > >>>> * save the file > >>>> > >>>> 5. EPD misses a key library form of python, > so > >> create it by following > >>>> http://wiki.cython.org/InstallingOnWindows > >>>> 5.1 Download python27.def. If you > want, you > >> can make it yourself: > >>>> Download pexport programm, in powershell > do > >>>> > >>>> pexports > >> > C:\Python27\python27.dll> python27.def > >>>> 5.2. Now you have python27.def, create the > .a > >> library by doing: > >>>> dlltool --dllname > >> C:\Python27\python27.dll --def python27.def > >>>> --output-lib > C:\Python27\libs\libpython27.a > >>>> > >>>> 6. When you download python libraries, you > should > >> now be able to install > >>>> them with the powershell command > >>>> > >>>> python setup.py > install build > >> --compiler=mingw32 > >>>> > >>>> So, above gives you editor, shell, python > exe, and > >> compiler to compile > >>>> extra things. With this you have all tools > to build > >> the requirements for > >>>> Gramps. > >>>> For Gramps, you now need gtk. I have no > experience > >> in going further, so > >>>> if somebody can extend this workflow up to > the > >> point of running Gramps? > >>>> Probably it will be needed to compile > things, and > >> then you need to be > >>>> sure that can be found by the compiler. > What I do > >> is: > >>>> * copy needed dll's to C:\Python27\PCbuild > (or to > >> C:\Python27\Libs), and > >>>> copy the include directory with header > files > >> to C:\Python27\PC (or to > >>>> C:\Python27\include). > >>>> * edit the path variable as done above so > these > >> directories are found. > >>>> So path should be edited in total to > contain at the > >> end: > >>>> ;C:\Python27;C:\Python27\PCbuild > >>>> Replace here PCbuild with Libs if you chose > Libs to > >> copy stuff. Normally > >>>> now errors during compiling that stuff is > not found > >> will be fixed like this. > >>>> Benny > >>>> > >>>> 2012/5/30 Enno Borgsteede<enn...@gm...<mailto:enn...@gm...>> > >>>> > >>>> > >>>> > > The > >> problem with windows seems to be that many people > are using > >> it, > >>>> > > but it is > >> not a preferred development system if you don't use > visual > >>>> > > studio. > >>>> Right. I still > use Windows XP > >> on my desktop, and Windows 7 on my laptop, > >>>> and PAF for > genealogy. > >>>> > >>>> I have the > latest Xubuntu > >> installed on both for Gramps development, and > >>>> I would really > like to have the > >> new 3.4 running on Windows too, because > >>>> I like the new > Citation views. > >> But for the moment it's much easier to > >>>> reboot to > Xubuntu, and do all > >> the work there. > >>>> That said, I can > imagine using > >> cygwin for development on windows. > >>>> regards, > >>>> > >>>> Enno > >>>> > >>>> > >>>> > >> > ------------------------------------------------------------------------------ > >>>> Live Security > Virtual > >> Conference > >>>> Exclusive live > event will cover > >> all the ways today's security and > >>>> threat landscape > has changed > >> and how IT managers can respond. > >>>> Discussions > >>>> will include > endpoint security, > >> mobile security and the latest in > >>>> malware > >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>> > >> _______________________________________________ > >>>> Gramps-users > mailing list > >>>> Gra...@li... > >>>> <mailto:Gra...@li...> > >>>> https://lists.sourceforge.net/lists/listinfo/gramps-users > >>>> > >>>> > >>>> > >>>> > >> > ------------------------------------------------------------------------ > >>>> > >> > ------------------------------------------------------------------------------ > >>>> Live Security Virtual Conference > >>>> Exclusive live event will cover all the > ways > >> today's security and > >>>> threat landscape has changed and how IT > managers > >> can respond. Discussions > >>>> will include endpoint security, mobile > security and > >> the latest in malware > >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>> > >>>> > >>>> > >> > ------------------------------------------------------------------------ > >>>> > _______________________________________________ > >>>> Gramps-devel mailing list > >>>> Gra...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/gramps-devel > >>> > >> > ------------------------------------------------------------------------------ > >>> Live Security Virtual Conference > >>> Exclusive live event will cover all the ways > today's > >> security and > >>> threat landscape has changed and how IT > managers can > >> respond. Discussions > >>> will include endpoint security, mobile security > and the > >> latest in malware > >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>> > _______________________________________________ > >>> Gramps-users mailing list > >>> Gra...@li... > >>> https://lists.sourceforge.net/lists/listinfo/gramps-users > >> > >> > ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways > today's > >> security and > >> threat landscape has changed and how IT managers > can > >> respond. Discussions > >> will include endpoint security, mobile security and > the > >> latest in malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gramps-users mailing list > >> Gra...@li... > >> https://lists.sourceforge.net/lists/listinfo/gramps-users > >> > > |
From: Peter L. <pet...@te...> - 2012-05-30 17:21:21
|
I found that I could build it in win, but I run into C:\Users\Peter\Mina dokument\grampsbuild>python C:\Users\Peter\Documents\grampsbuild\builder\build_GrampsWin32.py -t C:\U sers\Peter\Documents\Downloads\gramps-3.4.0.tar.gz This is a tarball build INFO Setting outdir to C:\Users\Peter\Mina dokument\grampsbuild ======= build_GrampsWin32.py -t C:\Users\Peter\Documents\Downloads\gramps-3.4.0.tar.gz ======== INFO Platform: win32 INFO NSIS version 2.46 INFO GrampsVersion: 3.4.0-1 INFO Cleaning build and output directories INFO expandTarBall(C:\Users\Peter\Documents\Downloads\gramps-3.4.0.tar.gz, C:\Users\Peter\Mina dokument\grampsbuild) ERROR FAILED: extractDir=C:\Users\Peter\Mina dokument\grampsbuild\gramps-3.4.0, build_root=C:\Users\Peter\Mina dokument \grampsbuild\gramps-3.4.0-1 Traceback (most recent call last): File "C:\Users\Peter\Documents\grampsbuild\builder\build_GrampsWin32.py", line 661, in <module> sys.exit(buildGRAMPS(repository_path,out_dir, bTarball)) File "C:\Users\Peter\Documents\grampsbuild\builder\build_GrampsWin32.py", line 527, in buildGRAMPS bo.expandTarBall(base, bo.out_dir) File "C:\Users\Peter\Documents\grampsbuild\builder\build_GrampsWin32.py", line 461, in expandTarBall raise WindowsError, e WindowsError: [Error 5] Access denied Can't understand why "Access denied" /Peter jerome skrev 2012-05-30 19:07: > There is a quick and dirty solution for getting translations... > Download one RPM or DEB package, uncompress it by using 'cpio'[1] or 'ar'[2]! > > Else, there is still 'msgfmt.exe': > http://sourceforge.net/projects/gnuwin32/files/gettext/0.14.4/ > or we can generate a set of compiled translations for you, because it seems that you said that one gettext file formated under linux, could be used under Windows too. > > [1] http://gnuwin32.sourceforge.net/packages/cpio.htm > [2] http://www.gnu.org/software/binutils/ > > > --- En date de : Mer 30.5.12, Peter Landgren<pet...@te...> a écrit : > >> De: Peter Landgren<pet...@te...> >> Objet: Re: [Gramps-users] [Gramps-devel] Release 3.4 for Windows XP >> À: "jerome"<rom...@ya...> >> Cc: gra...@li... >> Date: Mercredi 30 mai 2012, 18h14 >> Yes, why not. >> >> I'm not sitting by my ordinary Linux box. >> Having a Win 7 laptop ahead of me during my time >> with a bad back. >> >> With the method below I get problems with PREDFIXDIR >> and no translations, no xx.mo files. >> >> Peter >> >> jerome skrev 2012-05-30 17:51: >>> Should we try to build one? >>> >>> http://gramps.svn.sourceforge.net/viewvc/gramps/branches/maintenance/gramps34/windows/BUILD_WIN32.TXT >>> >>> --- En date de : Mer 30.5.12, Peter Landgren<pet...@te...> >> a écrit : >>>> De: Peter Landgren<pet...@te...> >>>> Objet: Re: [Gramps-users] [Gramps-devel] >> Release 3.4 for Windows XP >>>> À: gra...@li... >>>> Date: Mercredi 30 mai 2012, 16h57 >>>> >>>> I have tried the "old" way without AIO. But >> Gramps >>>> windows installer is >>>> no longer available >>>> for Gramps 3.3.2 or later. >>>> >>>> /Peter >>>> >>>> >>>> >>>> >>>> >>>> Jérôme skrev 2012-05-30 16:28: >>>>> Note, the 'old/previous' installation with >> dependencies >>>> should still >>>>> work for most Windows users. >>>>> >>>>> http://www.gramps-project.org/wiki/index.php?title=Windows_installer#Installation >>>>> >>>>> >>>>> Benny Malengier a écrit : >>>>>> Indeed, we would need testing of the >> development >>>> version before release, >>>>>> instead of waiting for a package and a >> release >>>> before doing some tests. >>>>>> For windows, I would suggest >> Notepad++, >>>> powershell and MinGW >>>>>> (http://sourceforge.net/projects/mingw/files), and then >>>> build from >>>>>> there. To create a wiki page for Win 7 or >> WinXP >>>> with all the steps >>>>>> starting from a clean install of windows >> would be a >>>> good addition. >>>>>> For my own windows development, I wrote >> down the >>>> following some time ago: >>>>>> 1. Install Notepad++ http://notepad-plus-plus.org/ We call it text-editor >>>>>> 2. Find the powershell program in your >> start menu. >>>> We call it terminal >>>>>> 3. We need to install python. I installed: >>>>>> http://www.enthought.com/products/epd_free.php and >>>> install the free >>>>>> version of the Enthought Python >> Distribution (EPD)} >>>> for windows (32 of >>>>>> 64 bit) >>>>>> 4. Now we install the gcc compiler with the >> MinGW >>>> package >>>>>> 4.1 Go to http://sourceforge.net/projects/mingw/files and >>>> download MinGW >>>>>> installer (normally link above with text >> latest >>>> version) >>>>>> 4.2 Go to downloads, doubble-click >> mingw >>>> installer. >>>>>> 4.3 add compiler to the windows path, >> following >>>>>> http://www.computerhope.com/issues/ch000549.htm, so >> for >>>> Win 7: >>>>>> * Right click >> 'My >>>> Computer' click 'Properties' >>>>>> * Click on >> 'Advanced System >>>> settings' >>>>>> * Click on >> 'Environment >>>> Variables' >>>>>> * You see screen >> with at bottom >>>> list of variables, scroll down and look >>>>>> for 'Path', select and double click to >> edit >>>>>> * WARNING: don't >> remove anything!! >>>> Go to the end of the line, and add, >>>>>> starting with ; an extra directory. >> For my >>>> computer this is >>>>>> >> ;C:\MinGW\bin\ >>>>>> 4.4 At this moment MinGW contains an error >> we need >>>> to correct now >>>>>> * Open Notepad$++$ and open the file >>>>>> >> C:\Python27\Lib\distutils\cygwinccompiler.py >>>>>> * This file contains an error, it uses the >> compiler >>>> flag -mno-cywin, >>>>>> which is wwrong. >>>>>> First save a copy of the file (Menu >> File->Safe >>>> copy), then edit the >>>>>> file: search for -mno-cywin, and >> remove it >>>> _everywhere_ >>>>>> * save the file >>>>>> >>>>>> 5. EPD misses a key library form of python, >> so >>>> create it by following >>>>>> http://wiki.cython.org/InstallingOnWindows >>>>>> 5.1 Download python27.def. If you >> want, you >>>> can make it yourself: >>>>>> Download pexport programm, in powershell >> do >>>>>> pexports >> C:\Python27\python27.dll> python27.def >>>>>> 5.2. Now you have python27.def, create the >> .a >>>> library by doing: >>>>>> dlltool --dllname >>>> C:\Python27\python27.dll --def python27.def >>>>>> --output-lib >> C:\Python27\libs\libpython27.a >>>>>> 6. When you download python libraries, you >> should >>>> now be able to install >>>>>> them with the powershell command >>>>>> >>>>>> python setup.py >> install build >>>> --compiler=mingw32 >>>>>> So, above gives you editor, shell, python >> exe, and >>>> compiler to compile >>>>>> extra things. With this you have all tools >> to build >>>> the requirements for >>>>>> Gramps. >>>>>> For Gramps, you now need gtk. I have no >> experience >>>> in going further, so >>>>>> if somebody can extend this workflow up to >> the >>>> point of running Gramps? >>>>>> Probably it will be needed to compile >> things, and >>>> then you need to be >>>>>> sure that can be found by the compiler. >> What I do >>>> is: >>>>>> * copy needed dll's to C:\Python27\PCbuild >> (or to >>>> C:\Python27\Libs), and >>>>>> copy the include directory with header >> files >>>> to C:\Python27\PC (or to >>>>>> C:\Python27\include). >>>>>> * edit the path variable as done above so >> these >>>> directories are found. >>>>>> So path should be edited in total to >> contain at the >>>> end: >>>>>> ;C:\Python27;C:\Python27\PCbuild >>>>>> Replace here PCbuild with Libs if you chose >> Libs to >>>> copy stuff. Normally >>>>>> now errors during compiling that stuff is >> not found >>>> will be fixed like this. >>>>>> Benny >>>>>> >>>>>> 2012/5/30 Enno Borgsteede<enn...@gm...<mailto:enn...@gm...>> >>>>>> >>>>>> >>>>>> >> > The >>>> problem with windows seems to be that many people >> are using >>>> it, >>>>>> >> > but it is >>>> not a preferred development system if you don't use >> visual >>>>>> >> > studio. >>>>>> Right. I still >> use Windows XP >>>> on my desktop, and Windows 7 on my laptop, >>>>>> and PAF for >> genealogy. >>>>>> I have the >> latest Xubuntu >>>> installed on both for Gramps development, and >>>>>> I would really >> like to have the >>>> new 3.4 running on Windows too, because >>>>>> I like the new >> Citation views. >>>> But for the moment it's much easier to >>>>>> reboot to >> Xubuntu, and do all >>>> the work there. >>>>>> That said, I can >> imagine using >>>> cygwin for development on windows. >>>>>> regards, >>>>>> >>>>>> Enno >>>>>> >>>>>> >>>>>> >> ------------------------------------------------------------------------------ >>>>>> Live Security >> Virtual >>>> Conference >>>>>> Exclusive live >> event will cover >>>> all the ways today's security and >>>>>> threat landscape >> has changed >>>> and how IT managers can respond. >>>>>> Discussions >>>>>> will include >> endpoint security, >>>> mobile security and the latest in >>>>>> malware >>>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>>> >>>> _______________________________________________ >>>>>> Gramps-users >> mailing list >>>>>> Gra...@li... >>>>>> <mailto:Gra...@li...> >>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users >>>>>> >>>>>> >>>>>> >>>>>> >> ------------------------------------------------------------------------ >> ------------------------------------------------------------------------------ >>>>>> Live Security Virtual Conference >>>>>> Exclusive live event will cover all the >> ways >>>> today's security and >>>>>> threat landscape has changed and how IT >> managers >>>> can respond. Discussions >>>>>> will include endpoint security, mobile >> security and >>>> the latest in malware >>>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>>> >>>>>> >>>>>> >> ------------------------------------------------------------------------ >> _______________________________________________ >>>>>> Gramps-devel mailing list >>>>>> Gra...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-devel >> ------------------------------------------------------------------------------ >>>>> Live Security Virtual Conference >>>>> Exclusive live event will cover all the ways >> today's >>>> security and >>>>> threat landscape has changed and how IT >> managers can >>>> respond. Discussions >>>>> will include endpoint security, mobile security >> and the >>>> latest in malware >>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>> >> _______________________________________________ >>>>> Gramps-users mailing list >>>>> Gra...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users >>>> >> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways >> today's >>>> security and >>>> threat landscape has changed and how IT managers >> can >>>> respond. Discussions >>>> will include endpoint security, mobile security and >> the >>>> latest in malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> Gramps-users mailing list >>>> Gra...@li... >>>> https://lists.sourceforge.net/lists/listinfo/gramps-users >>>> >> |
From: Stephen G. <ste...@op...> - 2012-05-31 05:16:34
|
Hi Peter, I updated the build_GrampsWin32.py script At revision: 19720 in Trunk It possibly will work for you now. Since I see many comments that 3.4.0 is broken for windows I am reluctant to publicly publish the minimal installer it generated as if it is that broken it will generate many bug reports. (Note: the minimal installer is NOT the AIO installer) [SVNWORKINGCOPY]\windows\BUILD_WIN32.TXT contains build instructions If your wanting to use this to test trunk then easiest to update your trunk working copy to at least rev. 19720 , cd [SVNWORKINGCOPY]\windows\builder then run the script build_GrampsWin32.py without parameters, it will create a development installer, ignore the installer, and just run Gramps directly from the intermediate build directory. ( not in builder directory, but one level up in the directory named 'windows' ) i.e. for me C:\SVNGrampsTrunk2\windows\gramps-3.5.0-SVN19720\src\gramps.py As long as all the prerequisites are present then the languages files will also be built. I no need to remind you not to use this version on a real database - create a test database. The way you were using it below is fine if you want to build the released version from tarball My first delivery rev. 19719 should have fixed that problem. The second delivery 19720 was because I found when trying to make the developer installer it was hanging on svn export, which spits out a lot of output and possibly blocking Popen child process from completing. So changed the Popen usage. I've tested the script with both python 2.6 and python 2.7 on Win7 64bit machines with 32 bit python installed, and it now works here. let me know if it doesn't work for you. Steve On 31/05/2012 3:21 AM, Peter Landgren wrote: > I found that I could build it in win, but I run into > > C:\Users\Peter\Mina dokument\grampsbuild>python > C:\Users\Peter\Documents\grampsbuild\builder\build_GrampsWin32.py -t C:\U > sers\Peter\Documents\Downloads\gramps-3.4.0.tar.gz > This is a tarball build > INFO Setting outdir to C:\Users\Peter\Mina dokument\grampsbuild > ======= build_GrampsWin32.py -t > C:\Users\Peter\Documents\Downloads\gramps-3.4.0.tar.gz ======== > INFO Platform: win32 > INFO NSIS version 2.46 > INFO GrampsVersion: 3.4.0-1 > INFO Cleaning build and output directories > INFO > expandTarBall(C:\Users\Peter\Documents\Downloads\gramps-3.4.0.tar.gz, > C:\Users\Peter\Mina dokument\grampsbuild) > > ERROR FAILED: extractDir=C:\Users\Peter\Mina > dokument\grampsbuild\gramps-3.4.0, build_root=C:\Users\Peter\Mina dokument > \grampsbuild\gramps-3.4.0-1 > Traceback (most recent call last): > File > "C:\Users\Peter\Documents\grampsbuild\builder\build_GrampsWin32.py", > line 661, in<module> > sys.exit(buildGRAMPS(repository_path,out_dir, bTarball)) > File > "C:\Users\Peter\Documents\grampsbuild\builder\build_GrampsWin32.py", > line 527, in buildGRAMPS > bo.expandTarBall(base, bo.out_dir) > File > "C:\Users\Peter\Documents\grampsbuild\builder\build_GrampsWin32.py", > line 461, in expandTarBall > raise WindowsError, e > WindowsError: [Error 5] Access denied > > Can't understand why "Access denied" > > /Peter > > jerome skrev 2012-05-30 19:07: >> There is a quick and dirty solution for getting translations... >> Download one RPM or DEB package, uncompress it by using 'cpio'[1] or 'ar'[2]! >> >> Else, there is still 'msgfmt.exe': >> http://sourceforge.net/projects/gnuwin32/files/gettext/0.14.4/ >> or we can generate a set of compiled translations for you, because it seems that you said that one gettext file formated under linux, could be used under Windows too. >> >> [1]http://gnuwin32.sourceforge.net/packages/cpio.htm >> [2]http://www.gnu.org/software/binutils/ >> >> >> --- En date de : Mer 30.5.12, Peter Landgren<pet...@te...> a écrit : >> >>> De: Peter Landgren<pet...@te...> >>> Objet: Re: [Gramps-users] [Gramps-devel] Release 3.4 for Windows XP >>> À: "jerome"<rom...@ya...> >>> Cc:gra...@li... >>> Date: Mercredi 30 mai 2012, 18h14 >>> Yes, why not. >>> >>> I'm not sitting by my ordinary Linux box. >>> Having a Win 7 laptop ahead of me during my time >>> with a bad back. >>> >>> With the method below I get problems with PREDFIXDIR >>> and no translations, no xx.mo files. >>> >>> Peter >>> >>> jerome skrev 2012-05-30 17:51: >>>> Should we try to build one? >>>> >>>> http://gramps.svn.sourceforge.net/viewvc/gramps/branches/maintenance/gramps34/windows/BUILD_WIN32.TXT >>>> >>>> --- En date de : Mer 30.5.12, Peter Landgren<pet...@te...> >>> a écrit : >>>>> De: Peter Landgren<pet...@te...> >>>>> Objet: Re: [Gramps-users] [Gramps-devel] >>> Release 3.4 for Windows XP >>>>> À:gra...@li... >>>>> Date: Mercredi 30 mai 2012, 16h57 >>>>> >>>>> I have tried the "old" way without AIO. But >>> Gramps >>>>> windows installer is >>>>> no longer available >>>>> for Gramps 3.3.2 or later. >>>>> >>>>> /Peter >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Jérôme skrev 2012-05-30 16:28: >>>>>> Note, the 'old/previous' installation with >>> dependencies >>>>> should still >>>>>> work for most Windows users. >>>>>> >>>>>> http://www.gramps-project.org/wiki/index.php?title=Windows_installer#Installation >>>>>> >>>>>> >>>>>> Benny Malengier a écrit : >>>>>>> Indeed, we would need testing of the >>> development >>>>> version before release, >>>>>>> instead of waiting for a package and a >>> release >>>>> before doing some tests. >>>>>>> For windows, I would suggest >>> Notepad++, >>>>> powershell and MinGW >>>>>>> (http://sourceforge.net/projects/mingw/files), and then >>>>> build from >>>>>>> there. To create a wiki page for Win 7 or >>> WinXP >>>>> with all the steps >>>>>>> starting from a clean install of windows >>> would be a >>>>> good addition. >>>>>>> For my own windows development, I wrote >>> down the >>>>> following some time ago: >>>>>>> 1. Install Notepad++http://notepad-plus-plus.org/ We call it text-editor >>>>>>> 2. Find the powershell program in your >>> start menu. >>>>> We call it terminal >>>>>>> 3. We need to install python. I installed: >>>>>>> http://www.enthought.com/products/epd_free.php and >>>>> install the free >>>>>>> version of the Enthought Python >>> Distribution (EPD)} >>>>> for windows (32 of >>>>>>> 64 bit) >>>>>>> 4. Now we install the gcc compiler with the >>> MinGW >>>>> package >>>>>>> 4.1 Go tohttp://sourceforge.net/projects/mingw/files and >>>>> download MinGW >>>>>>> installer (normally link above with text >>> latest >>>>> version) >>>>>>> 4.2 Go to downloads, doubble-click >>> mingw >>>>> installer. >>>>>>> 4.3 add compiler to the windows path, >>> following >>>>>>> http://www.computerhope.com/issues/ch000549.htm, so >>> for >>>>> Win 7: >>>>>>> * Right click >>> 'My >>>>> Computer' click 'Properties' >>>>>>> * Click on >>> 'Advanced System >>>>> settings' >>>>>>> * Click on >>> 'Environment >>>>> Variables' >>>>>>> * You see screen >>> with at bottom >>>>> list of variables, scroll down and look >>>>>>> for 'Path', select and double click to >>> edit >>>>>>> * WARNING: don't >>> remove anything!! >>>>> Go to the end of the line, and add, >>>>>>> starting with ; an extra directory. >>> For my >>>>> computer this is >>> ;C:\MinGW\bin\ >>>>>>> 4.4 At this moment MinGW contains an error >>> we need >>>>> to correct now >>>>>>> * Open Notepad$++$ and open the file >>>>>>> >>> C:\Python27\Lib\distutils\cygwinccompiler.py >>>>>>> * This file contains an error, it uses the >>> compiler >>>>> flag -mno-cywin, >>>>>>> which is wwrong. >>>>>>> First save a copy of the file (Menu >>> File->Safe >>>>> copy), then edit the >>>>>>> file: search for -mno-cywin, and >>> remove it >>>>> _everywhere_ >>>>>>> * save the file >>>>>>> >>>>>>> 5. EPD misses a key library form of python, >>> so >>>>> create it by following >>>>>>> http://wiki.cython.org/InstallingOnWindows >>>>>>> 5.1 Download python27.def. If you >>> want, you >>>>> can make it yourself: >>>>>>> Download pexport programm, in powershell >>> do >>>>>>> pexports >>> C:\Python27\python27.dll> python27.def >>>>>>> 5.2. Now you have python27.def, create the >>> .a >>>>> library by doing: >>>>>>> dlltool --dllname >>>>> C:\Python27\python27.dll --def python27.def >>>>>>> --output-lib >>> C:\Python27\libs\libpython27.a >>>>>>> 6. When you download python libraries, you >>> should >>>>> now be able to install >>>>>>> them with the powershell command >>>>>>> >>>>>>> python setup.py >>> install build >>>>> --compiler=mingw32 >>>>>>> So, above gives you editor, shell, python >>> exe, and >>>>> compiler to compile >>>>>>> extra things. With this you have all tools >>> to build >>>>> the requirements for >>>>>>> Gramps. >>>>>>> For Gramps, you now need gtk. I have no >>> experience >>>>> in going further, so >>>>>>> if somebody can extend this workflow up to >>> the >>>>> point of running Gramps? >>>>>>> Probably it will be needed to compile >>> things, and >>>>> then you need to be >>>>>>> sure that can be found by the compiler. >>> What I do >>>>> is: >>>>>>> * copy needed dll's to C:\Python27\PCbuild >>> (or to >>>>> C:\Python27\Libs), and >>>>>>> copy the include directory with header >>> files >>>>> to C:\Python27\PC (or to >>>>>>> C:\Python27\include). >>>>>>> * edit the path variable as done above so >>> these >>>>> directories are found. >>>>>>> So path should be edited in total to >>> contain at the >>>>> end: >>>>>>> ;C:\Python27;C:\Python27\PCbuild >>>>>>> Replace here PCbuild with Libs if you chose >>> Libs to >>>>> copy stuff. Normally >>>>>>> now errors during compiling that stuff is >>> not found >>>>> will be fixed like this. >>>>>>> Benny >>>>>>> >>>>>>> 2012/5/30 Enno Borgsteede<enn...@gm...<mailto:enn...@gm...>> >>>>>>> >>>>>>> >>>>>>> >>> > The >>>>> problem with windows seems to be that many people >>> are using >>>>> it, >>> > but it is >>>>> not a preferred development system if you don't use >>> visual >>> > studio. >>>>>>> Right. I still >>> use Windows XP >>>>> on my desktop, and Windows 7 on my laptop, >>>>>>> and PAF for >>> genealogy. >>>>>>> I have the >>> latest Xubuntu >>>>> installed on both for Gramps development, and >>>>>>> I would really >>> like to have the >>>>> new 3.4 running on Windows too, because >>>>>>> I like the new >>> Citation views. >>>>> But for the moment it's much easier to >>>>>>> reboot to >>> Xubuntu, and do all >>>>> the work there. >>>>>>> That said, I can >>> imagine using >>>>> cygwin for development on windows. >>>>>>> regards, >>>>>>> >>>>>>> Enno >>>>>>> >>>>>>> >>>>>>> >>> ------------------------------------------------------------------------------ >>>>>>> Live Security >>> Virtual >>>>> Conference >>>>>>> Exclusive live >>> event will cover >>>>> all the ways today's security and >>>>>>> threat landscape >>> has changed >>>>> and how IT managers can respond. >>>>>>> Discussions >>>>>>> will include >>> endpoint security, >>>>> mobile security and the latest in >>>>>>> malware >>>>>>> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>>>> >>>>> _______________________________________________ >>>>>>> Gramps-users >>> mailing list >>>>>>> Gra...@li... >>>>>>> <mailto:Gra...@li...> >>>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>> ------------------------------------------------------------------------ >>> ------------------------------------------------------------------------------ >>>>>>> Live Security Virtual Conference >>>>>>> Exclusive live event will cover all the >>> ways >>>>> today's security and >>>>>>> threat landscape has changed and how IT >>> managers >>>>> can respond. Discussions >>>>>>> will include endpoint security, mobile >>> security and >>>>> the latest in malware >>>>>>> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>>>> >>>>>>> >>>>>>> >>> ------------------------------------------------------------------------ >>> _______________________________________________ >>>>>>> Gramps-devel mailing list >>>>>>> Gra...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-devel >>> ------------------------------------------------------------------------------ >>>>>> Live Security Virtual Conference >>>>>> Exclusive live event will cover all the ways >>> today's >>>>> security and >>>>>> threat landscape has changed and how IT >>> managers can >>>>> respond. Discussions >>>>>> will include endpoint security, mobile security >>> and the >>>>> latest in malware >>>>>> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>>> >>> _______________________________________________ >>>>>> Gramps-users mailing list >>>>>> Gra...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users >>> ------------------------------------------------------------------------------ >>>>> Live Security Virtual Conference >>>>> Exclusive live event will cover all the ways >>> today's >>>>> security and >>>>> threat landscape has changed and how IT managers >>> can >>>>> respond. Discussions >>>>> will include endpoint security, mobile security and >>> the >>>>> latest in malware >>>>> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>> _______________________________________________ >>>>> Gramps-users mailing list >>>>> Gra...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users >>>>> > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gramps-users mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-users > > |
From: Tim L. <guy...@gm...> - 2012-06-01 12:37:32
|
Mary Lynch-3 wrote > > I would be happy to test gramps on XP or Vista. > Mary/Josip/Helge, I have updated bug 5785 http://www.gramps-project.org/bugs/view.php?id=5785 with a patch and a request for it to be tested. I would be very grateful if someone could do the test as described in the note at the end of the bug report. Thanks. -- View this message in context: http://gramps.1791082.n4.nabble.com/Release-3-4-for-Windows-XP-tp4655172p4655251.html Sent from the GRAMPS - User mailing list archive at Nabble.com. |
From: Tim L. <guy...@gm...> - 2012-06-01 22:00:20
|
Mary (thanks for your help) has tried to apply the patch (print_to_logging.txt) I put in the bug to src/gramps.py, "but couldn't get gramps to start at all with that change". Is anyone able to debug why the patched code doesn't run in Windows? Perhaps running python.exe with the patch will show something in the log? There has been a lot of discussion about avoiding "a common Python function's use (print) can crash all of Gramps. It just looks unprofessional", which I now agree with, but I would like to get the warning mechanism working in Windows for the legitimate uses of that mechanism. Tim Lyons wrote > > > Mary Lynch-3 wrote >> >> I would be happy to test gramps on XP or Vista. >> > > Mary/Josip/Helge, > > I have updated bug 5785 > http://www.gramps-project.org/bugs/view.php?id=5785 with a patch and a > request for it to be tested. > > I would be very grateful if someone could do the test as described in the > note at the end of the bug report. > > Thanks. > -- View this message in context: http://gramps.1791082.n4.nabble.com/Release-3-4-for-Windows-XP-tp4655172p4655259.html Sent from the GRAMPS - User mailing list archive at Nabble.com. |