newbie type question on linux installation

8 views
Skip to first unread message

glenn

unread,
Nov 8, 2006, 9:54:11 PM11/8/06
to LUG-at-JerseyShore
Hi all,

I just compiled Firefox 2.0 from source, and it works fine if launched
from a script in the directory. I am quite pleased, being that this is
my first attempt at compiling a program.... however, i cannot figure
out how to link it to the menu in the start button, etc. The OS is SUSE
10.0.

Any advice would be greatly appreciated.

Glenn

JustJoe

unread,
Nov 8, 2006, 10:57:09 PM11/8/06
to LUG-at-JerseyShore
Glen, is that KDE or GNOME on Suse?

Glenn Smith

unread,
Nov 8, 2006, 11:30:14 PM11/8/06
to LUG-at-Je...@googlegroups.com
KDE only.......................................


Glenn

Glenn Smith

unread,
Nov 9, 2006, 8:18:41 AM11/9/06
to LUG-at-Je...@googlegroups.com
Joe,

I figured this one out........................right click on Kmenu and it takes you to Kmenuedit..........etc. I read the Kmenuedit tutorial online.

Next question............... how do unixheads organize all of the scripts, files, folders etc that end up in */home/glenn* after compiling a program. If I stick everything in a folder, it will change the PATH, right?

Glenn

David A. Harding

unread,
Nov 9, 2006, 10:11:09 AM11/9/06
to LUG-at-Je...@googlegroups.com
On Thu, Nov 09, 2006 at 08:18:41AM -0500, Glenn Smith wrote:
>
> Next question............... how do unixheads organize all of the scripts,
> files, folders etc that end up in */home/glenn* after compiling a program.
> If I stick everything in a folder, it will change the PATH, right?

First off, there are `paths' and `PATH'. A path is the all the
information needed to know where a file is except the filename. So the
file `foo' in my home directory has a path of `/home/dave/'. I normally
call path, ``pathname'' for clarity. PATH is an environmental variable
that tells the shell and other programs where to look for executable
files. In a shell, you can display the contents of PATH with the
following command:

dave@callisto:~$ echo $PATH
/usr/bin:/usr/sbin:/bin:/sbin:/usr/pkg/bin:/usr/pkg/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/libexec:/usr/games:/usr/bin/games:/huge/dave/home/bin

Moving files changes the pathname for those files but does not affect
your PATH. If you move the files in your home directory, you will need
to change anything (like the launcher you created for kicker) that
points directly at those files.

I don't know what files Mozilla created in your home directory, but
putting all of the files in the same folder will allow you to see if you
can execute Mozilla Firefox with the files move and will allow you to
easily move the files back to your home directory if necessary with the
following command:

mv -i some/folder/* ~/

-Dave


>
> Glenn
>
>
>
>
>
>
>
>
> On 11/8/06, Glenn Smith <glennlaw...@gmail.com> wrote:
> >
> > KDE only.......................................
> >
> >
> > Glenn
> >
> >
> >
> >
> >
> >
> >
> > On 11/8/06, JustJoe <drch...@gmail.com > wrote:
> > >
> > >
> > > Glen, is that KDE or GNOME on Suse?
> > >
> > >
> > > > >
> > >
> >
>
>

> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups "LUG-at-JerseyShore" group.
> To post to this group, send email to LUG-at-Je...@googlegroups.com
> To unsubscribe from this group, send email to LUG-at-JerseySh...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/LUG-at-JerseyShore?hl=en
> -~----------~----~----~----~------~----~------~--~---

--
+-----------------------------------------------------------------------------+
| David A. Harding | 2001: A Space Odyssey is particularly well known for |
| http://gnuisance.net | its highly understandable and enjoyable ending. |
| | [http://uncyclopedia.org/wiki/2001:_A_Space_Odyssey]|
+-----------------------------------------------------------------------------+

Glenn Smith

unread,
Nov 9, 2006, 2:51:19 PM11/9/06
to LUG-at-Je...@googlegroups.com
Dave,

Thanks.............Mozilla put everything in a folder *firefox* in /home/glenn, and among those files is a script called *firefox*.

If I type /home/glenn/firefox/firefox in the RUN Command box, it launches the program.

The other files in /home/glenn/firefox are:

folders
  chrome
  components
  defaults
  dictionaries
  extensions
  greprefs
  icons
  plugins
  res
  searchplugins

and

files
  .autoreg
  xpicleanup
  updater.ini
  updater
  run-mozilla.sh
  removed-files
  readme.txt
  mozilla-xremote-client
  libxpistub.so
  libxpcom.so
  libxpcom_core.so
  libxpcom_compat.so
  libss13.so
  libsoftokn3.so
  libsoftokn3.chk
  libsmime3.so
  libplds4.so
  libplc4.so
  libnssckbi.so
  libnss3.so
  libnspr4.so
  libmozjs.so
  libfreebl3.so
  libfreebl3.chk
  firefox-bin
  firefox
  browserconfig.properties

I clicked on most of these and some have directions on how to link libraries..........Is that the next step in the install procedure? Or am I finished?

Again, thanks for the help.

Glenn




David A. Harding

unread,
Nov 9, 2006, 3:22:51 PM11/9/06
to LUG-at-Je...@googlegroups.com
On Thu, Nov 09, 2006 at 02:51:19PM -0500, Glenn Smith wrote:
> Dave,
>
> Thanks.............Mozilla put everything in a folder *firefox* in
> /home/glenn, and among those files is a script called *firefox*.
>
> If I type /home/glenn/firefox/firefox in the RUN Command box, it launches
> the program.
>
> [...]

>
> I clicked on most of these and some have directions on how to link
> libraries..........Is that the next step in the install procedure? Or am I
> finished?

I think your finished. Most Unix source trees have an option in the
makefile to install the binaries and libraries into customisable parts
of the heirarchy. In most cases, the default option is /usr/local and
its subdirectories. I don't know if Mozilla has this option, but if it
does, they sure don't make it easy to find.

I suspect you can move /home/glenn/firefox anywhere you want, but you'll
need to update your KDE launcher.

> Again, thanks for the help.

My pleasure,

-Dave
--
+-----------------------------------------------------------------------------+
| David A. Harding | Be different: conform |
| http://gnuisance.net | http://posix.com/posix.html |
+-----------------------------------------------------------------------------+

Richard Williams

unread,
Nov 9, 2006, 6:26:23 PM11/9/06
to LUG-at-Je...@googlegroups.com
Please remove my name from this email group.

Thanks,

Rich

Glenn Smith

unread,
Nov 9, 2006, 7:02:18 PM11/9/06
to LUG-at-Je...@googlegroups.com
will do.................glenn

glenn

unread,
Nov 14, 2006, 8:32:15 AM11/14/06
to LUG-at-JerseyShore
Dave,

Thanks again for the help with this............... This past week I
drove across the pinelands -- once to Clayton and next to Burlington
City -- to watch my son's high school soccer team to compete in state
tournaments. I was surprised how much traffic there was on Rt 70! I
used to camp in the pines when I was in college, and even before that I
went to summer camp at Mt. Misery, and later again in high school I
would drive around there looking for out of the way towns (John
McPhee's book, The Pine Barrens, got me interested in the area).

Where exactly do you live again? Do you do any outdoor stuff? I am
thinking of doing some hikes with my son before we return to Taiwan
next summer.

Glenn

Reply all
Reply to author
Forward
0 new messages