Yoper This forum is for the discussion of Yoper Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-21-2004, 11:18 AM
|
#1
|
LQ Newbie
Registered: Nov 2004
Posts: 17
Rep:
|
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
|
|
|
11-22-2004, 04:33 AM
|
#2
|
Member
Registered: Dec 2003
Location: London, UK
Posts: 33
Rep:
|
good luck - would be great if we could use emerge on yoper
|
|
|
11-22-2004, 06:59 AM
|
#3
|
LQ Newbie
Registered: Nov 2004
Posts: 17
Original Poster
Rep:
|
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";
};
|
|
|
11-23-2004, 02:20 PM
|
#4
|
Member
Registered: Dec 2003
Location: London, UK
Posts: 33
Rep:
|
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?
|
|
|
11-23-2004, 03:37 PM
|
#5
|
LQ Newbie
Registered: Nov 2004
Posts: 17
Original Poster
Rep:
|
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
|
|
|
11-28-2004, 01:17 PM
|
#6
|
Member
Registered: Nov 2003
Posts: 148
Rep:
|
Maybe you could talk to the http://emerde.freaknet.org/ guys and use some of their tools, or they can use yours.
|
|
|
11-28-2004, 10:47 PM
|
#7
|
LQ Newbie
Registered: Nov 2004
Posts: 17
Original Poster
Rep:
|
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
|
|
|
11-28-2004, 11:09 PM
|
#8
|
Member
Registered: May 2004
Location: Sydney, Australia
Distribution: SUSE 9.3
Posts: 127
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|