LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-09-2007, 06:14 AM   #1
icecube76
LQ Newbie
 
Registered: Jun 2003
Posts: 17

Rep: Reputation: 0
help help with blackdog


hi all
i have blackdog usb server.
since the site projectblackdog.com is down forever, ant the apt is not working.
i need to know how to install applications on it,
i just wget Firefox ,did ./configure ,make i get error that no target specified and make install another error
i have the sdk so i can test the programs before running them into blackdog
so how can i build packages from source using sdk?

this is the sdk link
http://tbayne.net/index.php

and some info about the device
http://en.wikipedia.org/wiki/BlackDog

regards
 
Old 04-09-2007, 06:53 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
OK - you need to calm down and go through it systematically.

What are you trying to do?

What happened (copy and paste any commands and error messages)?

In what way are things not working for you?

You realise that blackdog is intended as a server rather than a desktop? There are desktop linuxes which will run from usb-stick. Technically, any linux can be run in this way.

Firefox:
It looks like you are trying to install firefox from source.

"no target specified" on "make" suggests that the top level makefile is expecting a target. You didn't tell us the error when you invoked "make install".

However: there is a README file in there - did you read it?
 
Old 04-09-2007, 09:53 AM   #3
icecube76
LQ Newbie
 
Registered: Jun 2003
Posts: 17

Original Poster
Rep: Reputation: 0
thank you Simon for your reply

i'm trying to install some programm's on blackdog, i need web browser,IM, IRC, telnet ssh web and ftp servers.

when make i get this error

make: *** No targets spacified and no make file found. stop.

when make install
make: *** No rule to make target 'install' . stop.
 
Old 04-10-2007, 02:03 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
make: *** No targets spacified and no make file found. stop.
If you got this file from the firefox website (say, for firefox 2.0) then there is no makefile, the error is correct. What lead you to believe there would be one?

Have you read the instructions? (use ls command on that top directory and paste the output here.)
 
Old 04-10-2007, 11:10 AM   #5
icecube76
LQ Newbie
 
Registered: Jun 2003
Posts: 17

Original Poster
Rep: Reputation: 0
yes i downloaded the file from mozilla.com
if thare is no make install then how can i install it?
regards
 
Old 04-11-2007, 06:39 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
yes i downloaded the file from mozilla.com
if thare is no make install then how can i install it?
Reread my last sentence in my previous post.
Did you do what I suggested there?
What did you find out?

Oh all right... If you have unzipped the tarball, you have installed it. Well done.

Enter "./firefox &"
 
Old 04-11-2007, 02:50 PM   #7
icecube76
LQ Newbie
 
Registered: Jun 2003
Posts: 17

Original Poster
Rep: Reputation: 0
i untar the file and run the command
./firefox &
i got this error
./run-mozilla.sh: line 166: ./firefox.bin: cannot execute binary file
 
Old 04-11-2007, 04:34 PM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by Simon Bridge in post #2
copy and paste any commands and error messages
Quote:
Originally Posted by Simon Bridge in post #4
use ls command on that top directory and paste the output here
<sigh>

Here's from mine:
Code:
simon@errata:~$ sudo su -
Password:

root@errata:~# ls
Desktop

root@errata:~# cp /home/simon/firefox-2* /opt

root@errata:~# cd /opt

root@errata:/opt# ls
firefox-2.0.0.3.tar.gz

root@errata:/opt# tar -xf firefox-2*

root@errata:/opt# ls
firefox  firefox-2.0.0.3.tar.gz

root@errata:/opt# cd firefox

root@errata:/opt/firefox# ls
browserconfig.properties  libnspr4.so         mozilla-xremote-client
chrome                    libnss3.so          old-homepage-default.properties
components                libnssckbi.so       plugins
defaults                  libplc4.so          readme.txt
dictionaries              libplds4.so         removed-files
extensions                libsmime3.so        res
firefox                   libsoftokn3.chk     run-mozilla.sh
firefox-bin               libsoftokn3.so      searchplugins
greprefs                  libssl3.so          updater
icons                     libxpcom_compat.so  updater.ini
libfreebl3.chk            libxpcom_core.so    xpicleanup
libfreebl3.so             libxpcom.so
libmozjs.so               libxpistub.so

root@errata:/opt/firefox# cat readme.txt
For information about installing, running and configuring Firefox 
including a list of known issues and troubleshooting information, 
refer to: http://getfirefox.com/releases/

root@errata:/opt/firefox# exit
logout

simon@errata:~$ /opt/firefox/firefox &
[1] 20049
And firefox 2.0 opens on my desktop.

From your error, open the script in gedit and check the offending line.

On mine, line 166 reads:
"$prog" ${1+"$@"}

... tracking these variables back shows that the firefox script looks for likely names for the binary. In my case, it successfully locates it (and there is no firefox.bin in my archive! I guess the right file is "firefox-bin".)

You could try renaming firefox-bin to firefox.bin?

It is also possible that your archive is slightly corrupt, or is missing the correct file altogether for some unknown reason. In which case, download 2.0.0.3 and duplicate the above steps.

http://www.mozilla.com/en-US/firefox.../releasenotes/
 
Old 04-11-2007, 05:46 PM   #9
icecube76
LQ Newbie
 
Registered: Jun 2003
Posts: 17

Original Poster
Rep: Reputation: 0
i followed your steps and still have the same error.
i cant install gedit because after ./configure i get error :newly created files is older than distributed files!
check your system clock

when make i get
make :command not found

itryd to install make package from Debian for ppc i got error about libc6 ,, i downloaded the file libc6 and i get error asking for tzdata
after installing tzdata i installed libc6 ,, and i got error then blackdog stops wrking and i have to reflash it a gain

bad that apt is not working....

so after re flashing the blackdog i ended up with xterm an 2 games

i would be thankful if some one can help me installing the programs that i need again

regards
 
Old 04-11-2007, 06:32 PM   #10
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by icecube76
i followed your steps and still have the same error.
i cant install gedit because after ./configure i get error :newly created files is older than distributed files!
check your system clock
OK OK OK - so don't use gedit then <sheesh>. What would you normally use for a text editor?

Quote:
when make i get
make :command not found
Why are you trying to run make? Where did I say to run make?
Quote:
so after re flashing the blackdog i ended up with xterm an 2 games
i would be thankful if some one can help me installing the programs that i need again
regards
I see ... the idea is that you use blackdog to install the neded packages from the debian apt repositories. Go visit the debian website for instructions how to set this up.

http://en.wikipedia.org/wiki/BlackDo...specifications

Since Realm is undergoing some changes ... I would suggest you give up on blackdog completely. If you would still like a bootable usb-drive of linux, try regular debian instead.

you can put debian on a USB keydrive and boot it directly from the memory stick, using DebianInstaller.

http://www.debian-administration.org/articles/179

Or install DSL to a usb drive?
http://www.damnsmalllinux.org/

You should realise that running a distro from a usn drive is unusual, running the blackdog server (debian linux under windows) is even more so. Considering the difficulty you are having following even simple instructions (like - paste the output of ls here, or opening a text editor other than gedit), it is not surprising you are having trouble with this.

Perhaps you should try practicing with a live CD first?
 
Old 04-11-2007, 06:36 PM   #11
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Looking at your error ... is the computer a 64bit or a Mac?
Did you try renaming firefox-bin to firefox.bin?

Last edited by Simon Bridge; 04-11-2007 at 06:38 PM.
 
Old 04-12-2007, 04:32 AM   #12
icecube76
LQ Newbie
 
Registered: Jun 2003
Posts: 17

Original Poster
Rep: Reputation: 0
at the moment i can use vi becouse i cant install any thing else on the blackdog

about make ...when i try to install gedit in the instruction it says make.

i cant use the command Ctrl-C to copy text in xterm, thats why i did not post any output
when you asked.
to install deb package i use dpkg -i

yes its 64 bit

regards

Last edited by icecube76; 04-12-2007 at 04:45 AM.
 
Old 04-12-2007, 05:03 AM   #13
icecube76
LQ Newbie
 
Registered: Jun 2003
Posts: 17

Original Poster
Rep: Reputation: 0
yes i rename the file from firefox-bin to firefox.bin

run-mozilla.sh: Cannot execute ./firefox-bin.
when vi run-mozilla.sh
line 166 is same as yours.

Last edited by icecube76; 04-12-2007 at 05:08 AM.
 
Old 04-16-2007, 08:40 PM   #14
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by icecube76
at the moment i can use vi becouse i cant install any thing else on the blackdog

about make ...when i try to install gedit in the instruction it says make.
OK - but you iddn't need to install gedit when you had vi.
Quote:
i cant use the command Ctrl-C to copy text in xterm, thats why i did not post any output when you asked.
To copy over text from xterm, drag your mouse over the text you want to copy, hit ctrl-V, then, in browser or wherever, position your insertion point where you want the text to go and click the center button.
Quote:
yes its 64 bit
Hmmm... I was reading someplace about trouble with firefox 2 in 64 bit but cannot seem to find it now.

It would appear from all this and your other problems (like running make for eg) that blackdog is not a useable distro for your purposes.

Use something else.
 
Old 04-17-2007, 11:31 AM   #15
icecube76
LQ Newbie
 
Registered: Jun 2003
Posts: 17

Original Poster
Rep: Reputation: 0
mmm anyway thank you for your time
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how does project blackdog work? netcrusher88 Linux - Hardware 0 11-11-2005 01:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration