[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem packaging gnujump for practice



Dear mentors,

I am experimenting with debian packaging and I was following Lucas practical session 2 about packaging gnujump from upstream. The package is packed as a single package. (No gnujump-data).

The package has been built successfully but when I run the program I get:

$ gnujump
Loading theme: /usr/local/share/gnujump/skins/default/config.theme
ERROR: Can open theme file (/usr/local/share/gnujump/skins/default/config.theme).

The theme is in fact, under "/usr/share/gnujump/skins/default/config.theme" instead.

Why does the binary references "/usr/local"

In "debian/rules" I have:

```
DH_VERBOSE = 1

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
        dh $@  --with autotools-dev

CFLAGS += -lm
```

Am I missing something obvious here?

You can find the complete build log here:

http://pastebin.com/WzjCRVzf

As you can see there is no reference to "/usr/local" anywhere.

Any Ideas?

--
theo


Reply to: