[Bug 17896] Cups not detected on OpenBSD
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed May 2 19:02:36 CDT 2012
http://bugs.winehq.org/show_bug.cgi?id=17896
Matias Colli <matiasbsd at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matiasbsd at gmail.com
--- Comment #4 from Matias Colli <matiasbsd at gmail.com> 2012-05-02 19:02:36 CDT ---
Yes, i finally found the solution. We should add the correct parameter for show
the printer compiled librarys: --libs.
In this case the changes are in configure.ac and configure file as show bellow:
- ac_cups_libs=`cups-config --ldflags 2>/dev/null`
+ ac_cups_libs=`cups-config --ldflags --libs 2>/dev/null`
This mini-patch is necesary because the cups-config program for OpenBSD is not
the same that cups-config program for Linux.
My name is Matias Colli, I'm a OpenBSD and UNIX fanatic and I'm trying to hack
the wine code to make running it on my OpenBSD 5.0 Desktop
(http://lovingunix.blogspot.com).
I'm very happy because since few day ago that I'm trying to compile wine 1.1.19
and finally I did it.
For the phtread problem, probe to add this variable environment:
export CFLAGS="-I/usr/local/include -I/usr/local/include/libpng -pthread"
and compile with flag: ./configure --with-pthread. So, replace all -lpthread
occurrences to -pthread.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list