NSLU2-Linux
view · edit · print · history

Optware.CompilingWizd History

Hide minor edits - Show changes to markup

November 14, 2007, at 04:25 PM by Alpine --
Changed line 2 from:

I'm not sure who's done it or when but Wizd 2.4, the current version is available as a package. Thanks to the creator!

to:

I'm not sure who's done it or when but Wizd 2.4, the current version is available as an Unslung package. Thanks to the creator!

November 14, 2007, at 04:24 PM by Alpine --
Added line 4:
Added line 6:
November 14, 2007, at 04:24 PM by Alpine -- Wizd 2.4 now available as a package
Added lines 1-7:

Wizd now available as a package I'm not sure who's done it or when but Wizd 2.4, the current version is available as a package. Thanks to the creator! Use the usual installation method: ipkg update ipkg install wizd


August 30, 2006, at 05:45 PM by Jib Wizd Team --
Changed lines 2-4 from:
to:

Note: Wizd v23 has been released and source code is available on Sourceforge : http://sourceforge.net/projects/wizd/ Someone needs to compile from source...

May 18, 2006, at 08:19 PM by marceln -- Added the tip that somebody should make a package
Added lines 21-24:

It is a lot easer if someone added this as package to unslung.

May 18, 2006, at 02:48 AM by Eddie -- Note on the conf file
Changed lines 16-20 from:
  • You can then take the wizd binary created and replace /opt/sbin/wizd with it. Note that because it is using dynamic libraries, you will either need to edit /opt/etc/init.d/S84wizd to add LD_LIBRARY_PATH=/opt/lib in front of the wizd command line, or setup your ld.so.conf appropriately.
to:
  • You can then take the wizd binary created and replace /opt/sbin/wizd with it. Note that because it is using dynamic libraries, you will either need to edit /opt/etc/init.d/S84wizd to add LD_LIBRARY_PATH=/opt/lib in front of the wizd command line, or setup your ld.so.conf appropriately.

Optionally, you could also replace /opt/share/wizd/(skin, docroot) with the new(?) ones from the pvb.19 source.

Finally, you also want to copy the new config file (wizd.conf) from the source and move your old one (/opt/etc/wizd.conf) out of the way, as some things may have changed. You'll want to change all the paths (./skin to /opt/share/wizd/skin and ./docroot to /opt/share/wizd/docroot)

May 18, 2006, at 02:41 AM by Eddie -- add note about modifying other wizd.h paths to use /opt
Changed line 14 from:
  • We also want wizd to look for /opt/etc/wizd.conf, so edit wizd.h and look for the config file array, include /opt/etc in that array.
to:
  • We also want wizd to look for /opt/etc/wizd.conf, so edit wizd.h and look for the config file array, include /opt/etc in that array. Also modify DEFAULT_DEBUG_LOG_FILENAME to be /opt/var/log/wizd_debug.log and DEFAULT_PATH to prepend /opt/bin and /opt/sbin
May 18, 2006, at 02:36 AM by Eddie -- note about the ld library path
Added line 16:
  • You can then take the wizd binary created and replace /opt/sbin/wizd with it. Note that because it is using dynamic libraries, you will either need to edit /opt/etc/init.d/S84wizd to add LD_LIBRARY_PATH=/opt/lib in front of the wizd command line, or setup your ld.so.conf appropriately.
May 18, 2006, at 02:34 AM by Eddie -- Quick tips on how to compile the latest wizd on the slug
Added lines 1-15:

As of May 17 2006, the latest ipkg for wizd is version pvb_12. The latest version (from the link in the Packages page) is pvb_19, that includes many great features.

I may not have the time right now to compile a new ipkg version, I can at least mention this:

Compiling wizd on the slug

  • Install a wizd package, so that you get libjpeg and libdvdread installed
  • Install the crosstools ipkg packages if not already installed, so you can compile
  • Download and untar the linux source package for wizd
  • Enter the source directory, and make the following changes to the Makefile:
 * CFLAGS += -I/usr/local/include -I/opt/include/
 * LDFLAGS += -L/opt/lib -L/usr/local/lib -ljpeg -ldvdread -ldl -lm
  • The first change adds /opt/include to the c flags (so the dvdread include file can be found), the second one removes the static compilation flag (libdvdread.a is not insalled with the slug ipkg for libdvdread) and makes the binary use dynamic libraries. You also need -ldl and -lm then to compile succesfully.
  • We also want wizd to look for /opt/etc/wizd.conf, so edit wizd.h and look for the config file array, include /opt/etc in that array.
  • Finally, during compilation, you may get a failure to compile nkfwrap.c, because it calls "cc" and not "gcc" - I didnt even bother editing that Makefile; simply compile by hand (gcc -c nkfwrap.c) and then rerun the main makefile.
view · edit · print · history · Last edited by Alpine.
Based on work by Alpine, Jib Wizd Team, marceln, and Eddie.
Originally by Eddie.
Page last modified on November 14, 2007, at 04:25 PM