Results 1 to 3 of 3

Thread: @ Rod / compilation using unslung build system

  1. #1
    Join Date
    Jul 2004
    Location
    near Lyon @ France
    Posts
    195

    @ Rod / compilation using unslung build system

    Hi,

    I've recompiled my "historic" Nylon package using unslung build system.
    I have attached an archive with my make/nylon.mk, my sources/nylon/nylon.patch and a conf-dist file : sources/nylon/nylon.conf-dist

    As you will see, I need to tweak nylon.mk with the following :
    1) add --with-libevent=dir in the configure section because nylon's configure did not find the library in the staging directory (the configure script seems to search for the library at it's top-level dir instead of taking advantage of staging CPPFLAGS and staging LDFLAGS)
    2) delete --target in the configure section because nylon's configure takes this parameter as a file transform schema during 'make install' resulting in a 'mipsel-linux-nylon' binary instead of 'nylon'

    Are such issues normals ? is there any way to simply avoid them ?

    Thanks a lot.
    Attached Files Attached Files

  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    The --with-libevent= is fine, it should be used to compile nylon. As for --target - I've no idea, why they're passing it in the template.mk, it should not be there for most packages... Alternatively you could "manually" install it, so it will not use mipsel-linux- prefix. Probably Rod could clarify this...

  3. #3
    Join Date
    Apr 2004
    Location
    Adelaide, Australia
    Posts
    88
    Quote Originally Posted by Jean-Fabrice
    Hi,

    I've recompiled my "historic" Nylon package using unslung build system.
    I have attached an archive with my make/nylon.mk, my sources/nylon/nylon.patch and a conf-dist file : sources/nylon/nylon.conf-dist

    As you will see, I need to tweak nylon.mk with the following :
    1) add --with-libevent=dir in the configure section because nylon's configure did not find the library in the staging directory (the configure script seems to search for the library at it's top-level dir instead of taking advantage of staging CPPFLAGS and staging LDFLAGS)
    2) delete --target in the configure section because nylon's configure takes this parameter as a file transform schema during 'make install' resulting in a 'mipsel-linux-nylon' binary instead of 'nylon'

    Are such issues normals ? is there any way to simply avoid them ?

    Thanks a lot.
    Both issues are normal. Some packages do the right thing with --target (to determine compilation defaults), and some do extra (like you saw with naming the executables differently).

    I have added nylon to the Unslung CVS repository.

    Jean-Fabrice, if you would like to send me your sf.net id, I will grant you write access to the Unslung CVS repository so that you can add future new packages yourself :-)

    -- Rod

Similar Threads

  1. Unslung/WL500g packages available for Oleg's firmware
    By rwhitby in forum WL-500g Custom Development
    Replies: 136
    Last Post: 24-04-2009, 15:54
  2. Setting up vsftpd with unslung.
    By Mr.EoniX in forum WL-500g Q&A
    Replies: 3
    Last Post: 10-11-2006, 13:40
  3. ntop compilation
    By David07 in forum WL-500g Custom Development
    Replies: 0
    Last Post: 05-07-2005, 22:53
  4. Webtools - Configure installed Unslung and other packages
    By Styno in forum WL-500g Custom Development
    Replies: 22
    Last Post: 20-04-2005, 07:46
  5. Build System differences ?
    By WlanMan in forum WL-500g Custom Development
    Replies: 1
    Last Post: 13-08-2004, 22:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •