Re: [dev] Unable to create ODBC tables and unreadable error dialog.

2007-01-23 Thread Henrik Sundberg

Thanks Frank!



 see: http://qa.openoffice.org/issues/show_bug.cgi?id=73636

I suppose you ran into another occurance of issue 71830, which is
hopefully fixed in 2.2.

In some situations (read: for some combinations of databses / drivers)
OOo failed to properly send the column/size information when creating a
table, and replaced all column types with some unsized VARCHAR (or
otherwise defaulted). Sounds like what you describe in issue 73636.


Everything in 71830 seem to be related to HSQL. Could it be valid for
ODBC as well?
Is not ODBC just ODBC whatever RDBMS is used? What can be different in
my installation?
Anything You would like me to check?



If you happen to use 2.1 on Linux, you might want to try the
libdba680li.so from ...


I can test this on Windows XP only. Can I get a test-build from somewhere?
(My only use for OOo on that machine is to test if Base is a good
front end to Mimer/ODBC).

Also: At the end of 71830, bedesee at Fri Jan 19 01:21:07 wrote that
the problem still exists in XP. I'm not sure if the final verification
really was done on Windows.

/$

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] Unable to create ODBC tables and unreadable error dialog.

2007-01-19 Thread Henrik Sundberg

I haven't got any response on this in the users-list or in the issue-zilla.

see: http://qa.openoffice.org/issues/show_bug.cgi?id=73636

Have anyone at all tried to create tables using ODBC in Openoffice.org 2.1?

It was possible in Ooo 2.0, but not in 2.1.

Isn't this a very fundamental feature?
Is ODBC obsolete nowadays?

puzzled

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Specification Process Possibilities ...

2006-10-30 Thread Henrik Sundberg

2006/10/30, Michael Meeks [EMAIL PROTECTED]:

My feeling is that -if- you can be sure that commits will (on average)
fix more than they break, and that you can be sure critical regressions
are extremely unlikely then accelerating the pace of change will lead to
higher quality :-)


+1
/$

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Warning free code: the missing modules

2006-07-18 Thread Henrik Sundberg

2006/7/18, Stephan Bergmann [EMAIL PROTECTED]:

 As you wrote in comment 3 to issue 66577 that gcc 4.0 generates warnings
 or stuff like this

   void f(com::sun::star::uno::Any const  a) {
 sal_Bool b;
 if (a = b) {
   // warning if b is used here
 }
   }


 To me (I have no programming skills), this looks like a warning similar
 to you'd better put parentheses around that expression to avoid
 ambiguity (You'd better set a value for b or you may get weired
 results) - but I cannot tell whether that is worth fixing or not.

It is not about parentheses but about definitive assignment of b.  The
fix would be sal_Bool b = false; instead of sal_Bool b;, and IMO
that starts to touch the line between improvement and mutilation.  A
later reader of the code might be puzzled why b is first assigned a
dummy value when all the uses of b are within the if block where it
definitely is assigned a value.


Ok, I'm not a C++ programmer and this is probably not the right place
to start learning.

But isn't it the left (a) side that gets assigned in a = b?
I.e. b is still not assigned and the warning is good and fixing it is
no mutilation?

/$

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Re: [EN] Comment about the spell checker

2006-07-13 Thread Henrik Sundberg

2006/7/13, Laurent Godard [EMAIL PROTECTED]:

Hi

 I should suggest a modification about the download interface of the
 language tools. You are invited to choose your language three times,
 once for the spell checker, once for the hyphenator, and once for the
 synonyms dictionary. I imagine it is not the most frequent case that you
 choose a French dictionary for the spell checking, a Swedish tool for
 the hyphenator, and a German one for the synonyms.


this is by design
do not retreive any list if you're not interrested in french thesaurus
(which is quite huge), so this is to save bandwith
you do not have this behaviour on off line packs


The suggestion was not to download the french thesaurus. It was about
presenting suggestions for extras that the user should consider
downloading.
/$

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Re: [EN] Comment about the spell checker

2006-07-12 Thread Henrik Sundberg

2006/7/12, Gloops [EMAIL PROTECTED]:

On 12th of July 2006 19:59, Gloops wrote :

 As I already have different meetings to attend for different other
 problems that we could classify as politics, supposing I am not alone in
 this case I proposed these matters could also be presented on a HTML
 page that could be proposed besides the download -e.g. the download
 sites often propose to add a comment to a software they propose for
 download.

I observe that Thomas meets the same need (in German I presume) with his
videos at Galileo's.
Jul. 11th 2006 - 16:54 - Thomas Krumbein : Video training Ooo - freie
Lektionen


I think this is a splendid idea and I'm glad you brought it up in the
international mailing list. In my case it is the Swedish
dictionary/language pack that I need to download.
I do not want a Swedish build, since I need the English UI when
following OOo's mailing lists.

/$

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Where do control colors come from?

2006-07-10 Thread Henrik Sundberg

2006/7/10, Matthias Benkmann [EMAIL PROTECTED]:

I've just noticed that form controls have different colors (i.e.
different shades of gray for the 3D-borders) under Windows and Linux.
Where do those colors come from? I'd like to make OOo under Linux look
exactly like OOo under Windows. How do I achieve this?


In Windows you control such things in the colour theme.
Right-click on the desktop/Properties/Appearance (?, I have a Swedish UI).

/$

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Re: [documentation-dev] creating Excel files

2006-07-06 Thread Henrik Sundberg

2006/7/5, Matt Needles [EMAIL PROTECTED]:

On Tue, 2006-07-04 at 15:16 -0400, Dave Calkins wrote:
 Matt Needles wrote:
  On Tue, 2006-07-04 at 18:20 +0200, Tom Schindl wrote:
 
  Do you really need to get xls why not PDF? Do people have to change
  things afterwards?
 
  Tom
 
  Dave Calkins schrieb:
 
  Tom Schindl wrote:
 
  either.  Which is why we're looking for something to let us directly
  write the binary file format and OOo seemed liked a good possibility.
 
 
  Did you thought about jakarta-POI?
 
 
 
  Thanks for the pointer.  I'll definitely take a look at that as well.
  The downside there is that its Java and we're using C++, so we'd need to
  do JNI or run a VM process and use RMI or something.  Then that also
  requires including the Java runtime with our installer.  Anyway, worth
  looking into and keeping on the list of possibilities.
 
  Dave
 
 
  If I were doing this, to avoid trying to produce a binary file in a
  format that is not documented outside of Redmond, I would try producing
  a file using the new Office XML format.  That might be easier,  too.
 
 

 I didn't think the new format opened in older versions of office.  I
 don't think we want to require our customers to have Office 2007.  Does
 OOo support the new format?


That format was introduced with Office 2003.  OOo 2.x supports it.


Do we have a license problem here?
I browsed this story: http://www.eweek.com/article2/0,1759,1829355,00.asp

And this: 
http://www.zdnet.com/5208-11048-0.html?forumID=1threadID=14384messageID=288763start=0

(I googled Office XML license)

Is OOo really allowed to implement Microsoft's XML?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Coverity Open Source Defect Scan of OpenOffice

2006-04-09 Thread Henrik Sundberg
2006/4/6, Pavel Janík [EMAIL PROTECTED]:
 To see the results of the project, check out:

 http://scan.coverity.com

 I checked the site and I can't see any results there. Can you show us one
 example of such defect? Where can we download them all in one file?

I pressed the register link and were asked to fill in this form:
- To get access to the OpenOffice report please supply your:
- Full Name:
- Email:
- Phone Number:
- Your association with the project and purpose of access:

I found no privacy policy. And no other information about how Coverity
will use my data. As Pavel I would like to see the reports, but not
under these circumstances.

/$

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] why making compiling OO such a secret?

2006-02-05 Thread Henrik Sundberg
2006/2/5, Johannes Walther [EMAIL PROTECTED]:
 I now spent two days trying to compile OO. I tried
 different ways, read the Wiki and linked documents but
 always failed. What is it that makes you so hostile
 against people who try compiling OO?

 As I wrote two days ago, a simple build of the 2.0.1
 tarball failed after 17 hours (resp. I don't even know
 if it failed, but at least it didn't run). That was
 with dmake in toplevel dir.
 Then I tried compiling it from 2.0.1 CVS (with build
 debug=true --all) which was even worse. First it threw
   error: duplicate `static`
 when build was called with debug=true in
 store/source/filelckb.cxx.

 Then minutes after that another problem arose while
 processing some file I forgot into an html and I was
 stuck.

 Then I tried ooo-build (ooo-build-src680.150.0). Not
 mentioning its configure doesn't understand
 --with-gnu-cp and --with-gnu-patch so it's hard to get
 it work on FreeBSD. But what stopped everything was
 that patching
 psprint_config/configuration/ppds/makefile.mk with
 psprint_config-no-orig.diff failed even before
 compilation started.

 Why the hell can't you produce code that at least
 builds?

 Johannes


Well, I got very nice, quick, and helpful responses when I had
problems compiling the code with only the free versions of MS
compilers.

Could it have anything to do with the way You ask for help?
/$

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] How to bring OpenOffice window to front

2006-02-03 Thread Henrik Sundberg
There is a way to allow background programs to bring up windows in the
front even in XP. I don't remember how though.
Sorry.
/$

2006/2/3, Mathias Bauer [EMAIL PROTECTED]:
 Matthias Benkmann wrote:

  I have the problem that when I launch a new OOo window with
  loadComponentFromURL() it doesn't always come to the front. Sometimes
  its button just blinks in the Windows task bar and I have to click it
  manually to bring it to the front. Is there a way to programmatically
  bring the window to the front?
  XTopWindow.toFront() and XWindow.setFocus() don't do the trick as they
  only work relative to other OOo windows not non-OOo windows.

 IIRC this is a feature of your operating system.

 If an application running in the background creates a new task window
 Windows XP will not bring it to front but instead lets it flash in the
 taskbar. The same code(!) on Windows 98 will bring the window to front
 IIRC. Only if the application that opens a new window is in the
 foreground the new window immediately comes to the front.

 So overall I'd say that this is the desired behavior on this platform,
 nothing inside OOo that can overrule it.

 Best regards,
 Mathias

 --
 Mathias Bauer - OpenOffice.org Application Framework Project Lead
 Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Problem checking out/updating OpenOffice with cvs (windows XP)

2005-12-30 Thread Henrik Sundberg
2005/12/30, Volker Quetschke [EMAIL PROTECTED]:
 Hi!

 Christian Lohmaier wrote:
  Hi Henrik,
 
  On Thu, Dec 29, 2005 at 08:53:45PM +0100, Henrik Sundberg wrote:
 
 Questions:
 1) Is it OK (why?) with the 52 missing CVS/Entries at the end of cvs co?
 
  I never had this error, and I don't think it is OK.
 No, there shouldn't be errors in the checkout.

I was using cvs from cmd.exe, not from cygwin.
cvs --version refererred to http://www.cvsnt.org

I initially fetched a few separate modules. I might have had
incompatible versions.

I also had a go at fetching everything from one big rc3.tar.gx(?) file
and then cvs. Well I think I haven't done it in a very straight
forward way...

I've now fetched everything from scratch from within cygwin.
No problems!



 2) What can I do to be able to use cvs update?
 
  cd OpenOffice
  cvs update [...]
 
  OpenOffice is just an alias that checkouts the individual modules, not a
  module by itself.

Aha, I was surprized that all modules were placed in the root folder
and not in OpenOffice.
I was trying to do as it is said in
http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildingaFullBuildofOpenOffice,
 but that can never have worked then (the cvs update part).


 Just to mention it here, this is not the first time that checkout problems
 for the whole OpenOffice alias are reported. This error looks different,
 as before it was mostly that the server stopped responding so that the
 checkout stopped somewhere in the middle (near the end).
 Most of the time this problem is just silently avoided by using a script
 that co's every single module instead if the alias.

 Btw., if you are building OOo 2.0.x you can use the OpenOffice2 alias, it
 contains a few less modules.

Is there a way to find/look at these aliases?

 You can find a link to a download script with a tiny description here
http://wiki.services.openoffice.org/wiki/Tinderbox_Setup.
 The link actually points here: http://go-ooo.org/tinder-scripts/

 You may want to look at tinget.pl.

I'll try to use that next time, thanks for the link.
I need to be able to compile first. I'll make a new thread for my
problems with that.

Thanks for the answers, they really help me not to give up.
/$

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Problem checking out/updating OpenOffice with cvs (windows XP)

2005-12-30 Thread Henrik Sundberg
Hi Christian and Volker,

2005/12/30, Christian Lohmaier [EMAIL PROTECTED]:
 Hmm - my version of cvs did create a subfolder ooo (I used the alias
 ooo back then when I did the first checkout) and placed all modules
 therein.

I got all modules directly in the directory from where i ran:
cvs -d:pserver:[EMAIL PROTECTED]:/cvs update -r
OpenOffice_2_0_1 OpenOffice

My cvs version in cygwin is  1.11.17

 The instructions may not be clear.. But $SRC_ROOT is not the directory
 from where you launched the cvs command, but the one with the modules
 (The initial subfolder cvs creates)

Without this extra directory, the instructions seems to be OK. I've
now tried the the cvs update command from the level above the root -
no output at all.
Can cvs co and cvs update be handling aliases in different ways?

 use cvs co -c to get a list of defined aliases.
Thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] windows xp, cygwin, OOo 2.0.1 dmake gives: mv: cannot stat and hangs after a while

2005-12-30 Thread Henrik Sundberg
2005/12/31, Volker Quetschke [EMAIL PROTECTED]:
 Just to make sure. It were not the missing instmsia.exe and instmsiw.exe
 that let the build fail, there are important libraries missing. configure
 is not checking if these libraries are present and therefore it will not
 complain. But you are welcome to find workarounds.

configure reported this until i found some instmsia.exe and
instmsiw.exe to use (and exitied):
checking for instmsia.exe/instmsiw.exe... configure: error:
instmsia.exe and/or instmsiw.exe are/is missing in the default
location.
These programs are part of the .NET installation and should be found in a
directory similar to:
c:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\Deployment\MsiRedist\
As the automatic detection fails please copy the files to external/msi/.

Are there more libraries that I need from a full studio installation?
That are not checked by configure?

 You can always look at:
 http://go-ooo.org/tinderbox/all_trees.express.html
 for successfull builds and compare the buildlogs.

I would really like to look there, I just don't understand where to
click to see the logs. It is very good to know what is considered
normal.


  =
  Problem 3: dmake hangs
  =
  How can I get further?

 Debug the problem. It doesn't help much to say that it works for me, it does 
 ;) .
 I currently use

 $ uname -a

I was trying to locate such command.

 Can you find out what is hanging? (ps and task manager might be your friend.)

I believe it is sed.


 Does

 $ ls /proc/*/fd

 help to cure the hang? If yes, you are member of an elite club. ;)

Yes! And ps shows sed every time dmake hangs (and not otherwise), is
there a possibility to use another implementation of sed? Which?
Is the problem inside cygwin1.dll, not in sed?

 Is the hang reproducable? You don't have to build everything, just:
 $ cd extras ; rm -rf wntmsci10.pro ; build

I don't think it stops on exactly the same place every time. But dmake
does not run many seconds between the stops now (cured by ls
/proc/*/fd every time).

I don't know much about bash/tcsh, can you tell me how to write and
run a loop like (ada-style):
loop
   ls /proc/*/fd;
   delay 5.0;
end loop;

Is ctrl-c placing commands in the background, or killing them?
If just placing them in the background - how do I kill a running command?

Once again: Thanks a lot! I get further and further.
/$

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Problem checking out/updating OpenOffice with cvs (windows XP)

2005-12-30 Thread Henrik Sundberg
2005/12/31, Volker Quetschke [EMAIL PROTECTED]:
  I was trying to do as it is said in
  http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildingaFullBuildofOpenOffice,
   but that can never have worked then (the cvs update part).

 Do you mean:
  
 http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#GetTheSourceCode
  ?

Yes.

 That seems OK to me. If you have proposals (or rewritten passages) for that 
 document,
 just post and I'll commit them.

I'll try to, if I eventually understands whats happening.
Do you think I should try with an older version of cvs? Which?

/$

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Building OOo on XP: Problems running ./configure

2005-12-20 Thread Henrik Sundberg
Hi Volker,

Thanks for the response! I've taken my time to answer you, to be as
correct as possible.
/Henrik

2005/12/19, Volker Quetschke [EMAIL PROTECTED]:
 Hi Henrik,

  I'm new to this list. I was hoping to build OOo on XP. I've installed
  Visual C++ Express Edition and Microsoft DirectX SDK (December
  2005)
 
  My command line for configure is getting rather long (all parameters
  are added due to separate error reports from configure),
  ./configure --with-cl-home=/cygdrive/c/Program/Microsoft Visual
  Studio .NET 2003/Vc7

 Is this Visual C++ Express Edition? If this is what was called
 Microsoft Visual C++ Toolkit 2003 it will not work. See
 http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildRequirements

 Btw, I doubt that a .NET2005 build will work without problems, as the
 corresponding cws is not yet finished/integrated. See
 http://eis.services.openoffice.org/EIS2/servlet/cws.ShowCWS?Id=2981Path=SRC680%2Fobo2005b

I don't know the differences between the different Microsoft packages.
I've got these installed (according to the control panel):
Microsoft .NET Framework 1.1
Microsoft .NET Framework SDK (English) 1.1
Microsoft .NET Framework 2.0
Microsoft DirectX SDK (December 2005)
Microsoft Platform SDK (3790.1830)
Microsoft Visual C++ 2005 Express Edition - ENU
Microsoft Visual C++ Toolkit 2003

I was missing ml.exe, but was able to find it in
http://www.masm32.com/ (I hope it is legal).

  --with-jdk-home=/cygdrive/c/Program/Java/j2sdk1.4.2_10
  --with-use-shell=tcsh --with-midl-path=/cygdrive/c/Program\Microsoft
  Platform SDK\Bin
  --with-csc-path=/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v1.1.4322
  --with-frame-home=/cygdrive/c/Program/Microsoft.NET/SDK/v1.1
  --disable-directx
  --with-ant-home=/cygdrive/c/Program/apache-ant-1.6.5
 
  Problems:
 
  1 DirectX
  a) with  --with-directx-home=/cygdrive/c/Program/Microsoft DirectX
  SDK (December 2005) I get:
  checking for DirectX SDK files... configure: error: DirectX SDK files
  not found, please use --with-directx-home or -disable-directx.

 Hmmm, did you follow
   
 http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildRequirements
 and also install DirectX 9.0 SDK Update - (? 2005) Extras?

No I didn't think it was appropriate to add older Updates in the
December 2005-version.

 If yes, can you please
 tell me where MS now put strmif.h and strmiids.lib? These are the files 
 that
 configure checks to see if you have everything from DirectX SDK.


I haven't downloaded anything extra for DirectX. At
http://msdn.microsoft.com/directx/sdk/ i can not find Extras. And this
is said about Symbols (I therefore did not download it (I've got XP
SP2):
This download contains all the symbol files for the DirectX release
for Windows 98, Windows ME, Windows 2000, Windows XP, and Windows
Server 2003. The Windows XP Service Pack 2 symbol files are located in
the Platform SDK.

I found strmiids.lib at: C:\Program\Microsoft Platform SDK\Lib
and strmif.h at: C:\Program\Microsoft Platform SDK\Include


  b) with --disable-directx I get:
  checking for DirectX SDK files... cat:
  /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX SDK/* Doc
  Path: No such file or directory
  cygpath: can't convert empty path
  cygpath: can't convert empty path
 Hmm, looks like a bug as configure shouldn't search in the registry
 when --disable-directx is given ;( (can you file a bug to the tools
 project?)
 But as you have the directx SDK installed you shouldn't trip this bug.
 Obviously M$ changed some registry keys. Can you tell me the output
 of the following command:
 $ ls -l /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX*

 Obviously this has to be entered in a cygwin shell.

$ ls -l /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX*
/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX:
total 0
-r--r-  1 Administratörer SYSTEM  0 Dec 18 00:24 @
-r--r-  1 Administratörer SYSTEM  2 Dec 18 00:24 Debug
-r--r-  1 Administratörer SYSTEM  4 Dec 18 00:24 InstallMDX
-r--r-  1 Administratörer SYSTEM  8 Dec 18 00:24 InstalledVersion
-r--r-  1 Administratörer SYSTEM  4 Dec 18 00:24 PvtDXBuild
-r--r-  1 Administratörer SYSTEM  2 Dec 18 00:24 RC
-r--r-  1 Administratörer SYSTEM 14 Dec 18 00:24 SDKVersion
-r--r-  1 Administratörer SYSTEM 13 Dec 18 00:24 Version

/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX Diagnostic Tool:
total 0
-r  1 Henrik Ingen 3 Apr 18  2003 TxtPath

/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX SDK:
total 0
dr-xr-x---  2 Administratörer SYSTEM 0 Dec 18 00:24 SampleBrowser

Do you still want me to file a bug?

  2) Can I get these files legally, without bying anything from
  Microsoft (there is no tools-directory in my c:\Program
  Files\Microsoft Visual Studio .NET 2003\Common7)?
  checking for instmsia.exe/instmsiw.exe... configure: error:
  instmsia.exe and/or instmsiw.exe are/is missing in the default
  location.
 

Re: [dev] Building OOo on XP: Problems running ./configure

2005-12-20 Thread Henrik Sundberg
2005/12/20, Volker Quetschke [EMAIL PROTECTED]:
 Hi Henrik,

 My command line for configure is getting rather long (all parameters
 are added due to separate error reports from configure),
 ./configure --with-cl-home=/cygdrive/c/Program/Microsoft Visual
 Studio .NET 2003/Vc7
 
 Is this Visual C++ Express Edition? If this is what was called
 Microsoft Visual C++ Toolkit 2003 it will not work. See
 http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildRequirements
 
 Btw, I doubt that a .NET2005 build will work without problems, as the
 corresponding cws is not yet finished/integrated. See
 http://eis.services.openoffice.org/EIS2/servlet/cws.ShowCWS?Id=2981Path=SRC680%2Fobo2005b
 
  I don't know the differences between the different Microsoft packages.
  I've got these installed (according to the control panel):
  Microsoft .NET Framework 1.1
  Microsoft .NET Framework SDK (English) 1.1
  Microsoft .NET Framework 2.0
  Microsoft DirectX SDK (December 2005)
  Microsoft Platform SDK (3790.1830)
  Microsoft Visual C++ 2005 Express Edition - ENU
  Microsoft Visual C++ Toolkit 2003
 Ah, this is what you used with --with-cl-home=/cygdrive/c/Program/Microsoft 
 Visual Studio .NET 2003/Vc7

 Unfortunately the Microsoft Visual C++ Toolkit 2003 is not enough to build
 OOo. The compiler is fine, but MS omitted some libraries that are needed to
 build OOo but that are only available in the sold Standard or Professional
 version. See http://qa.openoffice.org/issues/show_bug.cgi?id=32040
 for problems with VCTK.

 Microsoft Visual C++ 2005 Express Edition - ENU might work, but OOo itself
 is not ready yet to be build with a .NET 2005 :(

  I was missing ml.exe, but was able to find it in
  http://www.masm32.com/ (I hope it is legal).
 ml is also included in the Standard or Professional version but
 not in the VCTK. But the version you found should work.

 --with-jdk-home=/cygdrive/c/Program/Java/j2sdk1.4.2_10
 --with-use-shell=tcsh --with-midl-path=/cygdrive/c/Program\Microsoft
 Platform SDK\Bin
 --with-csc-path=/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v1.1.4322
 --with-frame-home=/cygdrive/c/Program/Microsoft.NET/SDK/v1.1
 --disable-directx
 --with-ant-home=/cygdrive/c/Program/apache-ant-1.6.5
 
 Problems:
 
 1 DirectX
 a) with  --with-directx-home=/cygdrive/c/Program/Microsoft DirectX
 SDK (December 2005) I get:
 checking for DirectX SDK files... configure: error: DirectX SDK files
 not found, please use --with-directx-home or -disable-directx.
 
 Hmmm, did you follow
   
  http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildRequirements
 and also install DirectX 9.0 SDK Update - (? 2005) Extras?
 
  No I didn't think it was appropriate to add older Updates in the
  December 2005-version.
 There are some files in it that were needed at that time.

 
 
 If yes, can you please
 tell me where MS now put strmif.h and strmiids.lib? These are the files 
 that
 configure checks to see if you have everything from DirectX SDK.
 
 
 
  I haven't downloaded anything extra for DirectX. At
  http://msdn.microsoft.com/directx/sdk/ i can not find Extras. And this
  is said about Symbols (I therefore did not download it (I've got XP
  SP2):
  This download contains all the symbol files for the DirectX release
  for Windows 98, Windows ME, Windows 2000, Windows XP, and Windows
  Server 2003. The Windows XP Service Pack 2 symbol files are located in
  the Platform SDK.
 
  I found strmiids.lib at: C:\Program\Microsoft Platform SDK\Lib
  and strmif.h at: C:\Program\Microsoft Platform SDK\Include
 I should choose a better check then and really check for a DirectX
 related file. Earlier these files were not in the PlatformSDK.
 Sorry, but MS is shuffeling stuff around.

 b) with --disable-directx I get:
 checking for DirectX SDK files... cat:
 /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX SDK/* Doc
 Path: No such file or directory
 cygpath: can't convert empty path
 cygpath: can't convert empty path
 
 Hmm, looks like a bug as configure shouldn't search in the registry
 when --disable-directx is given ;( (can you file a bug to the tools
 project?)
 But as you have the directx SDK installed you shouldn't trip this bug.
 Obviously M$ changed some registry keys. Can you tell me the output
 of the following command:
 $ ls -l /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX*
 
 Obviously this has to be entered in a cygwin shell.
 
 
  $ ls -l /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX*
  /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX:
  total 0
  -r--r-  1 Administratörer SYSTEM  0 Dec 18 00:24 @
  -r--r-  1 Administratörer SYSTEM  2 Dec 18 00:24 Debug
  -r--r-  1 Administratörer SYSTEM  4 Dec 18 00:24 InstallMDX
  -r--r-  1 Administratörer SYSTEM  8 Dec 18 00:24 InstalledVersion
  -r--r-  1 Administratörer SYSTEM  4 Dec 18 00:24 PvtDXBuild
  -r--r-  1 Administratörer SYSTEM  2 Dec 18 00:24 RC
  -r--r-  1 Administratörer 

Re: [dev] Building OOo on XP: Problems running ./configure

2005-12-20 Thread Henrik Sundberg
Hello again,

I've added more info in the set_soenv part.
/$

2005/12/20, Henrik Sundberg [EMAIL PROTECTED]:
 2005/12/20, Volker Quetschke [EMAIL PROTECTED]:
  Hi Henrik,
 
  My command line for configure is getting rather long (all parameters
  are added due to separate error reports from configure),
  ./configure --with-cl-home=/cygdrive/c/Program/Microsoft Visual
  Studio .NET 2003/Vc7
  
  Is this Visual C++ Express Edition? If this is what was called
  Microsoft Visual C++ Toolkit 2003 it will not work. See
  http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildRequirements
  
  Btw, I doubt that a .NET2005 build will work without problems, as the
  corresponding cws is not yet finished/integrated. See
  http://eis.services.openoffice.org/EIS2/servlet/cws.ShowCWS?Id=2981Path=SRC680%2Fobo2005b
  
   I don't know the differences between the different Microsoft packages.
   I've got these installed (according to the control panel):
   Microsoft .NET Framework 1.1
   Microsoft .NET Framework SDK (English) 1.1
   Microsoft .NET Framework 2.0
   Microsoft DirectX SDK (December 2005)
   Microsoft Platform SDK (3790.1830)
   Microsoft Visual C++ 2005 Express Edition - ENU
   Microsoft Visual C++ Toolkit 2003
  Ah, this is what you used with 
  --with-cl-home=/cygdrive/c/Program/Microsoft Visual Studio .NET 2003/Vc7
 
  Unfortunately the Microsoft Visual C++ Toolkit 2003 is not enough to build
  OOo. The compiler is fine, but MS omitted some libraries that are needed to
  build OOo but that are only available in the sold Standard or Professional
  version. See http://qa.openoffice.org/issues/show_bug.cgi?id=32040
  for problems with VCTK.
 
  Microsoft Visual C++ 2005 Express Edition - ENU might work, but OOo itself
  is not ready yet to be build with a .NET 2005 :(
 
   I was missing ml.exe, but was able to find it in
   http://www.masm32.com/ (I hope it is legal).
  ml is also included in the Standard or Professional version but
  not in the VCTK. But the version you found should work.
 
  --with-jdk-home=/cygdrive/c/Program/Java/j2sdk1.4.2_10
  --with-use-shell=tcsh --with-midl-path=/cygdrive/c/Program\Microsoft
  Platform SDK\Bin
  --with-csc-path=/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v1.1.4322
  --with-frame-home=/cygdrive/c/Program/Microsoft.NET/SDK/v1.1
  --disable-directx
  --with-ant-home=/cygdrive/c/Program/apache-ant-1.6.5
  
  Problems:
  
  1 DirectX
  a) with  --with-directx-home=/cygdrive/c/Program/Microsoft DirectX
  SDK (December 2005) I get:
  checking for DirectX SDK files... configure: error: DirectX SDK files
  not found, please use --with-directx-home or -disable-directx.
  
  Hmmm, did you follow

   http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildRequirements
  and also install DirectX 9.0 SDK Update - (? 2005) Extras?
  
   No I didn't think it was appropriate to add older Updates in the
   December 2005-version.
  There are some files in it that were needed at that time.
 
  
  
  If yes, can you please
  tell me where MS now put strmif.h and strmiids.lib? These are the 
  files that
  configure checks to see if you have everything from DirectX SDK.
  
  
  
   I haven't downloaded anything extra for DirectX. At
   http://msdn.microsoft.com/directx/sdk/ i can not find Extras. And this
   is said about Symbols (I therefore did not download it (I've got XP
   SP2):
   This download contains all the symbol files for the DirectX release
   for Windows 98, Windows ME, Windows 2000, Windows XP, and Windows
   Server 2003. The Windows XP Service Pack 2 symbol files are located in
   the Platform SDK.
  
   I found strmiids.lib at: C:\Program\Microsoft Platform SDK\Lib
   and strmif.h at: C:\Program\Microsoft Platform SDK\Include
  I should choose a better check then and really check for a DirectX
  related file. Earlier these files were not in the PlatformSDK.
  Sorry, but MS is shuffeling stuff around.
 
  b) with --disable-directx I get:
  checking for DirectX SDK files... cat:
  /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX SDK/* Doc
  Path: No such file or directory
  cygpath: can't convert empty path
  cygpath: can't convert empty path
  
  Hmm, looks like a bug as configure shouldn't search in the registry
  when --disable-directx is given ;( (can you file a bug to the tools
  project?)
  But as you have the directx SDK installed you shouldn't trip this bug.
  Obviously M$ changed some registry keys. Can you tell me the output
  of the following command:
  $ ls -l /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX*
  
  Obviously this has to be entered in a cygwin shell.
  
  
   $ ls -l /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX*
   /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX:
   total 0
   -r--r-  1 Administratörer SYSTEM  0 Dec 18 00:24 @
   -r--r-  1 Administratörer SYSTEM  2 Dec 18 00:24 Debug
   -r--r-  1 Administratörer SYSTEM  4 Dec 18 00:24 InstallMDX
   -r--r