|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
building issueI'm trying to build the server. At the end, I see XWin.exe is created
but it doesn't seem right. I see one error in the build log. So, I see it links every .o file with *.la files to create ./XWin.exe and then it links every *.o files with a bunch of *.a files to create .libs/XWin.exe and then ... what should happen next? Thanks in advance for your help. --------------------------- /bin/sh ../../libtool --tag=CC --mode=link gcc -DHAVE_XWIN_CONFIG_H -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1 -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -I/usr/include/freetype2 -DBUILD_DATE=20090814 -DXFree86Server -g -O0 -DFD_SETSIZE=256 -mwindows -o XWin.exe InitInput.o InitOutput.o winallpriv.o winauth.o winblock.o wincmap.o winconfig.o wincreatewnd.o wincursor.o windialogs.o winengine.o winerror.o winglobals.o winkeybd.o winkeyhook.o winmisc.o winmouse.o winmsg.o winmultiwindowclass.o winmultiwindowicons.o winprefs.o winprefsyacc.o winprefslex.o winprocarg.o winregistry.o winscrinit.o winshaddd.o winshadddnl.o winshadgdi.o wintrayicon.o winvalargs.o winwakeup.o winwindow.o winwndproc.o XWin.o dpmsstubs.o stubs.o miinitext.o fbcmap_mi.o winclipboardinit.o winclipboardtextconv.o winclipboardthread.o winclipboardunicode.o winclipboardwndproc.o winclipboardwrappers.o winclipboardxevents.o winmultiwindowshape.o winmultiwindowwindow.o winmultiwindowwm.o winmultiwindowwndproc.o winwin32rootless.o winwin32rootlesswindow.o winwin32rootlesswndproc.o winwindowswm.o winrandr.o ../../miext/rootless/librootless.la ../../fb/libfb.la ../../mi/libmi.la ../../xfixes/libxfixes.la ../../Xext/libXext.la ../../config/libconfig.a ../../randr/librandr.la ../../render/librender.la ../../dbe/libdbe.la ../../glx/libglx.la ../../xkb/libxkb.la ../../xkb/libxkbstubs.la ../../composite/libcomposite.la ../../damageext/libdamageext.la ../../miext/damage/libdamage.la ../../miext/shadow/libshadow.la ../../Xi/libXi.la ../../dix/libxpstubs.la ../../os/libos.la ../../dix/libdix.la ../../config/libconfig.a ../../mi/libmi.la ../../os/libos.la -lXfont -lm -lfreetype -lz -lXau -lfontenc -lpixman-1 -lXdmcp -lm -lcrypto -lX11 -lxcb-xlib -lxcb -lXdmcp -lXau -lXfont -lm -lfontenc -lfreetype -lz -lGL -lm libtool: link: gcc -DHAVE_XWIN_CONFIG_H -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1 -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -I/usr/include/freetype2 -DBUILD_DATE=20090814 -DXFree86Server -g -O0 -DFD_SETSIZE=256 -mwindows -o .libs/XWin.exe InitInput.o InitOutput.o winallpriv.o winauth.o winblock.o wincmap.o winconfig.o wincreatewnd.o wincursor.o windialogs.o winengine.o winerror.o winglobals.o winkeybd.o winkeyhook.o winmisc.o winmouse.o winmsg.o winmultiwindowclass.o winmultiwindowicons.o winprefs.o winprefsyacc.o winprefslex.o winprocarg.o winregistry.o winscrinit.o winshaddd.o winshadddnl.o winshadgdi.o wintrayicon.o winvalargs.o winwakeup.o winwindow.o winwndproc.o XWin.o dpmsstubs.o stubs.o miinitext.o fbcmap_mi.o winclipboardinit.o winclipboardtextconv.o winclipboardthread.o winclipboardunicode.o winclipboardwndproc.o winclipboardwrappers.o winclipboardxevents.o winmultiwindowshape.o winmultiwindowwindow.o winmultiwindowwm.o winmultiwindowwndproc.o winwin32rootless.o winwin32rootlesswindow.o winwin32rootlesswndproc.o winwindowswm.o winrandr.o ../../miext/rootless/.libs/librootless.a ../../fb/.libs/libfb.a ../../xfixes/.libs/libxfixes.a ../../Xext/.libs/libXext.a ../../randr/.libs/librandr.a ../../render/.libs/librender.a ../../dbe/.libs/libdbe.a ../../glx/.libs/libglx.a ../../xkb/.libs/libxkb.a ../../xkb/.libs/libxkbstubs.a ../../composite/.libs/libcomposite.a ../../damageext/.libs/libdamageext.a ../../miext/damage/.libs/libdamage.a ../../miext/shadow/.libs/libshadow.a ../../Xi/.libs/libXi.a ../../dix/.libs/libxpstubs.a ../../dix/.libs/libdix.a ../../config/libconfig.a ../../mi/.libs/libmi.a ../../os/.libs/libos.a /usr/lib/libpixman-1.dll.a -lcrypto /usr/lib/libX11.dll.a /usr/lib/libxcb-xlib.dll.a /usr/lib/libxcb.dll.a /usr/lib/libXdmcp.dll.a /usr/lib/libXau.dll.a -lXfont /usr/lib/libfontenc.dll.a /usr/lib/libfreetype.dll.a -lz -lGL /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line. This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.Info: resolving __glapi_Dispatch by linking to __imp___glapi_Dispatch (auto-import) ../../libtool: line 9203: ./XWin.exe: Permission denied make[3]: Leaving directory `/usr/src/xorg-server-1.5.3-7/src/xorg-server-1.5.3/hw/xwin' make[2]: Leaving directory `/usr/src/xorg-server-1.5.3-7/src/xorg-server-1.5.3/hw/xwin' -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ |
|
|
Re: building issueOn 15/08/2009 21:51, J. Offerman wrote:
> I'm trying to build the server. At the end, I see XWin.exe is created > but it doesn't seem right. I see one error in the build log. > > So, I see it links every .o file with *.la files to create ./XWin.exe > and then it links every *.o files with a bunch of *.a files to create > .libs/XWin.exe and then ... what should happen next? Not quite right, I think. ./XWin.exe is a small wrapper generated by libtool which executes .libs/XWin.exe (I believe for doing special things if needed to find libtool libraries which are not yet installed) > ../../libtool: line 9203: ./XWin.exe: Permission denied I've seen this on some occasions, I've never quite got around to trying to work out why it happens. afaik, since this wrapper isn't doing anything useful for you in this particular case, you can invoke .libs/XWin.exe directly and it should just work. -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ |
|
|
Re: building issueOn Sat, Aug 15, 2009 at 2:14 PM, Jon TURNEY<jon.turney@...> wrote:
> afaik, since this wrapper isn't doing anything useful for you in this > particular case, you can invoke .libs/XWin.exe directly and it should just > work. Moving on, now it seems okay to start .libs/XWin.exe but it doesn't "look" okay literally. Turns out, fonts are gone. Xlsfonts reports only six. logname@host> xlsfonts -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1 -misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1 6x13 cursor fixed I tried reinstalling all the fonts(such as font-adobe-dpi75 and font-bh-dpi100) and now /usr/share/fonts has lots of dirs(dpi75, dpi100, misc, Type1 and others) and hundreds of .gz files underneath. How should I proceed from here? Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ |
|
|
Re: building issueJ. Offerman wrote:
> On Sat, Aug 15, 2009 at 2:14 PM, Jon TURNEY<jon.turney@...> wrote: >> afaik, since this wrapper isn't doing anything useful for you in this >> particular case, you can invoke .libs/XWin.exe directly and it should just >> work. > > Moving on, now it seems okay to start .libs/XWin.exe but it doesn't > "look" okay literally. Turns out, fonts are gone. Xlsfonts reports > only six. > > logname@host> xlsfonts > -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1 > -misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1 > -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1 > 6x13 > cursor > fixed These are the 'builtin' fonts. > I tried reinstalling all the fonts(such as font-adobe-dpi75 and > font-bh-dpi100) and now /usr/share/fonts has lots of dirs(dpi75, > dpi100, misc, Type1 and others) and hundreds of .gz files underneath. > > How should I proceed from here? Read the X server log file. I would guess that it will show that the X server is unable to load any fonts, for one of the following reasons: 1) You've built an X server with a dynamically linked libXfont, which doesn't work correctly for reasons discussed at [1], so the X server is unable to load any fonts. 2) You've built an X server configured to find fonts from somewhere other than /usr/share/fonts. Add --with-fontdir=/usr/share/fonts to your ./configure invocation and rebuild. [1] http://x.cygwin.com/docs/cg/prog-build-prerequisites.html#prog-compiling-environment-setup -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ |
|
|
Re: building issueOn 15/08/2009 22:14, Jon TURNEY wrote:
> On 15/08/2009 21:51, J. Offerman wrote: >> I'm trying to build the server. At the end, I see XWin.exe is created >> but it doesn't seem right. I see one error in the build log. >> >> So, I see it links every .o file with *.la files to create ./XWin.exe >> and then it links every *.o files with a bunch of *.a files to create >> .libs/XWin.exe and then ... what should happen next? > > Not quite right, I think. > > ./XWin.exe is a small wrapper generated by libtool which executes > .libs/XWin.exe (I believe for doing special things if needed to find > libtool libraries which are not yet installed) > >> ../../libtool: line 9203: ./XWin.exe: Permission denied > > I've seen this on some occasions, I've never quite got around to trying > to work out why it happens. > > afaik, since this wrapper isn't doing anything useful for you in this > particular case, you can invoke .libs/XWin.exe directly and it should > just work. I think I've finally found out why these "Permission denied" errors occur. It seems to be caused by the XWin.exe.manifest file we store in the same directory (it's not shipped as it's embedded into the final executable using the resource compiler) Presumably the manifest is incompatible with the libtool wrapper executable in some way and we get this unhelpful error message. If you remove the manifest file, the libtool wrapper executes without problems. Since the name of the manifest file is not significant when it is compiled using the resource compiler, perhaps we should rename it to avoid this problem, or keep it in a subdirectory. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ |
|
|
Re: building issueJon TURNEY wrote:
> I think I've finally found out why these "Permission denied" errors occur. > > It seems to be caused by the XWin.exe.manifest file we store in the same > directory (it's not shipped as it's embedded into the final executable > using the resource compiler) > > Presumably the manifest is incompatible with the libtool wrapper > executable in some way and we get this unhelpful error message. > Please try setting the execute bit (chmod +x) on the manifest file. See also: Libtool: Generated manifests need execute permission http://article.gmane.org/gmane.os.cygwin/110870 HTH, Cesar -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ |
|
|
Re: building issueOn 07/11/2009 01:10, Cesar Strauss wrote:
> Jon TURNEY wrote: >> I think I've finally found out why these "Permission denied" errors >> occur. >> >> It seems to be caused by the XWin.exe.manifest file we store in the >> same directory (it's not shipped as it's embedded into the final >> executable using the resource compiler) >> >> Presumably the manifest is incompatible with the libtool wrapper >> executable in some way and we get this unhelpful error message. >> > > Please try setting the execute bit (chmod +x) on the manifest file. > > See also: > Libtool: Generated manifests need execute permission > http://article.gmane.org/gmane.os.cygwin/110870 You are absolutely right, setting the execute bit on the manifest file fixes this. Thanks! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ |
| Free embeddable forum powered by Nabble | Forum Help |