From: SourceForge.net <no...@so...> - 2007-11-01 20:18:35
|
Support Requests item #1823837, was opened at 2007-10-31 20:48 Message generated for change (Comment added) made by hvengel You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=202435&aid=1823837&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Other Group: None >Status: Open Priority: 5 Private: No Submitted By: Hal Engel (hvengel) Assigned to: Nobody/Anonymous (nobody) Summary: configure error C compiler cannot create executables Initial Comment: See 'config.log' for more details. I am using msys and trying to configure tiff-3.8.2 which was patched using the MinGW port available in the patches tracker here. I configured with: ./configure --prefix=/mingw --host=mingw32 --target=mingw32 OK so it looks like the relevant part of config.log is: configure:2494: checking for C compiler default output file name configure:2497: mingw32-gcc conftest.c H:\gnu32 >&5 d:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: H:\gnu32: No such file: Permission denied I don't see what is wrong. Even though the path to ld.exe is expressed in a really screwball way it does point to the location of ld.exe. But I don't understand where the H:\gnu32 is coming from? But it also exists. Clearly there is something wrong with my installation but I am clueless about what that might be and how to fix it. Can some one help me with this? I am also seeing the same error when I try to configure other things like VIGRA. I have been able to do some test builds using scons so I know that the MinGW stuff is OK and that this problem is likely something that is not right with msys. But other than etc/fstab I don't see anything else that can be configured to make this work. ---------------------------------------------------------------------- >Comment By: Hal Engel (hvengel) Date: 2007-11-01 13:18 Message: Logged In: YES user_id=1052244 Originator: YES The same issue and the output is exactly the same. ---------------------------------------------------------------------- Comment By: Earnie Boyd (earnie) Date: 2007-11-01 12:52 Message: Logged In: YES user_id=15438 Originator: NO I see ``/h/QtWin/bin'' in PATH perhaps something in it is causing an issue. Try the following: PATH=.:/mingw/bin:/bin ./configure --prefix=`cd /mingw && pwd -W` ---------------------------------------------------------------------- Comment By: Hal Engel (hvengel) Date: 2007-11-01 11:12 Message: Logged In: YES user_id=1052244 Originator: YES No that did not affect it at all. Exactly the same error message and exactly the same strange paths being used. set results in the following: !D:='D:\msys\1.0\bin' ALLUSERSPROFILE='C:\Documents and Settings\All Users' APPDATA='C:\Documents and Settings\admin\Application Data' BASH=/bin/sh BASH_VERSINFO=([0]="2" [1]="04" [2]="0" [3]="1" [4]="release" [5]="i686-pc-msys") BASH_VERSION='2.04.0(1)-release' BGCOLOR=LightYellow COLORFGBG='default;default' COLORTERM=rxvt COLUMNS=80 COMMONPROGRAMFILES='C:\Program Files\Common Files' COMPUTERNAME=OFFICE COMSPEC='C:\WINDOWS\system32\cmd.exe' DIRSTACK=() DISPLAY=:0 EUID=500 FGCOLOR=Navy FP_NO_HOST_CHECK=NO GROUPS=() HISTFILE='/c/Documents and Settings/admin/.bash_history' HISTFILESIZE=500 HISTSIZE=500 HOME='/c/Documents and Settings/admin' HOMEDRIVE=C: HOMEPATH='\' HOSTNAME=OFFICE HOSTTYPE=i686 IFS=' ' LIBS='H:\gnu32' LINES=25 LOGNAME=admin LOGONSERVER='\\OFFICE' MACHTYPE=i686-pc-msys MAILCHECK=60 MAKE_MODE=unix MINGW='D:\mingw' MINGW32BGCOLOR=LightYellow MINGW32FGCOLOR=Navy MSYSBGCOLOR=White MSYSFGCOLOR=Black MSYSTEM=MINGW32 NUMBER_OF_PROCESSORS=2 OLDPWD='/c/Documents and Settings/admin' OPTERR=1 OPTIND=1 OS=Windows_NT OSTYPE=msys PATH='.:/usr/local/bin:/mingw/bin:/bin:/mingw/bin:/usr/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/d/Program Files/Common Files/GTK/2.0/bin:/d/Program Files/python-2.5.1:/h/QtWin/bin:/d/Program Files/windows grep' PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PIPESTATUS=([0]="0") PPID=1732 PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER='x86 Family 15 Model 35 Stepping 2, AuthenticAMD' PROCESSOR_LEVEL=15 PROCESSOR_REVISION=2302 PROGRAMFILES='C:\Program Files' PROMPT='$P$G' PS1='\[\033]0;$MSYSTEM:\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' PS2='> ' PS4='+ ' PWD=/h/vigra QMAKESPEC=win32-g++ QTDIR='H:\QtWin' SESSIONNAME=Console SHELL=/bin/sh SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:interactive-comments:emacs SHLVL=1 SYSTEMDRIVE=C: SYSTEMROOT='C:\WINDOWS' TEMP=/tmp TERM=msys TMP=/tmp UID=500 USERDOMAIN=OFFICE USERNAME=admin USERPROFILE='C:\Documents and Settings\admin' WINDIR='C:\WINDOWS' WINDOWID=167838880 _=set i='/etc/profile.d/*.sh' ---------------------------------------------------------------------- Comment By: Earnie Boyd (earnie) Date: 2007-11-01 04:37 Message: Logged In: YES user_id=15438 Originator: NO What magic variables might be defined? Check the output of the ``set'' command. Try the following configure command to see if it behaves better: ./configure --prefix=`cd /mingw && pwd -W` ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=202435&aid=1823837&group_id=2435 |