|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Failed to build qt with MS Windows Server 2003: input line is too longHi,
I tried "emerge qt" to build qt on a MS Windows Server 2003 R2. While building WebCore, it failed, because an "input line is too long" error. This g++-input line is about 8243 letters long, containing many "-I" Options with long absolute pathes. Has anyone encountered this problem before? Does anyone have an idea how to fix it? Thanks, Ludwig -- Intevation GmbH, Osnabrück Firmensitz: Neuer Graben 17, 49074 Osnabrück Registereintrag: Amtsgericht Osnabrück, HR B 18998 Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner _______________________________________________ Kde-windows mailing list Kde-windows@... https://mail.kde.org/mailman/listinfo/kde-windows |
|
|
Re: Failed to build qt with MS Windows Server 2003: input line is too longLudwig Reiter schrieb:
> Hi, > > I tried "emerge qt" to build qt on a MS Windows Server 2003 R2. > While building WebCore, it failed, because an "input line is too long" error. > This g++-input line is about 8243 letters long, containing many "-I" Options > with long absolute pathes. > Has anyone encountered this problem before? > Does anyone have an idea how to fix it? > I had this problem a long time ago with cmake + mingw. The only idea I've is to shorten the kde tempdir path and/or ask tt for help. Christian _______________________________________________ Kde-windows mailing list Kde-windows@... https://mail.kde.org/mailman/listinfo/kde-windows |
|
|
mingw on cmd.com: The input line is too long (was: Failed to build qt with MS Windows Server 2003: input line is too long)Am Donnerstag, 19. Februar 2009 18:01:42 schrieb Christian Ehrlicher:
> Ludwig Reiter schrieb: > > I tried "emerge qt" to build qt on a MS Windows Server 2003 R2. > > While building WebCore, it failed, because an "input line is too long" > > error. This g++-input line is about 8243 letters long, containing many > > "-I" Options with long absolute pathes. This seems to hit the line length limit of cmd.com of Window XP. (And for NT4 someone could use the newer cmd.com to get the (Kibi Byte limit) See http://groups.google.com/group/microsoft.public.win2000.cmdprompt.admin/browse_thread/thread/6718b6787f3a9e7/f7925bedc7ea70e9 > I had this problem a long time ago with cmake + mingw. This discussion hint upon that cmake fixed that problem at some time for large commands line during linking: http://www.cmake.org/pipermail/cmake/2006-September/011284.html The problem we have is with a modern cmake and include paths. They grow a lot depending on the path where the source code resides. > The only idea I've is to shorten the kde tempdir path and/or ask tt for > help. There ought to be a different solution. One would be if the gcc people had actually added an option to read arguments from the command line, which they've discussed at some time. Reading the documentation one way to really fix it, might be to use a customer specs file, see http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Spec-Files.html#Spec-Files Would only be useful if Cmake directly included the technique I guess. Bernhard -- Managing Director - Owner: www.intevation.net (Free Software Company) Germany Coordinator: fsfeurope.org. Coordinator: www.Kolab-Konsortium.com. Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998 Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner _______________________________________________ Kde-windows mailing list Kde-windows@... https://mail.kde.org/mailman/listinfo/kde-windows |
|
|
Re: mingw on cmd.com: The input line is too long (was: Failed to build qt with MS Windows Server 2003: input line is too long)On Monday 02 November 2009, Bernhard Reiter wrote:
> Am Donnerstag, 19. Februar 2009 18:01:42 schrieb Christian Ehrlicher: > > Ludwig Reiter schrieb: > > > I tried "emerge qt" to build qt on a MS Windows Server 2003 R2. > > > While building WebCore, it failed, because an "input line is too long" > > > error. This g++-input line is about 8243 letters long, containing > > > many "-I" Options with long absolute pathes. > > This seems to hit the line length limit of cmd.com of Window XP. > (And for NT4 someone could use the newer cmd.com to get the (Kibi Byte > limit) See > http://groups.google.com/group/microsoft.public.win2000.cmdprompt.admin/bro >wse_thread/thread/6718b6787f3a9e7/f7925bedc7ea70e9 > > > I had this problem a long time ago with cmake + mingw. > > This discussion hint upon that cmake fixed that problem at some time for > large commands line during linking: > http://www.cmake.org/pipermail/cmake/2006-September/011284.html > > The problem we have is with a modern cmake and include paths. > They grow a lot depending on the path where the source code resides. I'd suggest to ask on the cmake mailing list, maybe it can be fixed in the same way. Alex _______________________________________________ Kde-windows mailing list Kde-windows@... https://mail.kde.org/mailman/listinfo/kde-windows |
|
|
Re: mingw on cmd.com: The input line is too long> The problem we have is with a modern cmake and include paths. > They grow a lot depending on the path where the source code resides. > > >> The only idea I've is to shorten the kde tempdir path and/or ask tt for >> help. >> It helps a lot to make the source path as short as possible or this is not possible to substitute the toplevel source dir with a virtual drive letter by using the "subst" command eg when source is in d:\some-long-dirs\svn you may create a virtual drive by subst e:\ d:\some-long-dirs\svn and set KDESVNDIR=e:\ additional when the problem is more in sources fetched from non kde or git repositories the download dir could also be substituted subst f:\ d:\some-long-dirs\download set DOWNLOADDIR=f:\ _______________________________________________ Kde-windows mailing list Kde-windows@... https://mail.kde.org/mailman/listinfo/kde-windows |
| Free embeddable forum powered by Nabble | Forum Help |