AppWeb Forum

Support for the AppWeb HTTP Server
It is currently Thu Sep 09, 2010 5:00 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: "bash: /c: No such file or directory" with appweb 3.2.2-1
PostPosted: Mon Jul 05, 2010 10:37 am 
Offline

Joined: Mon Jul 05, 2010 9:16 am
Posts: 2
hi all,I am building appweb-src-3.2.2-1 with --host=powerpc-wrs-vxworks
on my winxp box under Cygwin 1.7.x env.

I run confiure as below:
BUILD_AR=$AR BUILD_CC=$CC BUILD_LD=$LD BUILD_NM=$NM BUILD_RANLIB=$RANLIB BUILD_STRIP=$STRIP BUILD_MAKE=$MAKE ./configure --host=powerpc-wrs-vxworks
while AR/CC/LD/NM/RANLIB/STRIP/MAKE are all well defined as system environment variables.

but I encounter error message "bash: /c: No such file or directory" spawned by make,
below is my configure output ,mount output and set output,could anyone give me any help ?
thx a lot!

===========configure output==========================
$ BUILD_AR=$AR BUILD_CC=$CC BUILD_LD=$LD BUILD_NM=$NM BUILD_RANLIB=$RANLIB BUIL
D_STRIP=$STRIP BUILD_MAKE=$MAKE ./configure --host=powerpc-wrs-vxworks

#
# Running Embedthis Configure 4.2.1
#
# Initializing configure ...
# Sleuth system configuration ...
# Search for MS compiler ...
# Prepare search path ...
# Reading standard product configuration: build/product.config ...
# Parse environment variables ...
# Finding components ...
#
# Search for build components
# Scanning for ar: X:/api/ppc/host/x86-win32/bin/arppc.exe
# Scanning for cc: X:/api/ppc/host/x86-win32/bin/ccppc.exe
# Scanning for make: X:/api/ppc/host/x86-win32/bin/make
# Scanning for nm: X:/api/ppc/host/x86-win32/bin/nmppc.exe
# Scanning for strip: X:/api/ppc/host/x86-win32/bin/stripppc.exe
# Scanning for doxygen: optional component not included
# Scanning for regexp: src/mpr/mprPcre.c
# Scanning for mpr: src/mpr
# Scanning for sqlite: C:/cygwin/home/user/appweb-src-3.2.2-1/src/ej
s
# Scanning for ejs: C:/cygwin/home/user/appweb-src-3.2.2-1/src/ej
s
# Scanning for appweb: C:/cygwin/home/user/appweb-src-3.2.2-1/src/se
rver
#
# Search for host components
# Scanning for vxworks: F:/WindRiver/vxworks-6.7
# Scanning for ar: X:/api/ppc/host/x86-win32/bin/arppc.exe
# Scanning for cc: X:/api/ppc/host/x86-win32/bin/ccppc.exe
# Scanning for make: X:/api/ppc/host/x86-win32/bin/make
# Scanning for nm: X:/api/ppc/host/x86-win32/bin/nmppc.exe
# Scanning for strip: X:/api/ppc/host/x86-win32/bin/stripppc.exe
# Scanning for regexp: src/mpr/mprPcre.c
# Scanning for mpr: src/mpr
# Scanning for matrixssl: optional component not included
# Scanning for openssl: optional component not included
# Scanning for ssl: optional component not included
# Scanning for php: optional component not included
# Scanning for sqlite: C:/cygwin/home/user/appweb-src-3.2.2-1/src/ej
s
# Scanning for ejs: C:/cygwin/home/user/appweb-src-3.2.2-1/src/ej
s
# Scanning for appweb: C:/cygwin/home/user/appweb-src-3.2.2-1/src/se
rver
#
# Creating build/bin/buildConfig.sh ...
# Creating ./buildConfig.make ...
# Creating src/include/buildConfig.h ...
# Cleanup and generate make dependencies ...
#
bash: /c: No such file or directory
bash: /c: No such file or directory
bash: /c: No such file or directory
make.exe: *** [depend] Error 0x7f
bash: /c: No such file or directory
bash: /c: No such file or directory
bash: /c: No such file or directory
make.exe: *** [clean] Error 0x7f
# Configuration for this build:
#
# Configuring Product: appweb
# Base configuration: build/standard.defaults
# Version: 3.2.2-1
# Host system: powerpc-wrs-vxworks, VXWORKS, ppc
# Build system: i686-pc-cygwin, CYGWIN, i686
# Debug Type: DEBUG
# Tune for: MPR_TUNE_SIZE
# Threading multi-threaded
# Linking shared
# Build components: ar cc make nm strip regexp mpr sqlite ejs
# appweb
# Host components: vxworks ar cc make nm strip regexp mpr sqlite ejs a
ppweb
# Directories:
# PRD /usr/lib/appweb
# VER /usr/lib/appweb
# CFG /etc/appweb
# BIN /usr/lib/appweb/bin
# JEM /usr/lib/appweb/jems
# LIB /usr/lib/appweb/lib
# MOD /usr/lib/appweb/modules
# WEB /var/www/appweb-default
# INC /usr/lib/appweb/inc


$ make
bash: /c: No such file or directory
bash: /c: No such file or directory
bash: /c: No such file or directory
make.exe: *** [all] Error 0x7f

==========set output==================================================
$ set
!::='::\'
!C:='C:\cygwin\bin'
ALLUSERSPROFILE='C:\Documents and Settings\All Users'
APPDATA='C:\Documents and Settings\user\Application Data'
AR=x:/api/ppc/host/x86-win32/bin/arppc.exe
ARCH=ppc
BASH=/usr/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="2" [2]="49" [3]="23" [4]="release" [5]="i686-pc-cygw
in")
BASH_VERSION='3.2.49(23)-release'
CC=x:/api/ppc/host/x86-win32/bin/ccppc.exe
CLIENTNAME=Console
COMMONPROGRAMFILES='C:\Program Files\Common Files'
COMPUTERNAME=soft-group
COMSPEC='C:\WINDOWS\system32\cmd.exe'
CVS_RSH=/bin/ssh
DIRSTACK=()
EUID=11128
FP_NO_HOST_CHECK=NO
GROUPS=()
HISTFILE=/home/user/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/user
HOMEDRIVE=C:
HOMEPATH='\Documents and Settings\user'
HOSTNAME=soft-group
HOSTTYPE=i686
IFS=$' \t\n'
INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
LANG=C.UTF-8
LD=x:/api/ppc/host/x86-win32/bin/ldppc.exe
LOGONSERVER='\\CC'
MACHTYPE=i686-pc-cygwin
MAILCHECK=60
MAKE=x:/api/ppc/host/x86-win32/bin/make.exe
MANPATH=/usr/local/man:/usr/share/man:/usr/man:
NM=x:/api/ppc/host/x86-win32/bin/nmppc.exe
NUMBER_OF_PROCESSORS=2
OLDPWD=/home/user
OPTERR=1
OPTIND=1
OS=Windows_NT
OSTYPE=cygwin
PATH='/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WIND
OWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/Rational/common:
/cygdrive/c/Program Files/Rational/ClearCase/bin:/cygdrive/d/perl/bin:/cygdrive/
c/Program Files/UltraEdit:/cygdrive/x/api/ppc/host/x86-win32/bin:/cygdrive/c/Pro
gram Files/StormII/Codec:/cygdrive/c/Program Files/StormII'
PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PERL_PATH=d:/perl/bin
PIPESTATUS=([0]="127")
PPID=1
PRINTER=$'\345\217\221\351\200\201\350\207\263 OneNote 2007'
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER='x86 Family 6 Model 15 Stepping 13, GenuineIntel'
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f0d
PROGRAMFILES='C:\Program Files'
PROMPT='$P$G'
PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
PS2='> '
PS4='+ '
PWD=/home/user/appweb-src-3.2.2-1
RANLIB=x:/api/ppc/host/x86-win32/bin/ranlibppc.exe
SESSIONNAME=Console
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:moni
tor
SHLVL=1
STRIP=x:/api/ppc/host/x86-win32/bin/stripppc.exe
SYSTEMDRIVE=C:
SYSTEMROOT='C:\WINDOWS'
TERM=cygwin
UID=11128
USER=user
USERDNSDOMAIN=SOFT2.COM
USERDOMAIN=SOFT2
USERNAME=user
USERPROFILE='C:\Documents and Settings\user'
WINDIR='C:\WINDOWS'
WIND_BASE=x:/api/ppc
WIND_GNU_PATH=x:/api/ppc/host
WIND_HOST_TYPE=x86-win32
_=cls
f=

=======mount output=====
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
D: on /cygdrive/d type vfat (binary,posix=0,user,noumount,auto)
E: on /cygdrive/e type vfat (binary,posix=0,user,noumount,auto)
F: on /cygdrive/f type vfat (binary,posix=0,user,noumount,auto)
M: on /cygdrive/m type mvfs (binary,posix=0,user,noumount,auto)
X: on /cygdrive/x type vfat (binary,posix=0,user,noumount,auto)


Top
 Profile  
 
 Post subject: Re: "bash: /c: No such file or directory" with appweb 3.2.2-1
PostPosted: Tue Jul 06, 2010 10:00 pm 
Offline

Joined: Wed Nov 19, 2003 11:55 pm
Posts: 481
Make in Cygwin can't handle "C:" or any directory prefix in the left hand side of a make target.

So u have to use relative paths everwhere.

Peter

_________________
Peter Hale
Gridable Systems


Top
 Profile  
 
 Post subject: Re: "bash: /c: No such file or directory" with appweb 3.2.2-1
PostPosted: Wed Jul 07, 2010 9:55 am 
Offline

Joined: Mon Jul 05, 2010 9:16 am
Posts: 2
thx,but I think this is because that my make translate $(shell CMD_STRING) as [shell /c CMD_STRING]
instead of [shell -C CMD_STRING].

try command
c:\cygwin\bin\bash -c "[ -f hello.txt ] && echo hello >> hello.txt"
and
c:\cygwin\bin\bash /c "[ -f hello.txt ] && echo hello >> hello.txt"
:)


Top
 Profile  
 
 Post subject: Re: "bash: /c: No such file or directory" with appweb 3.2.2-1
PostPosted: Wed Jul 14, 2010 10:45 am 
Offline

Joined: Wed Jul 14, 2010 10:27 am
Posts: 3
I've got the same problem with:
winxp sp3+ cygwin (GNU bash 3.2.49(23)) + appweb 3.2.2-1 + tornado 2.0(vxworks 5.4)
(new version bug? I would try the old one)

./configure --host=i386-wrs-vxworks --cygwin --disable-all --enable-auth --enable-cmd --enable-complete-cross --enable-digest-auth --enable-rom-fs --static --tune=speed

#
# Running Embedthis Configure 4.2.1
#
# Initializing configure ...
# Sleuth system configuration ...
# Search for MS compiler ...
# Prepare search path ...
# Reading standard product configuration: build/product.config ...
# Parse environment variables ...
# Finding components ...
#
# Search for build components
# Scanning for ar: E:/Windriver/Tornado2/host/x86-win32/bin/ar386.exe
# Scanning for cc: E:/Windriver/Tornado2/host/x86-win32/bin/cc386.exe
# Scanning for make: E:/Windriver/Tornado2/host/x86-win32/bin/make
# Scanning for nm: E:/Windriver/Tornado2/host/x86-win32/bin/nm386.exe
# Scanning for strip: E:/Windriver/Tornado2/host/x86-win32/bin/strip386.exe
# Scanning for mpr: src/mpr
# Scanning for appweb: E:/TDDOWNLOAD/appweb-src-3.2.2-1/src/src/server
#
# Search for host components
# Scanning for vxworks: E:/Windriver/Tornado2
# Scanning for ar: E:/Windriver/Tornado2/host/x86-win32/bin/ar386.exe
# Scanning for cc: E:/Windriver/Tornado2/host/x86-win32/bin/cc386.exe
# Scanning for make: E:/Windriver/Tornado2/host/x86-win32/bin/make
# Scanning for nm: E:/Windriver/Tornado2/host/x86-win32/bin/nm386.exe
# Scanning for strip: E:/Windriver/Tornado2/host/x86-win32/bin/strip386.exe
# Scanning for mpr: src/mpr
# Scanning for appweb: E:/TDDOWNLOAD/appweb-src-3.2.2-1/src/src/server

Must have one auth backend enabled (PAM or FILE).
Enabling the auth-file authorization backend
#
# Creating build/bin/buildConfig.sh ...
# Creating ./buildConfig.make ...
# Creating src/include/buildConfig.h ...
# Cleanup and generate make dependencies ...
#
bash: /c: No such file or directory
bash: /c: No such file or directory
bash: /c: No such file or directory
make.exe: *** [depend] Error 0x7f
bash: /c: No such file or directory
bash: /c: No such file or directory
bash: /c: No such file or directory
make.exe: *** [clean] Error 0x7f
# Configuration for this build:
#
# Configuring Product: appweb
# Base configuration: build/standard.defaults
# Version: 3.2.2-1
# Host system: i386-wrs-vxworks, VXWORKS, i386
# Build system: i686-pc-cygwin, CYGWIN, i686
# Debug Type: DEBUG
# Tune for: MPR_TUNE_SPEED
# Threading single-threaded
# Linking static
# Build components: ar cc make nm strip mpr appweb
# Host components: vxworks ar cc make nm strip mpr appweb
# Directories:
# PRD /usr/lib/appweb
# VER /usr/lib/appweb
# CFG /etc/appweb
# BIN /usr/lib/appweb/bin
# JEM /usr/lib/appweb/jems
# LIB /usr/lib/appweb/lib
# MOD /usr/lib/appweb/modules
# WEB /var/www/appweb-default
# INC /usr/lib/appweb/inc


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[ Time : 0.139s | 10 Queries | GZIP : Off ]