> > If I run configure without pkg-config, configure says xkbfile: no, but 
> > during
> compile I get an error similar like @XKBFILE_LIB@ undefined.
> 
> How do you do that? AFAICS pkg-config is mandatory and nothing works
> without it.
> 

The last release version compiles with (without pkg-config installed)

./configure CFLAGS="-arch i386" LDFLAGS="-L/usr/X11/lib" 
XCURSOR_LIBS='-lXcursor'  XCURSOR_CFLAGS=' '

This is nice because, no extra installation in addition to xcode is needed. I 
would be even better to fix configure to find these standard paths on it own.

But then I run into the semaphore problem, which causes me to switch to the git 
version

The HEAD version did not compile with the configure options above, but gave me 
the @XKBFILE_LIB@ error.

I just retryed serveral options today, but now I have pkg-config installed. The 
outcome is that the options above will now also compile, but it will compile 
without libxkbfile, because pkg-config does not find the corresponding .pc 
file. When I do

./configure CFLAGS="-arch i386" PKG_CONFIG="/opt/local/bin/pkg-config" 
PKG_CONFIG_PATH="/usr/X11/lib/pkgconfig" LDFLAGS="-L/usr/X11/lib" --with-debug

It does find libxkbfile and compiles fine with it. NOTE that I need to specifiy 
LDFLAGS and PKG_CONFIG_PATH, otherwise the compile fails. This seems something 
that could be fixed in autoconf (sorry, I have no knowledge of autoconf, so no 
patch here :-(

Regarding the keyboard issue:

As long as I compile without libxkbfile (either without  PKG_CONFIG_PATH or by 
specifying --without-xkbfile) keyboard works. As soon libxkbfile is linked in, 
it stops working.

Hope this helps

Gerald




------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Freerdp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to