Opened 14 years ago
Closed 14 years ago
#222 closed defect (fixed)
Compiling error with sugar-base: "no: command not found"
Reported by: | jjmarin | Owned by: | dfarning |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Sugar | Version: | Unspecified |
Severity: | Keywords: | jhbuild ubuntu | |
Cc: | Distribution/OS: | ||
Bug Status: |
Description
* Building sugar-base * [6/39]
make
Making all in src
make[1]: Entering directory `/home/jjmarin/proyectos/sugar-jhbuild/source/sugar-base/src'
Making all in sugar
make[2]: Entering directory `/home/jjmarin/proyectos/sugar-jhbuild/source/sugar-base/src/sugar'
Making all in dispatch
make[3]: Entering directory `/home/jjmarin/proyectos/sugar-jhbuild/source/sugar-base/src/sugar/dispatch'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/jjmarin/proyectos/sugar-jhbuild/source/sugar-base/src/sugar/dispatch'
make[3]: Entering directory `/home/jjmarin/proyectos/sugar-jhbuild/source/sugar-base/src/sugar'
(cd .\
&& no \
--override _sugarbaseext.override \
--prefix py_sugarbaseext _sugarbaseext.defs) > gen-_sugarbaseext.c \
&& cp gen-_sugarbaseext.c _sugarbaseext.c \
&& rm -f gen-_sugarbaseext.c
/bin/bash: line 2: no: command not found
make[3]: * [_sugarbaseext.c] Error 127
make[3]: Leaving directory `/home/jjmarin/proyectos/sugar-jhbuild/source/sugar-base/src/sugar'
make[2]: * [all-recursive] Error 1
make[2]: Leaving directory `/home/jjmarin/proyectos/sugar-jhbuild/source/sugar-base/src/sugar'
make[1]: * [all-recursive] Error 1
I have Ubuntu 8.10. I have no idea where to find this no command.
make[1]: Leaving directory `/home/jjmarin/proyectos/sugar-jhbuild/source/sugar-base/src'
make: * [all-recursive] Error 1
* error during stage build of sugar-base: ########## Error running make * [6/39]
Change History (7)
comment:1 Changed 14 years ago by jjmarin
comment:2 Changed 14 years ago by tomeu
Instead of "no", you should have there the command "/usr/bin/pygtk-codegen-2.0".
So, questions:
- why ./sugar-jhbuild depscheck doesn't return an warning about packages missing?
- why configure doesn't returns an error and aborts building sugar-base?
Suggestion:
- install python-gtk2-dev and try again
comment:3 Changed 14 years ago by dfarning
- Owner changed from marcopg to dfarning
- Status changed from new to accepted
I need to add depscheck back into jhbuild. As part of the refactoring I tried to push marco's depschecks upstream. It has not been accepted yet.
comment:4 Changed 14 years ago by jjmarin
hi there,
Thanks for your efforts to fix the bug.
I've installed python-gtk2-dev, ./sugar-jhbuild update (well, the good news is that #223 can be close :-), and ./sugar-jhbuild build.
I've got the same error message again.
comment:5 Changed 14 years ago by dfarning
I have push a despscheck update
Can you try:
rm -rf sugar-jhbuild
git clone git://git.sugarlabs.org/sugar-jhbuild/mainline.git sugarjhbuild
cd sugar-jhbuild
./sugarjhbuild depscheck
comment:6 Changed 14 years ago by jjmarin
depscheck listed these packages:
python-cairo-dev libcroco3-dev libgsf-1-dev libenchant-dev libfribidi-dev libboost-dev libxt-dev libwv-dev gnome-common python-numpy libwnck-dev xserver-xephyr librsvg2-dev python-cjson gtk-doc-tools libglade2-dev libidl-dev libgconf2-dev libgnomevfs2-dev libpoppler-glib-dev icon-naming-utils icon-slicer libasound2-dev libloudmouth1-dev libavahi-gobject-dev python-avahi libpoppler-dev xulrunner-1.9-dev libsoup2.2-dev libpoppler-glib-dev
So then, I install them
sudo apt-get install python-cairo-dev libcroco3-dev libgsf-1-dev libenchant-dev libfribidi-dev libboost-dev libxt-dev libwv-dev gnome-common python-numpy libwnck-dev xserver-xephyr librsvg2-dev python-cjson gtk-doc-tools libglade2-dev libidl-dev libgconf2-dev libgnomevfs2-dev libpoppler-glib-dev icon-naming-utils icon-slicer libasound2-dev libloudmouth1-dev libavahi-gobject-dev python-avahi libpoppler-dev xulrunner-1.9-dev libsoup2.2-dev libpoppler-glib-dev
On the build process, I've got this error:
checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4) were not met:
No package 'libsoup-2.4' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBSOUP_CFLAGS
and LIBSOUP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
* error during stage configure of telepathy-salut: ########## Error running ./configure --prefix /home/jjmarin/proyectos/sugar-jhbuild/install --libdir '${exec_prefix}/lib' --enable-olpc * [12/40]
So I installed libsoup2.4-dev (I was told to install libsoup2.2-dev not this one).
Everything went well after that
* success * [40/40] :-)
Thank you for your help !
comment:7 Changed 14 years ago by dfarning
- Resolution set to fixed
- Status changed from accepted to closed
libsoup-dev dependency updated to 2.4 for Ubuntu
thanks
Sorry, I've intertwined the error message with my comment: "I have Ubuntu 8.10. I have no idea where to find this 'no' command."
I have the 'yes' command (it belongs to the gnu coreutils), but I don't have a clue about the 'no' command.