I successfully exposed a custom HTML page using the first described method in on the wiki WEB server page.
I would, however, like to integrate a subpage directly in to the webinterface of DD-WRT. With that goal in mind I tried to extract the firmware using the Firmware-Mod-Kit, described in the Development Wiki page. This always yields the following error
Code:
Firmware Mod Kit (extract) 0.99, (c)2011-2013 Craig Heffner, Jeremy Collake
Preparing tools ...
./common.inc: line 9: autoconf: command not found
make: *** No targets specified and no makefile found. Stop.
Tools build failed! Check pre-requisites. Quitting...
I have installed the requirements as described in the wiki section
Joined: 31 Jul 2021 Posts: 2146 Location: All over YOUR webs
Posted: Sat May 28, 2022 16:27 Post subject: Re: Extending the Webinterface?
akra wrote:
This always yields the following error
Code:
Firmware Mod Kit (extract) 0.99, (c)2011-2013 Craig Heffner, Jeremy Collake
Preparing tools ...
./common.inc: line 9: autoconf: command not found
make: *** No targets specified and no makefile found. Stop.
Tools build failed! Check pre-requisites. Quitting...
I have installed the requirements as described in the wiki section
If someone knows what is happening here or could direct me to working solutions, I would greatly appreciate it.
Read the message IT SAYS autoconf: command not found This means that there are still dependencies missing, cause the list you installed is bullshit or incomplete or both, in this case autoconf, and I bet many others are missing from that list.
Such error messages are really giving you clues, just read them and research them, if it is missing something it will error out at the beginning of Tools build /Check pre-requisites. Then all you need to do, if you dont know is to lookup autoconf or whatever.
In this case you'll need to add sudo apt install autoconf and then if the list is still incomplete it will give you different error, just keep chasing them until all are installed or no dependency errors come up.
Also that wiki entry is insanely ancient, you dont use aptitude to install packages anymore, unless you install aptitude as well, needless to say it should be:
sudo apt install something something-else that the-other and-the-kitchen sink.
If you are building the FMK from sources post 0.99 version, you have to have a specific toolchain with specific package versions. I don't recall if the information is on the googlesource archive or in the DD-WRT wiki or not. Some of the things mentioned here by egc and elsewhere have been looked at to add functionality that prompted these scripts and add-ons to be developed in the first place. Trying to decide between bwmon, YaMON, MyPage, and all of the bits collecting dust is rather fun. The chief concern is making space for whichever bits you go with, while maintaining other current features -OR- deciding which features have to go to make room. _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio