Hi Luke, * Luke Huang ([EMAIL PROTECTED]) wrote: > Emacs 23 src from CVS, > > $ ./configure --with-x-toolkit=gtk --x-includes=/usr/X11/include > --x-libraries=/usr/X11/lib > ... > checking for pkg-config... (cached) /usr/bin/pkg-config > checking for gtk+-2.0 >= 2.6 glib-2.0 >= 2.6... no > configure: error: Package xrender was not found in the pkg-config search path. > Perhaps you should add the directory containing `xrender.pc' > to the PKG_CONFIG_PATH environment variable > Package 'xrender', required by 'cairo', not found > > After googling, somebody said, remove xrender from line 10 of file, > /usr/lib/pkgconfig/cairo.pc, I did so, and rerun configure, still > failed: > > checking for pkg-config... (cached) /usr/bin/pkg-config > checking for gtk+-2.0 >= 2.6 glib-2.0 >= 2.6... no > configure: error: Package x11 was not found in the pkg-config search path. > Perhaps you should add the directory containing `x11.pc' > to the PKG_CONFIG_PATH environment variable > Package 'x11', required by 'cairo', not found > > That's the hell, it seems that there are many more files missing than > I imagined. Who has succeeded in building GNU Emacs on OpenSolaris > 200805, please tell me what packages are missed in my system. Thanks a > lot!
You can find out which packages you're missing yourself. Just search for the missing files using pkg. pfexec pkg search -r x11.pc This tells pkg to search the IPS repository and tell you which package contains x11.pc. In this case, you want the SUNWxwinc pkg which you can install via: pfexec pkg install SUNWxwinc Same thing for xrender.pc, which also happens to be in SUNWxwinc (you should *not* have to modify the emacs source). Cheers, -- Glenn _______________________________________________ opensolaris-help mailing list [email protected]
