|
|
作者: osjulyge 出自: |
1.install_software,修改“usr -name libX11.a”为"usr -name libX11.so",一个是静态共享库,一个是动态共享库。
2.makefile.config,修改:
# X11 library location - uncomment the appropriate one for your system # Generic (will work on any system if links in place) X11LIBPATH /usr/lib/X11 X11INCPATH /usr/include/X11 # Specific for Sun with OpenWindows #X11LIBPATH /usr/openwin/lib #X11INCPATH /usr/openwin/share/include/X11 # Specific for PC Solaris 10 #X11LIBPATH /usr/openwin/lib/ #X11INCPATH /usr/openwin/share/include/X11 # Specific to Linux RedHat 7,8 and 9, RH-FC1 -> 3 #X11LIBPATH /usr/X11R6/lib #X11INCPATH /usr/X11R6/include/X11 # Specific to FC5 #X11LIBPATH /usr/lib #X11INCPATH /usr/include/X11 # Specific for MIT HP and Sun for Release 5 #X11LIBPATH /usr/lib/X11R5 #X11INCPATH /usr/include/X11R5 # Specific for IBM AIX4.2 #X11LIBPATH /usr/lpp/X11/lib #X11INCPATH /usr/lpp/X11/include # Specific for MacOSX #X11LIBPATH /usr/X11R6/lib #X11INCPATH /usr/include/X11
为:
# X11 library location - uncomment the appropriate one for your system # Generic (will work on any system if links in place) #X11LIBPATH /usr/lib/X11 #X11INCPATH /usr/include/X11 # Specific for Sun with OpenWindows #X11LIBPATH /usr/openwin/lib #X11INCPATH /usr/openwin/share/include/X11 # Specific for PC Solaris 10 #X11LIBPATH /usr/openwin/lib/ #X11INCPATH /usr/openwin/share/include/X11 # Specific to Linux RedHat 7,8 and 9, RH-FC1 -> 3 #X11LIBPATH /usr/X11R6/lib #X11INCPATH /usr/X11R6/include/X11 # Specific to FC5(F6,F7,F8 ) X11LIBPATH /usr/lib X11INCPATH /usr/include/X11 # Specific for MIT HP and Sun for Release 5 #X11LIBPATH /usr/lib/X11R5 #X11INCPATH /usr/include/X11R5 # Specific for IBM AIX4.2 #X11LIBPATH /usr/lpp/X11/lib #X11INCPATH /usr/lpp/X11/include # Specific for MacOSX #X11LIBPATH /usr/X11R6/lib #X11INCPATH /usr/include/X11
3,其他的地方根据自己需要修改。
4,最后修改登录文件,添加环境变量等。 | |
阅读(542) | 评论(0) | 转发(0) |