LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Yoper
User Name
Password
Yoper This forum is for the discussion of Yoper Linux.

Notices


Reply
  Search this Thread
Old 11-21-2004, 11:18 AM   #1
mikecrowe
LQ Newbie
 
Registered: Nov 2004
Posts: 17

Rep: Reputation: 0
Lightbulb emerge working on Yoper!


Hi folks,

I've started a project on Sourceforge which addresses getting emerge to work with Yoper. It takes some work, and I have automated as much of it as possible. Please check it out at: emergeaptsync.sourceforge.net.

NOTE: I'm still learning both systems. This works for me, but I'm not sure if it works for every combination. Would greatly appreciate help in developing!

Mike
 
Old 11-22-2004, 04:33 AM   #2
[=hris
Member
 
Registered: Dec 2003
Location: London, UK
Posts: 33

Rep: Reputation: 15
good luck - would be great if we could use emerge on yoper
 
Old 11-22-2004, 06:59 AM   #3
mikecrowe
LQ Newbie
 
Registered: Nov 2004
Posts: 17

Original Poster
Rep: Reputation: 0
Thumbs up Current list of all packages I have "emerged".

Folks,
Just to give you an idea of what I can do with this, here is the emerge.conf that my program creates in the /etc/apt/apt.conf.d/ directory. These are all the packages that are "emerged", that APT and RPM should assume are present:

The best one is getting eric3 (if you are a python programmer) and gvim! Note: On gvim, the glib-2.4.6 needed automake-1.7.9, so I had to manually install. After that, everything was great!

RPM::Fake-Provides {
"gimp-print-4.2.6";
"gentoolkit-0.2.0";
"tiff-3.6.1";
"gentoo-sources-2.4.26";
"sip-4.0.1";
"portage-2.0.51";
"cracklib-2.7";
"ghostscript-7.07.1";
"foomatic-filters-3.0.2";
"gvim-6.3";
"imagemagick-6.1.3.2";
"unrar-3.4.2";
"glib-2.4.6";
"debianutils-1.16.7";
"jikes-1.21";
"cups-1.1.20";
"jpeg-6";
"tcl-8.4.6";
"recode-3.6";
"patch-2.5.9";
"libtool-1.5.2";
"gnuconfig-20040214";
"libquicktime-0.9.2";
"buffer-1.19";
"pdf2html-1.4";
"miscfiles-1.3";
"ncurses-5.4";
"kde-env-3";
"shorewall-2.0.4";
"mt-st-0.7";
"alsa-headers-1.0.6";
"cream-0.31";
"qscintilla-1.60";
"rar-3.3.0";
"ebuilder-0.4";
"flex-2.5.4";
"python-fchksum-1.7.1";
"pyxml-0.8.3";
"iproute2-2.6.7.20040608";
"foomatic-db-20040302";
"foomatic-3.0.2";
"kxmleditor-1.1.3";
"eric-3.4.2";
"gcc-config-1.3.6";
"zvbi-0.2.4";
"secpanel-0.43";
"gnu-gs-fonts-std-8.11";
"mpeg2vidcodec-12";
"ctags-5.5.4";
"gtk+-2.4.9";
"java-config-1.2.10";
"vim-core-6.3";
"flexbackup-1.2.1";
"foomatic-db-engine-3.0.2";
"tk-8.4.6";
};
 
Old 11-23-2004, 02:20 PM   #4
[=hris
Member
 
Registered: Dec 2003
Location: London, UK
Posts: 33

Rep: Reputation: 15
so does your program only update the apt-get when you emerge something, or does it also update the portage tree when you apt-get something?

Also, does it actually work?! ie can you install emerge, run your program to update the portage tree, and start using emerge?
 
Old 11-23-2004, 03:37 PM   #5
mikecrowe
LQ Newbie
 
Registered: Nov 2004
Posts: 17

Original Poster
Rep: Reputation: 0
Right now, the system is manual, in that it is not part of either APT or emerge. If you "emerge" or "apt-get" an application, you then need to run my program to synchronize. I have not investigated if those programs have plug-ins, so I don't know how to make it automatic, other than put it in a cron job.

The system is fairly stable, but I *STRONGLY* (read: must) recommend that you always do a "pretend" install with a "-p". This way, you can see if something doesn't look right.

The system is not fullproof: For example, yesterday I wanted to run a python program which used Tkinter. However, the Python distributed by Yoper doesn't have Tkinter installed.
emerge python
and I was done.

Second example: I wanted mod_python installed with my apache2 system. I have apache2 manually compiled and installed (prior to having emerge running), it doesn't show up with in either my RPM's or emerge data. When I did:
emerge -p mod_python
I saw emerge wanting to build apache2. I added apache2 to the list of packages.provided, then it only wanted to build mod_python, which is what I wanted!

I'm in love with it. In fact, if I find I often emerge programs before I apt-get them. The selection is much wider.

Mike
 
Old 11-28-2004, 01:17 PM   #6
oldstinkyfish
Member
 
Registered: Nov 2003
Posts: 148

Rep: Reputation: 15
Maybe you could talk to the http://emerde.freaknet.org/ guys and use some of their tools, or they can use yours.
 
Old 11-28-2004, 10:47 PM   #7
mikecrowe
LQ Newbie
 
Registered: Nov 2004
Posts: 17

Original Poster
Rep: Reputation: 0
I looked at their project, but it seemed to be a port of Emerge -> Slackware. I'm using emerge regularly now (in fact, I'm rarely checking apt any more). The emerde project doesn't seem to have any ties to APT, so it doesn't help us much at all.

Here's the summary of where we are: Both apt and emerge/portage retrieve programs:
apt: smaller selection, pre-compiled
emerge: huge selection, source distribution (must wait for compile)

However, I'm finding that emerge is not pain-free: For instance, today I was emerging Endeavour2, a GTK file manager that I hoped would allow me to rotate my pictures easily. That package required "gmake", which I didn't have installed. In fact, I still don't know where it come from. Instead, I linked "make" (symbolically) to "gmake" and the system compiled fine. Yesterday, I was trying to emerge "xorg-x11". I had to tweak the make file to get it to compile.

Again, if you are willing to monitor and watch your emerges, I'm comfortable recommending!

Mike
 
Old 11-28-2004, 11:09 PM   #8
Gay R0b0t
Member
 
Registered: May 2004
Location: Sydney, Australia
Distribution: SUSE 9.3
Posts: 127

Rep: Reputation: 15
Hey guys,

Does anyone know how to install gcc-3.3.x on Yoper.
emerge will not update portage without installing a few other packages (python-fchksum), which all promptly fail to compile.

gcc is not accepting the option --as-needed

Code:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/bin/ld: unrecognized option '--as-needed'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1
emerge thinks my system has gcc-3.3.2-rc5, but apt thinks i have 3.4.1-3 (apt appears to be right).

Could this mix-up be causing incorrect flags to be inputted?

I have tried to install an rpm of gcc (3.3.5) but that failed and the errors it gave lead me to believe that it will mess up the system if i --force it, then i tried to compile gcc 3.3.something which failed on the --as-needed option.

Any tips?

Thanks.

ps i have binutils installed, which is what most people suggest as a solution.
 
  


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
emerge on gentoo not working ubu_roi Linux - Distributions 4 10-31-2005 02:42 AM
is the command emerge supposed to be working while installing gentoo? mdpniesta Linux - Newbie 1 11-27-2004 02:38 AM
Gentoo: emerge -uUa world is no longer working PGDubbin Linux - Distributions 5 10-08-2004 01:49 PM
emerge nforce-net not working hamish Linux - Software 6 04-07-2004 10:48 AM
gentoo emerge not working!! Gill Bates Linux - Distributions 3 11-03-2003 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Yoper

All times are GMT -5. The time now is 12:00 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