Page 1 of 6 123 ... LastLast
Results 1 to 15 of 128

Thread: Сборка пакетов под WL-500g Premium

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Post Сборка пакетов под WL-500g Premium

    Хотелось бы получить пару советов о том с чего начать.
    Т.е. что нужно поставить, какой компилятор, какое ядро и т.п. может кто то поделится своим опытом.
    Ну вот как нибудь так:
    1) ставим такую то VM
    2) сливаем и ставим образ VM от туда то.
    3) берем gcc такой то версии.
    4) компилируем и собираем в таком то формате (tgz? что то свое?)

    PS: С линукс и в частность со сборкой пакетов под слакварь я вобщем то не плохо знаком. (с 2001г.)

    Заранее благодарен за помошь.
    Last edited by angel_il; 17-05-2007 at 06:49.

  2. #2
    Смотрим вот сюда: Тынц

  3. #3
    Спасибо большое, кажется то что нужно.
    Это сборка самой прошивки, а как компилить софт под тот процессор?
    Нужды ли какие то опции компиляции особые?

    там же нашел ссылку на http://wl500g.dyndns.org/#toolchain
    Last edited by angel_il; 17-05-2007 at 08:13.

  4. #4
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    ответ не совсем верный, т.к. там описано что надо для компиляции фирмваре. Кроме того, этот тулчейн используется для компиляции пакетов unslung

    Однако, рекомендуемый feed для пакетов --- optware и для него описание здесь:

    http://www.nslu2-linux.org/wiki/FAQ/Optware-uClibcBuild
    http://www.nslu2-linux.org/wiki/Optw...ckageToOptware

    можно компилировать как на роутере, так и на внешней линуксовой машине. Я поставил opensuse 10.2 в vmware, хотя второй раз предпочел бы что-нибудь полегковеснее. С debian 3.1 у меня были проблемы, debian 4 --- ОК. Далее по инструкции.

  5. Не запускается установленный пакет

    [admin@gw bin]$ ls -la /opt/bin/ | grep mc
    -rwxr-xr-x 1 admin root 741480 Jul 18 05:57 mc

    [admin@gw bin]$ /opt/bin/mc
    -sh: /opt/bin/mc: not found

    Куда копать?

  6. #6
    Join Date
    Aug 2006
    Location
    Moscow, Russia
    Posts
    788

  7. Сам отвечаю на свой вопрос - обновить uclibc-opt после перехода на новый репозитарий...

  8. #8

    как удалить пакет?

    Хочу удалить некоторые пакеты.
    Пакет можно удалить с помощью команды ipkg
    А как?
    Пароль у него на компьютере - "пароль".

  9. #9
    Join Date
    Aug 2006
    Location
    Moscow, Russia
    Posts
    788
    Если запустить ipkg без параметров, то можно узнать много интересного:
    Code:
    [root@router:~]# ipkg
    ipkg: ipkg must have one sub-command argument
    ipkg version 0.99.163
    usage: ipkg [options...] sub-command [arguments...]
    where sub-command is one of:
    
    Package Manipulation:
            update                  Update list of available packages
            upgrade                 Upgrade all installed packages to latest version
            install <pkg>           Download and install <pkg> (and dependencies)
            install <file.ipk>      Install package <file.ipk>
            configure [<pkg>]       Configure unpacked packages
            remove <pkg|regexp>     Remove package <pkg|packages following regexp>
            flag <flag> <pkg> ...   Flag package(s) <pkg>
             <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)    
    
    Informational Commands:
            list                    List available packages and descriptions
            list_installed          List all and only the installed packages and description 
            files <pkg>             List all files belonging to <pkg>
            search <file|regexp>            Search for a package providing <file>
            info [pkg|regexp]               Display all info for <pkg>
            status [pkg|regexp]             Display all status for <pkg>
            download <pkg>          Download <pkg> to current directory.
            compare_versions <v1> <op> <v2>
                                      compare versions using <= < > >= = << >>
            print_architecture      prints the architecture.
            print_installation_architecture
            whatdepends [-A] [pkgname|pat]+
            whatdependsrec [-A] [pkgname|pat]+
            whatprovides [-A] [pkgname|pat]+
            whatconflicts [-A] [pkgname|pat]+
            whatreplaces [-A] [pkgname|pat]+
                                    prints the installation architecture.
    
    Options:
            -A                      Query all packages with whatdepends, whatprovides, whatreplaces, whatconflicts
            -V <level>               Set verbosity level to <level>. If no value is
            --verbosity <level>      provided increase verbosity by one. Verbosity levels:
                                     0 errors only
                                     1 normal messages (default)
                                     2 informative messages
                                     3 debug output
            -f <conf_file>          Use <conf_file> as the ipkg configuration file
            -conf <conf_file>       Default configuration file location
                                    is /opt/etc/ipkg.conf
            -d <dest_name>          Use <dest_name> as the the root directory for
            -dest <dest_name>       package installation, removal, upgrading.
                                    <dest_name> should be a defined dest name from
                                    the configuration file, (but can also be a
                                    directory name in a pinch).
            -o <offline_root>       Use <offline_root> as the root directory for
            -offline <offline_root> offline installation of packages.
            -verbose_wget           more wget messages
            Force Options (use when ipkg is too smart for its own good):
            -force-depends          Make dependency checks warnings instead of errors
                                            Install/remove package in spite of failed dependences
            -force-defaults         Use default options for questions asked by ipkg.
                                    (no prompts). Note that this will not prevent
                                    package installation scripts from prompting.
            -force-reinstall        Allow ipkg to reinstall a package.
            -force-overwrite        Allow ipkg to overwrite files from another package during an install.
            -force-downgrade        Allow ipkg to downgrade packages.
            -force_space            Install even if there does not seem to be enough space.
            -noaction               No action -- test only
            -nodeps                 Do not follow dependences
            -force-removal-of-dependent-packages
            -recursive              Allow ipkg to remove package and all that depend on it.
            -test                   No action -- test only
            -t                      Specify tmp-dir.
            --tmp-dir               Specify tmp-dir.
    
            regexp could be something like 'pkgname*' '*file*' or similar
            eg: ipkg info 'libstd*'  or ipkg search '*libop*' or ipkg remove 'libncur*'

  10. #10
    Join Date
    Feb 2008
    Location
    Dniepropetrovsk, Ukraine
    Posts
    1,527

    Exclamation куда делся openssl пакет из репозитория

    кажется уже поднимали эту проблему, но вот столкнулся и я.

    файла openssl_0.9.7m-4_mipsel.ipk
    просто нет в репозитории http://ipkg.nslu2-linux.org/feeds/op.../cross/stable/

    куда он подевался?????

  11. #11
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    причины подобных явлений надо искать здесь: http://trac.nslu2-linux.org/optware

    Обнаруживаем, что в течение 12 последних часов было сделано два изменения в пакете openssl. Причем, второе отменяет первое. Полагаю, что в течение 24 часов пакет появится (все дерево перекомпилируется раз в сутки).

  12. #12
    Join Date
    Feb 2008
    Location
    Dniepropetrovsk, Ukraine
    Posts
    1,527

    Question openssl

    Quote Originally Posted by al37919 View Post
    причины подобных явлений надо искать здесь: http://trac.nslu2-linux.org/optware

    Обнаруживаем, что в течение 12 последних часов было сделано два изменения в пакете openssl. Причем, второе отменяет первое. Полагаю, что в течение 24 часов пакет появится (все дерево перекомпилируется раз в сутки).
    да, уже появился с датой создания 16 мая

  13. #13

    Как упаковать собраную программу в инсталяционный пакет

    Приветствую Всех,
    Хотел бы узнать как можно собрать в пакет программу (Unreal IRCd), которую я скомпилировал.
    Заранее благодарен.

  14. #14
    ASUS WL-500gPremium V1; Прошивка X-Wrt (openwrt-brcm-2.4-squashfs.trx); JID: anterior@im.flosoft.biz

  15. #15

    Олег помоги собрать пакет для Asus wl500gpv2

    Олег собери пожалуйста пакет asterisk-g72x-1.0-beta8.tar.bz2 для Asus wl500gpv2, ну очень надо, весь мозг себе уже вынес
    Attached Files Attached Files

Page 1 of 6 123 ... LastLast

Similar Threads

  1. Домовые сети, DHCP + PPPoE/PPTP/L2TP
    By Oleg in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 1256
    Last Post: 20-02-2012, 13:44
  2. Настройка FTP сервера на Asus WL-500gP
    By RonS in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 259
    Last Post: 27-11-2011, 15:57
  3. Установка и настройка DC++ клиента Shakespeer
    By angel_il in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 154
    Last Post: 14-08-2011, 09:57
  4. Block Torrents on asus wl 500g premium
    By jolace in forum WL-500gP Q&A
    Replies: 1
    Last Post: 11-07-2009, 07:13
  5. WL 500g Premium
    By airbrush999 in forum German Discussion - Deutsch (DE)
    Replies: 1
    Last Post: 27-11-2007, 23:17

Tags for this Thread

Posting Permissions

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