On 2004-08-01 04:48, DK <[EMAIL PROTECTED]> wrote:
> I edited rc.conf & added the line: amd_enable="YES"
>
> However, my devices(Floppy & CDROM) are not automounting after logging
> in or starting X ???

You have to tell amd what devices to automount and where by creating a
proper amd.conf file.  See the amd.conf(5) manual page:

        $ man 5 amd.conf

> 1) Trying to search for a file I get the error:
>
> 127# locate mysql
> locate: database too small: /var/db/locate.database

Your 'locate' database is out of date or is empty.  Try logging in as
root and manually firing up the script that periodically updates it:

        # /etc/periodic/weekly/310.locate

Then you'll be able to use "locate" as expected.  This should have
already run if you kept your machine up at least a week, but you
probably haven't so run it manually ;-)

> 2) I deleted the installed package xfce4, then added it again but xfce4 still
> won't start. Is the warnings(about versions) given when I add the
> package(below) a cause of why it won't start ???
>
> 127# pkg_add xfce4-wm-4.0.5.tgz
> pkg_add: warning: package 'xfce4-wm-4.0.5' requires 'jpeg-6b_3', but 'jpeg-6b_2' is 
> installed
> pkg_add: warning: package 'xfce4-wm-4.0.5' requires 'python-2.3.4', but 
> 'python-2.3.3_5' is installed
> pkg_add: warning: package 'xfce4-wm-4.0.5' requires 'png-1.2.5_5', but 'png-1.2.5_3' 
> is installed
> pkg_add: warning: package 'xfce4-wm-4.0.5' requires 'glib-2.4.2', but 'glib-2.4.0' 
> is installed
> pkg_add: warning: package 'xfce4-wm-4.0.5' requires 'shared-mime-info-0.14_3', but 
> 'shared-mime-info-0.14_2' is installed
> pkg_add: warning: package 'xfce4-wm-4.0.5' requires 'pango-1.4.0_1', but 
> 'pango-1.4.0' is installed
> pkg_add: warning: package 'xfce4-wm-4.0.5' requires 'gtk-2.4.3_1', but 'gtk-2.4.0' 
> is installed
> pkg_add: warning: package 'xfce4-wm-4.0.5' requires 'startup-notification-0.7', but 
> 'startup-notification-0.6' is installed

You have lots of old (out of date) packages installed.  Have you gotten
your FreeBSD workstation to connect to the network yet?  If yes, you can
install `portupgrade' and use it to update all your packages/ports to
their latest versions.

This is probably not why xfce doesn't work though.  The
sysutils/xfce4-utils package installs a command called "startxfce4".
AFAIK, this is the program that fires up xfce.  When you install that
package (as part of the dependency list of xfce4) you should be able to
use xfce4 as your desktop by editing your ~/.xinitrc file and making
sure that the last command it runs is:

        exec startxfce4

If the .xinitrc script already contains other 'exec' commands, for
instance to start Windowmaker, like this one:

        $ cat -n .xinitrc | tail -2
            49
            50  exec wmaker

you might want to comment out or delete those to make sure they don't
stop startxfce4 from running.

> 3)I am trying to install Apachetoolbox-1.5.70(it may well be a
> BigApache for BSD :)) - but I get the errors "Command not found"
> trying to run it:
>
> 127# pwd
> /usr/ports/distfiles/Apachetoolbox-1.5.70
> 127# ls
> CHANGE          MIRROR          bin             etc             src
> INSTALL         README          contrib         install.sh
> 127# ./install. sh
> ./install.: Command not found.
> 127# ./install sh
> ./install: Command not found.
> 127# ./install
> ./install: Command not found.

This is not the proper way to install ports or packages in FreeBSD.
Please, refer to the Handbook section on ports and packages for details.

> [snip irrelevant attempts to force bash to do something mysterious]
>
> Any ideas to these 3 last problems ???

Yes, read the Handbook for instructions on installing ports/packages :/

- Giorgos

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to