Denemo compilation problem

Hi, I am trying to build Denemo - music notation software.
However during configure I received and error:


configure: error: Package requirements (g-wrap-2.0-guile >= 1.9) were not met:

But there is no such package in any repo…anyone help?

On Sun, 24 Aug 2008 21:46:01 GMT
Beyo <Beyo@no-mx.forums.opensuse.org> wrote:

>
> Hi, I am trying to build Denemo - music notation software.
> However during configure I received and error:
>
> Code:
> --------------------
>
> configure: error: Package requirements (g-wrap-2.0-guile >= 1.9) were not
> met:
> --------------------
>
> But there is no such package in any repo…anyone help?
>
>

You’ll need to install the ‘g-wrap’ package from the GNOME:/STABLE
repository.

Use the repo manager in Yast Software, then add the community repository
“Gnome:/Stable”.

Then install ‘g-wrap’.

Loni


L R Nix
lornix@lornix.com

This is the same:


checking for GWRAP... configure: error: Package requirements (g-wrap-2.0-guile >= 1.9) were not met:

Duplicate definition of variable 'datarootdir' in '/usr/lib/pkgconfig/g-wrap-2.0-guile.pc'

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GWRAP_CFLAGS
and GWRAP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

but i have this file in /usr/lib/pkgconfig/ so why configure doesn’t detect this?

If you look into the file /usr/lib64/pkgconfig/g-wrap-2.0-guile.pc you’ll see the error described in the error message:


prefix=/usr
exec_prefix=/usr
datarootdir=${prefix}/share
^^^^^^^^^^^^^^
libdir=/usr/lib64
includedir=/usr/include
datarootdir=${prefix}/share
^^^^^^^^^^^^^^
datadir=/usr/share
module_directory=${prefix}/share/guile/site

datarootdir is defined twice.

I’ve hit the same problem. I’m trying to buile guile-gnome-platform.

Misc notes:
platform: openSUSE_11.0 x86_64
g-wrap: version 1.9.10-32.1

Regards
Werner

I’ve filed a bug report

https://bugzilla.novell.com/show_bug.cgi?id=473233

I get a similar problem when I run ./configure for denemo 0.9.2 :

checking pkg-config is at least version 0.9.0… yes
checking for GTK2… yes
checking for GUILE… no
configure: error: Package requirements (guile-1.8 >= 1.8) were not met:

No package ‘guile-1.8’ 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 GUILE_CFLAGS
and GUILE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

guile IS installed (version 2.0).
Anyone can help?
Thanks,

  • pascal

Am 21.02.2012 09:56, schrieb ppligdas:
> guile IS installed (version 2.0).

Is guile-devel installed, what is the output from


pkg-config --list-all | grep guile


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.8.0 |
nVidia ION | 3GB Ram

It is :

pascal@linux-7vld:~/Music-Editors/denemo-0.9.2> pkg-config --list-all | grep guile
guile-2.0 GNU Guile - GNU’s Ubiquitous Intelligent Language for Extension
pascal@linux-7vld:~/Music-Editors/denemo-0.9.2>

Thanks for helping

  • pascal

Ok so it is not a problem of missing development packages but seems to
be a problem that this configure looks explicitly for guile 1.8 and does
not accept 2.0.
There are two things you can try:
Install guile1 and libguile1-devel in addition to guile
http://software.opensuse.org
it is in this repository
http://download.opensuse.org/repositories/devel:/languages:/misc/openSUSE_12.1

and try configure again, most probably it will fail without further
configuration (but simply try it first) and you need to set GUILE_CFLAGS
and GUILE_LIBS manually as the error message tells you to point to the
right libraries and flags.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.8.0 |
nVidia ION | 3GB Ram

I tried to install guile1 but I got too many conflicts and did not want to get into more trouble. I would like to play with the environment variables if I knew what their values are supposed to be. Instead, I copied the file guile-1.8.pc, I found in the denemo dir, to /usr/lib/pkgconfig/. Then I configured again and got


checking pkg-config is at least version 0.9.0... yes
checking for GTK2... yes
checking for GUILE... yes
checking for XML2... yes
checking for GTKSOURCEVIEW... yes
checking for RSVG... no
configure: error: Package requirements (librsvg-2.0 >= 2.0) were not met:

No package 'librsvg-2.0' found

Sure enough librsvg IS installed and in fact it’s a newer version (2.2.xx).

Any ideas,

  • pascal

Am 21.02.2012 16:36, schrieb pligdas:
Sure enough librsvg IS installed and in fact it’s a newer version
> (2.2.xx).
>
Install librsvg-devel


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.8.0 |
nVidia ION | 3GB Ram

I quickly compiled that now on a 12.1 system with


../configure GUILE_CFLAGS="-pthread -I/usr/include/guile/2.0"
GUILE_LIBS="-lguile-2.0 -lgc" --with-included-smf

I had to create a symbolic link for libasound.so (to libasound.so.2).


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.8.0 |
nVidia ION | 3GB Ram

I just did and got :


checking for RSVG... yes
checking for FONTCONFIG... yes
checking for SMF... no
configure: error: Package requirements (smf >= 1.3) were not met:

No package 'smf' found


Now, I cannot any package by that name (or libsmf). At the risk of asking too much, does anyone know how to proceed from here?

  • Pascal

Am 22.02.2012 15:46, schrieb pligdas:
>
> I just did and got :
>
> Code:
> --------------------
>
> checking for RSVG… yes
> checking for FONTCONFIG… yes
> checking for SMF… no
> configure: error: Package requirements (smf >= 1.3) were not met:
>
> No package ‘smf’ found
>
>
> --------------------
>
> Now, I cannot any package by that name (or libsmf). At the risk of
> asking too much, does anyone know how to proceed from here?
>
> - Pascal
>
That is the reason why you need the switch --with-included-smf in your
configure command, denemo has this library included.
Look at my previous post. (The code there has to be in one line it was
broken into two when I sent it).


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.8.0 |
nVidia ION | 3GB Ram

Ok, so, with your help I managed to, finally, configure ok (after installing a few other
missing packages). But when I did a make I got


/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: cannot find -lguile
collect2: ld returned 1 exit status
make[2]: *** [denemo] Error 
make[2]: Leaving directory `/home/pascal/Music-Editors/denemo-0.9.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pascal/Music-Editors/denemo-0.9.2'
make: *** [all] Error 2
pascal@linux-7vld:~/Music-Editors/denemo-0.9.2> 

I think I’m gonna quit this whole denemo endeavour…

  • pascal

Am 22.02.2012 17:16, schrieb pligdas:

> I think I’m gonna quit this whole denemo endeavour…
>
> - pascal
>
>
show me the exact configure statement you used with all options you set
it is something trivial


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.8.0 |
nVidia ION | 3GB Ram

After your suggestion I used


./configure GUILE_CFLAGS="-pthread -I/usr/include/guile/2.0" GUILE_LIBS="-lguile-2.0 -lgc" --with-included-smf

without any errors. Then just make and sudo make install, and Bingo!

Thanks for your persistence! (and patience)…
Not very impressed by it after musescore. Still same problem no sound…

Thanks again,

  • pascal

If you look into the file /usr/lib64/pkgconfig/g-wrap-2.0-guile.pc
you’ll see the error described in the error message:


prefix=/usr
exec_prefix=/usr
datarootdir=${prefix}/share
^^^^^^^^^^^^^^
libdir=/usr/lib64
includedir=/usr/include
datarootdir=${prefix}/share
^^^^^^^^^^^^^^
datadir=/usr/share
module_directory=${prefix}/share/guile/site

datarootdir is defined twice.

I’ve hit the same problem. I’m trying to buile guile-gnome-platform.

Misc notes:
platform: openSUSE_11.0 x86_64
g-wrap: version 1.9.10-32.1

Regards
Werner


werner2101

werner2101’s Profile: http://forums.opensuse.org/member.php?userid=2064
View this thread: http://forums.opensuse.org/showthread.php?t=393601

I’ve filed a bug report

https://bugzilla.novell.com/show_bug.cgi?id=473233


werner2101

werner2101’s Profile: http://forums.opensuse.org/member.php?userid=2064
View this thread: http://forums.opensuse.org/showthread.php?t=393601