View previous topic :: View next topic |
Author |
Message |
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Fri Oct 10, 2014 9:09 pm Post subject: |
|
|
Please, post your /etc/portage/make.conf file and the output of this command:
Code: | $ ls /usr/local/portage |
|
|
Back to top |
|
|
ShanaXXII Apprentice
Joined: 29 Jun 2014 Posts: 283 Location: Canada
|
Posted: Sat Oct 11, 2014 3:31 am Post subject: |
|
|
i92guboj wrote: | Please, post your /etc/portage/make.conf file and the output of this command:
Code: | $ ls /usr/local/portage |
|
Code: | $ nano -w /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
USE="-bluetooth -gnome -gtk -kde -qt4 -xinerama bindist cups dbus dvd mmx sse sse2 sse4_1 sse4_2 ssse3 truetype vaapi wifi X"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
ACCEPT_LICENSE="AdobeFlash-11.x google-chrome"
MAKEOPTS="-j4"
INPUT_DEVICES="evdev keyboard synaptics"
VIDEO_CARDS="intel i965"
LINGUAS="en_US ja zh_CN"
source /var/lib/layman/make.conf |
Code: | $ ls /usr/local/portage/
brother-overlay-20141007 brother-overlay-20141007.tar.bz2 |
|
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sat Oct 11, 2014 7:21 am Post subject: |
|
|
I'll try to put it in an easier way.
You have to put this line in make.conf:
Code: | PORTDIR_OVERLAY="/usr/local/portage" |
That's where your custom ebuilds will live. You can put the line wherever you prefer, but make sure it's *before* the last line, which says "source /var/lib/layman/make.conf" (that's the "source" line I was talking about before).
Now, go to /usr/local/portage. You have to uncompress the file you downloaded, I told you how to do it, but here it is again:
Code: | $ tar xf brother-overlay-20141007.tar.bz2 |
After that, if you run "ls" you should see a couple directories in there. If not, something went bad.
Now, edit /etc/portage/package.keywords. If /etc/portage/package.keywords, edit any file that's inside of it (it doesn't matter which one, just pick whatever sounds you right, or create a new one called "gentoo" or something, as said, it doesn't matter). Add this inside of it, if it's still not there:
Code: | net-print/brother-mfc-j435w-drivers ~amd64
media-gfx/brscan4 ~amd64 |
And try to emerge it again. It should work. |
|
Back to top |
|
|
ShanaXXII Apprentice
Joined: 29 Jun 2014 Posts: 283 Location: Canada
|
Posted: Sat Oct 11, 2014 12:08 pm Post subject: |
|
|
i92guboj wrote: | I'll try to put it in an easier way.
You have to put this line in make.conf
Code: | PORTDIR_OVERLAY="/usr/local/portage" |
|
When I put that in my make.conf, I get errors when I emerge something say: Code: |
!!! Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'master = gentoo' in this file for future compatibility |
|
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sat Oct 11, 2014 12:11 pm Post subject: |
|
|
That is just a warning. To fix it just do as it says and create that file with master = gentoo inside of it. |
|
Back to top |
|
|
ShanaXXII Apprentice
Joined: 29 Jun 2014 Posts: 283 Location: Canada
|
Posted: Sat Oct 11, 2014 12:23 pm Post subject: |
|
|
i92guboj wrote: | That is just a warning. To fix it just do as it says and create that file with master = gentoo inside of it. |
oh okay. thanks (:
The brother-mfc-j435w-drivers is installed without any errors (:
I should be able to see this driver in the webui of cups now right? |
|
Back to top |
|
|
ShanaXXII Apprentice
Joined: 29 Jun 2014 Posts: 283 Location: Canada
|
|
Back to top |
|
|
|