Andy wrote:Thanks Duane
Hi
Ta Ivan, bit embarrasing that, was looking in the wrong docs, didnt even look in the downloaded file for a readme. Thanks for that.
I have followed the instructions, and have hit another prob - I have got through the config OK, bit I have come across another error in the make process - It keeps stopping on this error /path/to/winesetup/tcltk-winesetup-0.7/tk8.3.2/generic/tk.h:83: X11/Xlib.h: No such file or directory.
Now if I follow this path, I can see the file tk.h - I have changed the permissions so that anybody can access it, still no success.
Any ideas ?
The file that is missing is Xlib.h. This file is part of the X Windows development environment, which you apparently don't have installed. You should probably use a Wine binary rather than try to compile it.
_______________________________________________ wine-users mailing list wine-users@xxxxxxxxxx http://www.winehq.com/mailman/listinfo/wine-users
I have had a look and found Xlib.h, but I suspect the path is different under BSD. I am going to try and do a little hacking, if that doesn't work I'll give the binaries a go.
Thank you to all those that responded, if I have any success, I'll post it.
Andy
-- Powered by FreeBSD 4.9-STABLE
# Generated automatically from Makefile.in by configure. ######################################################### # Requirements: CodeWeavers tcltk repository # http://wine.codeweavers.com/~mpilka/winesetuptk/tcltk-winesetuptk-0.6.0b.tar.gz ######################################################### ############################################ # Change this variables to fit your system # ############################################ # product name PRODUCT = winesetuptk # important locations PREFIX_EXE = /usr/local/bin PREFIX_LAUNCHER = /usr/local/bin PREFIX_DOC = /usr/local/doc/winesetuptk # whether the ./configure command was successful TCLTK_CONF_OK = YES # mktclapp utility MKTCLAPP = /usr/home/andy/Programs/winesetuptk0.7/tcltk-winesetuptk-0.7/local/bin/mktclapp # install command INSTALL = /usr/bin/install -c INSTALL_DIR = /usr/bin/install -c -d INSTALL_DATA = /usr/bin/install -c -m 644 INSTALL_EXE = /usr/bin/install -c -m 755 # CFLAGS CFLAGS = -g -O2 # TclTk includes TCLTK_INC = -I/usr/home/andy/Programs/winesetuptk0.7/tcltk-winesetuptk-0.7/tcl8.3.2/generic -I/usr/home/andy/Programs/winesetuptk0.7/tcltk-winesetuptk-0.7/tk8.3.2/generic -I/usr/home/andy/Programs/winesetuptk0.7/tcltk-winesetuptk-0.7/itcl3.1.0/itcl/generic -I/usr/home/andy/Programs/winesetuptk0.7/tcltk-winesetuptk-0.7/itcl3.1.0/itk/generic # tclsh TCLTK_SHELL = /usr/home/andy/Programs/winesetuptk0.7/tcltk-winesetuptk-0.7/local/bin/tclsh8.3 # linker TCLTK_LD = -lc -lm -ldl -lX11 -L/usr/X11R6/lib /usr/home/andy/Programs/winesetuptk0.7/tcltk-winesetuptk-0.7/local/lib/libtcl8.3.a /usr/home/andy/Programs/winesetuptk0.7/tcltk-winesetuptk-0.7/local/lib/libtk8.3.a /usr/home/andy/Programs/winesetuptk0.7/tcltk-winesetuptk-0.7/local/lib/libitcl3.1.a /usr/home/andy/Programs/winesetuptk0.7/tcltk-winesetuptk-0.7/local/lib/libitk3.1.a # files packed in $(PRODUCT).c FILES_DATA = data/cfg_system.reg data/cfg_user.reg data/cfg_userdef.reg data/img_codeweavers_logo.ppm data/img_desktop.ppm data/img_managed.ppm data/img_unmanaged.ppm data/img_win311.ppm data/img_win95.ppm data/img_wine.ppm data/img_winesetup.ppm FILES_SCRIPT = CAboutDialog.itcl CBase.itcl CBaseScr.itcl CBaseScrWithLeftMenu.itcl CDialog.itcl CEditAppProfileDialog.itcl CEditDLLOverDialog.itcl CEditDriveDialog.itcl CHelpMsg.itcl CLBDragCapability.itcl CMsgDialog.itcl CMsgScrollDialog.itcl CScrDLL.itcl CScrDrives.itcl CScrFileLoc.itcl CScrFinish.itcl CScrLook.itcl CScrMoreLook.itcl CScrPaths.itcl CScrPorts.itcl CScrRegistry.itcl CScrWinLoc.itcl CScrWindowMode.itcl CTooltip.itcl Enable8.0Compatibility.tcl Main.itcl ReqItclExtension.tcl Tools.tcl auto_path.tcl data/cfg_windows_detection.ini data/cfg_wine_with_windows.ini data/cfg_wine_without_windows.ini data/cfg_fake_windows.txt data/help.txt ################################################################# # there shouldn't be a need to change something below this line # ################################################################# OBJS = $(PRODUCT).o init.o all: test_requirements convert_images $(OBJS) $(CC) -o $(PRODUCT) $(OBJS) $(TCLTK_LD) # this should be done somehow better strip $(PRODUCT) echo -e "\n$(PRODUCT) build complete.\n" test_requirements: @if test ${TCLTK_CONF_OK} != "YES" ; then \ echo "$(PRODUCT) error: can't compile because \"configure\" wasn't completed successfuly." ; \ exit 1 ; \ fi convert_images: if ! test -f data/img_codeweavers_logo.ppm ; then $(TCLTK_SHELL) xpm2ppm data/img_codeweavers_logo.xpm ; fi if ! test -f data/img_desktop.ppm ; then $(TCLTK_SHELL) xpm2ppm data/img_desktop.xpm ; fi if ! test -f data/img_managed.ppm ; then $(TCLTK_SHELL) xpm2ppm data/img_managed.xpm ; fi if ! test -f data/img_unmanaged.ppm ; then $(TCLTK_SHELL) xpm2ppm data/img_unmanaged.xpm ; fi if ! test -f data/img_win311.ppm ; then $(TCLTK_SHELL) xpm2ppm data/img_win311.xpm ; fi if ! test -f data/img_win95.ppm ; then $(TCLTK_SHELL) xpm2ppm data/img_win95.xpm ; fi if ! test -f data/img_wine.ppm ; then $(TCLTK_SHELL) xpm2ppm data/img_wine.xpm ; fi if ! test -f data/img_winesetup.ppm ; then $(TCLTK_SHELL) xpm2ppm data/img_winesetup.xpm ; fi install: $(INSTALL_DIR) $(PREFIX_EXE) $(INSTALL_EXE) $(PRODUCT) $(PREFIX_EXE) doc-install: $(INSTALL_DIR) $(PREFIX_DOC) $(INSTALL_DATA) doc/CHANGELOG.TXT $(PREFIX_DOC) $(INSTALL_DATA) doc/README.TXT $(PREFIX_DOC) $(INSTALL_DATA) doc/LICENSE.TXT $(PREFIX_DOC) cw-install: install doc-install $(INSTALL_DIR) $(PREFIX_LAUNCHER) $(INSTALL_EXE) winesetup.sh $(PREFIX_LAUNCHER) uninstall: rm -f $(PREFIX_EXE)/$(PRODUCT) doc-uninstall: rm -f $(PREFIX_DOC)/README.TXT $(PREFIX_DOC)/CHANGELOG.TXT $(PREFIX_DOC)/LICENSE.TXT rmdir --ignore-fail-on-non-empty $(PREFIX_DOC) cw-uninstall: uninstall doc-uninstall rm -f $(PREFIX_LAUNCHER)/winesetup.sh $(PRODUCT).o: $(PRODUCT).c $(CC) $(CFLAGS) $(TCLTK_INC) -c $(PRODUCT).c init.o: $(CC) $(CFLAGS) $(TCLTK_INC) -c init.c $(PRODUCT).c: $(PRODUCT).mta $(PRODUCT).h $(FILES_DATA) $(FILES_SCRIPT) $(MKTCLAPP) -f $(PRODUCT).mta > $(PRODUCT).c || (rm $(PRODUCT).c && echo -e '\nmktclapp not found.\n' && exit 1) $(PRODUCT).h: $(PRODUCT).mta $(MKTCLAPP) -header -f $(PRODUCT).mta > $(PRODUCT).h $(PRODUCT).mta: sh gen_mta.sh > $(PRODUCT).mta clean: rm -f init.o $(PRODUCT).mta $(PRODUCT).c $(PRODUCT).h $(PRODUCT).o $(PRODUCT) distclean: clean rm -f data/*.pppm auto_path.tcl gen_mta.sh Makefile config.status config.cache config.log