Alt-F and GIT

494 views
Skip to first unread message

Dadim

unread,
Jan 1, 2011, 12:43:38 PM1/1/11
to Alt-F
Hi,
I just got my DNS-323 and immediately fashed it with Alt-F 1.0B6. Now
I got stuck with a number of packages that I want to add. At least,
descriptions don't work as mentioned in various forums and blogs.
Could this be due to a release change with B6?

I tried three approaches to add my packages. Since GIT is my favorite
I will focus on it:

(1)
Compiling from source: The gcc compiler can be installed with ffp.
However, the installed gcc is unable to find basic includes, such as
stdio.h or error_no.h

(2)
I tried installing Optware as discribed here:
http://luhman.org/blog/2009/08/06/phase-4-d-link-dns-323-hacking-running-optware
However, the binary that I extracted from the ipk file, was unable to
run on the system. It complained about a missing dependency to
"__stdin"

(3)
I deleted the optware distribution and tried enabling the Alt-F's
native ipkg based package system. Because there are only very few
packages listed, I simply added the additional source feed:
http://ipkg.nslu2-linux.org/feeds/optware/dns323/cross/unstable in the
web-GUI in Packages->AltF->Configure Feeds.
Now git showed up in the available package list, but installation
fails with an error in the post-install scripts: "/opt/bin/update-
alternatives: not found". Although a git binary finally ends up in a
bin-directory, starting it complains about a missing "__stdout"

Can anyone give me a hint how to proceed on my path to git.

Thanks a lot,
Stefan

Hamish Campbell

unread,
Jan 2, 2011, 2:11:51 AM1/2/11
to Alt-F
Hi Stefan,

You'll probably need to wait until the 4th when Joao is back. So
don't give up :)

Augusto Bott

unread,
Jan 2, 2011, 9:08:39 PM1/2/11
to al...@googlegroups.com
Hi Dadim!

Like Hamish, I'd suggest waiting a few days to see what Joao has to
say about it... Anyways, I just googled for "alt-f optware" and I'd
suggest a quick read of a few links that seem relevant. This one
mentions issues similar to what you've been experiencing with optware
packages:
http://forum.dsmg600.info/viewtopic.php?id=5576
This one mentions incompatibilities between the toolchain used by
Alt-F and optware (although, it's not very detailed):
https://code.google.com/p/alt-f/issues/detail?id=2

Still, things may have changed since then... and I'm eager to hear from Joao.

Cheers!

--
Augusto Bott

> --
> You received this message because you are subscribed to the Google Groups "Alt-F" group.
> To post to this group, send email to al...@googlegroups.com.
> To unsubscribe from this group, send email to alt-f+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/alt-f?hl=en.
>
>

Joao Cardoso

unread,
Jan 6, 2011, 10:55:15 AM1/6/11
to Alt-F


On Jan 1, 5:43 pm, Dadim <stefandirnstor...@gmail.com> wrote:
> Hi,
> I just got my DNS-323 and immediately fashed it with Alt-F 1.0B6. Now
> I got stuck with a number of packages that I want to add. At least,
> descriptions don't work as mentioned in various forums and blogs.
> Could this be due to a release change with B6?

Can you please state what Alt-F or ffp packages you try to install and
did not work?
What error show up when you tried to install then using the web
interface?

I have several Alt-F packages installed in 0.1B6 without problem...

> I tried three approaches to add my packages. Since GIT is my favorite
> I will focus on it:
>
> (1)
> Compiling from source: The gcc compiler can be installed with ffp.

Alt-F also has a dev.-bundle package, with native gcc, binutils,
headers and libraries.

> However, the installed gcc is unable to find basic includes, such as
> stdio.h or error_no.h
>
> (2)
> I tried installing Optware as discribed here:http://luhman.org/blog/2009/08/06/phase-4-d-link-dns-323-hacking-runn...
> However, the binary that I extracted from the ipk file, was unable to
> run on the system. It complained about a missing dependency to
> "__stdin"

This is a know issue, see the links that Augusto posted.

Issue 2 has a comment "WontFix". This is not definitive, but as the
post in the dsmg600 forum didn't provide any track for a quick fix, I
put it apart.

The fact that Alt-F uses ipkg as a package manager was motivated by
the desire to use optware packages.

If anybody want to pursue this issue and provide a solution or at
least the track to follow, it would be most welcome.

I can't (and I don't wont to) compete with Optware packages.

> (3)
> I deleted the optware distribution and tried enabling the Alt-F's
> native ipkg based package system. Because there are only very few
> packages listed, I simply added the additional source feed:http://ipkg.nslu2-linux.org/feeds/optware/dns323/cross/unstablein the
> web-GUI in Packages->AltF->Configure Feeds.
> Now git showed up in the available package list, but installation
> fails with an error in the post-install scripts: "/opt/bin/update-
> alternatives: not found". Although a git binary finally ends up in a
> bin-directory, starting it complains about a missing "__stdout"

Of course. You also have to change /etc//ipkg.conf. The web page says
Alt-F packages, not Optware packages... but even if you succeed
installing, they wont run.

Stefan Dirnstorfer

unread,
Jan 7, 2011, 6:48:57 AM1/7/11
to al...@googlegroups.com
Hi,

Can you please state what Alt-F or ffp packages you try to install and
> did not work?
> What error show up when you tried to install then using the web
> interface?
>
> I have several Alt-F packages installed in 0.1B6 without problem...

All ffp packages and all Alt-F packages that I installed, worked without
problems. I have not tested all of them, but I did not encounter
problems with any of those that I did install.

I somehow had the idea, of running Alt-F as a git server. Therefore it
would be necessary to install git, or, as the package is called in some
ipkg repos, git-lite.

The problem is, that the packages listed within the Alt-F administrative
GUI, does not list any of those packages. Neither git nor git-lite could
be found.

I was somehow mislead into thinking, that I could follow the
installation instructions that were written for the original firmware.
Thanks a lot for explaining that to me.

I think I'm going to skip my plans for git and focus on my fan problems
for now ;-)
Best wishes,
Stefan


Reply all
Reply to author
Forward
0 new messages