Re: libre5.0 + win10 configure error

2016-05-08 Thread jemmy

I always think I solved the problem by chance. So I go back to think the
reason why the old repo code configured failed. It is not possible to cause
the problem by the renamed path and the branch of libreoffice-5-0-6. Over
the next three days, there was no progress on this matter. An accidental
opportunity, I found different unstaged changes in unmodified code repo by
using "git status" in cygwin and gitshell. The version of gitshell is "git
version 2.8.1.windows.1". Then I clone one code repo by cygwin, another one
by gitshell. The cygwin cloned code is going right. But the gitshell cloned
code will lead to errors as follow:

1、
$ ./autogen.sh --with-external-tar=/cygdrive/d/sources/lo-externalsrc
--with-junit=/cygdrive/d/sources/junit-4.10.jar
--with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5 --enable-pch
--disable-ccache --enable-debug
./autogen.sh: line 1: $':\r': command not found
Running ./configure with
'--with-external-tar=/cygdrive/d/sources/lo-externalsrc
--with-junit=/cygdrive/d/sources/junit-4.10.jar
--with-ant-home=/cygdrive/d/sou --srcdir=/cygdrive/d/sources/libo-wingit
--enable-option-checking=fatal'
configure: error: invalid feature name: debug
Error running configure at ./autogen.sh line 281.

use commands as follow to pass this error
$ dos2unix autogen.sh
dos2unix: converting file autogen.sh to Unix format...
$ dos2unix config.sub
dos2unix: converting file config.sub to Unix format...
$ dos2unix config.guess
dos2unix: converting file config.guess to Unix format...

2、
cygpath: cannot create short name of 12.0\VC\Include
realpath: '12.0/VC': No such file or directory
configure: WARNING: realpath failed for "12.0/VC", not necessarily a
problem.
checking the dependency generation prefix (cl.exe -showIncludes)...
configure: error: cannot determine the -showIncludes prefix

use commands as follow to pass this error
shift+reset, go to the safe mode, do this: 
fsutil 8dot3name set c: 0 
fsutil file setshortname "Program Files (x86)" PROG~1 
fsutil file setshortname "Microsoft Visual Studio 12.0" msvc~120 
fsutil file setshortname "Windows Kits" W~Kits 

The shortname is unreadable as Tor Lillqvist-2 said. I will use better name
next time.

3、
checking whether to create huge library... no
checking whether to create hardlinks for delivering files... no
checking whether to use icerun wrapper... no
checking MPL subset... no restrictions
configure: setting up the build environment variables...
configure: creating ./config.status
.in'ig.status: error: cannot find input file: `config_host.mk
Error running configure at ./autogen.sh line 281.

There's nothing I can do about this.

Why the code cloned by cygwin and gitshell has different result of
configure. I open the same filename in different repo by UltraEdit. It shows
the difference. The cygwin cloned code is unix format, and the gitshell
cloned code is dos format.
Yes, the first problem and the third problem are caused by the dos format
files cloned by  the gitshell .





--
View this message in context: 
http://nabble.documentfoundation.org/libre5-0-win10-configure-error-tp4182634p4183051.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: libre5.0 + win10 configure error

2016-05-05 Thread jan iversen
Thanks to both for a very good explanation.

I have converted the information into a wiki page (referenced from our 
GetInvolved page):
https://wiki.documentfoundation.org/Development/GetInvolved/windowsProblems

Feel free to update the page if needed.

keep up the good work
rgds
jan i.

> On 06 May 2016, at 06:22, Tor Lillqvist  wrote:
> 
> 
>> fsutil file setshortname "Program Files (x86)" PROG~1
>> fsutil file setshortname "Microsoft Visual Studio 12.0" msvc~120
>> fsutil file setshortname "Windows Kits" W~Kits
> 
> If you have the chance to choose shortnames yourself, why not use some 
> readable ones then instead of mimicking the OS algorithm that produces quite 
> ugly ones?
> 
> Like "progs86", "msvc-12", "winkits" in these cases, for instance. Just a 
> thought. As far as I know, there is nothing that would require a shortname to 
> contain a tilde; that is just what the OS uses to minimise the risk of 
> clashing with existing human-readable names.
> 
> But of course, I don't suggest you go back and redo it like that. Just 
> something for others to consider in the future if they need to do it.
> 
> --tml
> 
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: libre5.0 + win10 configure error

2016-05-05 Thread Tor Lillqvist
> fsutil file setshortname "Program Files (x86)" PROG~1
> fsutil file setshortname "Microsoft Visual Studio 12.0" msvc~120
> fsutil file setshortname "Windows Kits" W~Kits
>

If you have the chance to choose shortnames yourself, why not use some
readable ones then instead of mimicking the OS algorithm that produces
quite ugly ones?

Like "progs86", "msvc-12", "winkits" in these cases, for instance. Just a
thought. As far as I know, there is nothing that would require a shortname
to contain a tilde; that is just what the OS uses to minimise the risk of
clashing with existing human-readable names.

But of course, I don't suggest you go back and redo it like that. Just
something for others to consider in the future if they need to do it.

--tml
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: libre5.0 + win10 configure error

2016-05-05 Thread jemmy
Thanks Norbert.
I have remembered that I renamed the path from "D:\sources\core" to
"D:\sources\libre-core" after you told me to check the path.
Furthermore, I checkouted the branch from master to libreoffice-5-0-6.

Then I git cloned again to "D:\sources" and configured on the master branch. 

shift+reset, go to the safe mode, do this:
fsutil 8dot3name set c: 0
fsutil file setshortname "Program Files (x86)" PROG~1
fsutil file setshortname "Microsoft Visual Studio 12.0" msvc~120
fsutil file setshortname "Windows Kits" W~Kits

then, go back to normal node.

Everything is ok.



--
View this message in context: 
http://nabble.documentfoundation.org/libre5-0-win10-configure-error-tp4182634p4182759.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: libre5.0 + win10 configure error

2016-05-03 Thread Norbert Thiebaud
On Tue, May 3, 2016 at 4:09 AM, jemmy  wrote:
> Hello, everyone!
> I'm a new developer of libreoffice. I have followed the instructions from
> https://wiki.documentfoundation.org/Development/BuildingOnWindows and used
> the recommended settings and paths. I use Win10 x64 system 、 64-bit
> Cygwin、32-bit Java JDK、VS2013_RTM_PRO.
>
> ./autogen.sh --with-external-tar=/cygdrive/d/sources/lo-externalsrc
> --with-junit=/cygdrive/d/sources/junit-4.10.jar
> --with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5 --enable-pch
> --disable-ccache --enable-debug --disable-atl
>
> When I was trying to configure LibreOffice,  autogen.sh was not able to
> finish its job, with message below:
>
> ..
> checking for install dirname... libreoffice
> checking for prefix... /usr/local
> checking for Google Drive client id and secret... set
> checking for Alfresco Cloud client id and secret... set
> checking for OneDrive client id and secret... set
> checking build verbosity... not set
> checking whether to enable dependency tracking... yes
> checking for number of processors to use... 4
> checking whether C:/vs_net/VC/bin/cl.exe -arch:SSE has broken static
> initializer_list support... no
> checking whether to create huge library... no
> checking whether to create hardlinks for delivering files... no
> checking whether to use icerun wrapper... no
> checking MPL subset... no restrictions
> setting up the build environment variables...
> configure: creating ./config.status
> .in'ig.status: error: cannot find input file: `config_host.mk
> Error running configure at ./autogen.sh line 269.
>
> I'm thinking this problem all days, and can't resolve it. Is there anyone
> can help me ?

what is your core.git repo path ?
if it is directly at the root of a device like D:/core.. can you try
to move it one directory down
like D:/lo/core and see if that change something


do you see a config.log there ? if so look into it.. do you see place
where it talk about config_host
is there any error reported there ?
maybe some acl issue ?

Norbert
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


libre5.0 + win10 configure error

2016-05-03 Thread jemmy
Hello, everyone!
I'm a new developer of libreoffice. I have followed the instructions from
https://wiki.documentfoundation.org/Development/BuildingOnWindows and used
the recommended settings and paths. I use Win10 x64 system 、 64-bit 
Cygwin、32-bit Java JDK、VS2013_RTM_PRO.

./autogen.sh --with-external-tar=/cygdrive/d/sources/lo-externalsrc
--with-junit=/cygdrive/d/sources/junit-4.10.jar
--with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5 --enable-pch
--disable-ccache --enable-debug --disable-atl

When I was trying to configure LibreOffice,  autogen.sh was not able to
finish its job, with message below:

..
checking for install dirname... libreoffice
checking for prefix... /usr/local
checking for Google Drive client id and secret... set
checking for Alfresco Cloud client id and secret... set
checking for OneDrive client id and secret... set
checking build verbosity... not set
checking whether to enable dependency tracking... yes
checking for number of processors to use... 4
checking whether C:/vs_net/VC/bin/cl.exe -arch:SSE has broken static
initializer_list support... no
checking whether to create huge library... no
checking whether to create hardlinks for delivering files... no
checking whether to use icerun wrapper... no
checking MPL subset... no restrictions
setting up the build environment variables...
configure: creating ./config.status
.in'ig.status: error: cannot find input file: `config_host.mk
Error running configure at ./autogen.sh line 269.

I'm thinking this problem all days, and can't resolve it. Is there anyone
can help me ? 





--
View this message in context: 
http://nabble.documentfoundation.org/libre5-0-win10-configure-error-tp4182634.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice