[gentoo-user] gnubatch-1.4 make error [OT]

2011-10-04 Thread Marius Vaitiekunas
Hello,
Maybe it is OT, but i am doing it on gentoo.
I am trying to compile gnubatch-1.4 (http://www.gnu.org/s/gnubatch/).
GCC-4.5.3, bison 2.4.3, flex 2.5.35. I get the following error
message:

cd build;make all
make[1]: Entering directory `/home/gnubatch/build'
gcc -O -g -Wall -fno-stack-protector  -Ihdrs -I..   -c -o btcharge.o btcharge.c
btcharge.c:35:13: warning: ‘Filename’ defined but not used
cd lib;make
make[2]: Entering directory `/home/gnubatch/build/lib'
libtool --mode=compile gcc -O -g -Wall -fno-stack-protector  -I../hdrs
-I../..   -c -o advtime.o advtime.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[2]: *** [advtime.o] Error 1
make[2]: Leaving directory `/home/gnubatch/build/lib'
make[1]: *** [lib/libgnubatch_int.la] Error 2
make[1]: Leaving directory `/home/gnubatch/build'
make: *** [build-src] Error 2

Anybody could explain, what should i do? Thank you in advance.



Re: [gentoo-user] gnubatch-1.4 make error [OT]

2011-10-04 Thread Marius Vaitiekunas
On Tue, Oct 4, 2011 at 4:18 PM, Michael Orlitzky mich...@orlitzky.com wrote:
 On 10/04/2011 09:00 AM, Michael Orlitzky wrote:
 On 10/04/2011 04:14 AM, Marius Vaitiekunas wrote:

 You can try exporting LIBTOOL='/usr/bin/libtool --tag=CC' before you
 emerge it. This is usually a Makefile problem, I'd file a bug:

   https://bugs.gentoo.org/


 Oh, it isn't in portage.

 It's a bug in the Makefiles. The first one is in build/lib/Makefile, you
 can edit the CC line to read,

  CC = libtool --tag=CC --mode=compile gcc

 But, all other calls to libtool have the same problem, across multiple
 Makefiles. I was able to compile it eventually, but I had to edit them all.




Yes, it isn't in portage..
I have compiled it by putting --tag=CXX. There were some other errors
also. Not so easy job to build packages without portage :)



Re: [gentoo-user] otrs

2011-09-23 Thread Marius Vaitiekunas
On Fri, Sep 23, 2011 at 12:48 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 22.09.2011 14:43, schrieb Stefan G. Weichinger:

 I am going the manual path right now, just to get things working
 asap.


 You know what? Didn't get it working!

 I always hit some bug around XML-Parser and couldn't find a solution
 anywhere. Even registered on OTRS-Forum, no luck there anyway.

 After a day spent on all this I simply deleted the VM and started to
 install another distro (the one starting with U ;-) ) just to get OTRS
 working for the customer asap.

 They will check it out now, I might try to get it working with gentoo
 later. For now I spent enough time and energy on that issue.

 thanks for the feedback anyway,
 Stefan



As I told you, the best way to install on gentoo is installation from
source. Deb packages have some problem also. If you need an easy
installation via package manager, go with rpm distro.



Re: [gentoo-user] otrs

2011-09-22 Thread Marius Vaitiekunas
On Thu, Sep 22, 2011 at 12:11 PM, Stefan G. Weichinger li...@xunil.at wrote:

 Anyone installed otrs with webapp-config?
 I just don't get it!

 otrs emerged fine, but I get:

 # webapp-config -I -h localhost -d 'otrs' otrs 3.0.10
 * Fatal error: Unable to determine location of master copy
 * Fatal error(s) - aborting

 Could someone please help?
 google doesn't get me fitting answers for gentoo

 Thanks!

 Stefan



Hi,
I strongly suggest you to use source package installation method. I am
using it without any problem.



Re: [gentoo-user] Re: How's the openrc update going for everyone?

2011-05-11 Thread Marius Vaitiekunas
Hi,

Maybe, a little OT.
Could anybody tell me, how to make gentoo baselayout-2 system to be
completely unicode utf-8? Which config files I should modify?
Thank You!

-- 
mv



Re: [gentoo-user] Re: How's the openrc update going for everyone?

2011-05-11 Thread Marius Vaitiekunas
On Wed, May 11, 2011 at 3:33 PM, Dale rdalek1...@gmail.com wrote:
 Marius Vaitiekunas wrote:

 Hi,

 Maybe, a little OT.
 Could anybody tell me, how to make gentoo baselayout-2 system to be
 completely unicode utf-8? Which config files I should modify?
 Thank You!



 This is how I did mine.

 root@fireball / # cat /etc/make.conf | grep utf
 LC_ALL=en_US.utf8
 root@fireball / #

 I think that is all I did.  Then again, it seems I had to run some command
 but can't recall it.

 That help?

 Dale

 :-)  :-)



Thank you both for answers. I have some problems with GD library and
unicode. As I can see from your posts nothing changed in baselayout-2.
There is some more info, if it is not outdated:
http://www.gentoo.org/doc/en/utf-8.xml



Re: [gentoo-user] The CHOST variable

2011-02-04 Thread Marius Vaitiekunas
On Fri, Feb 4, 2011 at 3:50 PM, Nils Holland n...@tisys.org wrote:
 Alan McKinnon wrote:

 Interestingly, Ubuntu has always built for basic arches, and they seem to
 get away with it.

 IIRC they are now on i586 but for the longest time used i386. No
 performance issues. You might want to investigate how they do
 their builds and see if you can use their tricks.

 The question is, I guess, if the target host, when of the same arch (i.e.
 i[3456]86) does actually have any influence on the code that gets
 generated in terms of performance or ability to run on other sub-arches.
 This is what I really couldn't find out so far and would find highly
 interesting to know.

 For example, why not just go (and stay) with CHOST=i386-pc-linux-gnu and
 on an i686 machine, set march or mcpu = i686 via CFLAGS if you want to
 optimize for the particular subarch at hand? Why should it be necessary /
 what would the (dis)advantages be of of such a setup vs. also having CHOST
 set to i686-pc-linux-gnu?

 Concering the Gentoo doc about changing the CHOST that was mentioned: Yep,
 I've read that. If I understood it correctly, problems when changing CHOST
 mainly seem to arise because of the way GCC and related basic build utils
 install themselves (using the host triplet as part of their path or
 executable name), leaving wrong / messed up references when changing the
 CHOST.

 For example, as I've said previously, the CHOST value gets passed to
 ./configure as --host for each package that gets build. That would make
 configure try to select a compiler called CHOST-gcc in order to compile
 the package, i.e. when CHOST is i486-pc-linux-gnu, a compiler called
 i486-pc-linux-gnu-gcc would be used. Include file directories for glibc
 and / or glibc itself sems to be selected by a similiar mechanism. All
 right, no problem, so far this only determines how things are called and
 where they are located, but are there any other real effects of all this
 stuff?

 The Gentoo CHOST document that was mentioned says something about nptl not
 being available on i386. If true, and if the host variable generally
 influences the availability of features, things would slowly start to make
 sens as to why the CHOST might be important. On the other hand, I've read
 through some documentation of the GNU C library (glibc) and didn't even
 find anything about nptl not being available on i386, not to mention
 anything else about different features on different subarches.

 You see, I'm probably not entirely getting it yet. ;-)

 Greetings,
 Nils




Hi,

I am not a big guru there, but i have changed CHOST variable
successfully few years ago. If I remember, the steps were like that:

Change CHOST variable.
Bootstrap system (like building from stage 1):
# /usr/portage/scripts/bootstrap.sh
# emerge -e system
# emerge -e world

Before gentoo has been providing daily stages, I was installing my
systems from stage1. It was a nice learning curve :)

-- 
mv



Re: [gentoo-user] Adding more than one static IP

2011-01-25 Thread Marius Vaitiekunas
On Tue, Jan 25, 2011 at 1:08 PM, Amar Cosic amar.co...@gmail.com wrote:



 On Tue, Jan 25, 2011 at 9:01 AM, Adam Carter adamcart...@gmail.comwrote:


 config_eth0=( 77.xxx.104.14/24 )
 routes_eth0=( default via 77.xxx.104.1 )
 config_eth0:1=( 77.xxx.104.100/24 )
 routes_eth0:1=( default via 77.xxx.104.1 )
 config_eth0:2=( 77.xxx.104.101/24 )
 routes_eth0:2=( default via 77.xxx.104.1 )
 config_eth0:3=( 77.xxx.105.100/24 )
 routes_eth0:3=( default via 77.xxx.105.1 )


 You should let us know what you're trying to achieve with this. Every time
 I have seen config like this, it has been because of fundamental
 misunderstandings of networking. More that one IP address on a subnet
 (unless there are VIPs) = fail.

 Remember routing occurs at layer 3, and for most configs should have no
 reference physical interface. The OS knows which interface the next hop can
 be found. In your config you've set the same route three times which makes
 no sense.

 (ok i've oversimplified, but for 99.9% of cases the above is true)


 I have this on Debian in /etc/network/interfaces:

 auto lo
 iface lo inet loopback
 auto eth0
 iface eth0 inet static
 address 82.xxx.148.194
 netmask 255.255.255.128
 gateway 82.xxx.148.131
 auto eth0:1
 iface eth0:1 inet static
 address 82.xxx.148.195
 netmask 255.255.255.128
 auto eth0:2
 iface eth0:2 inet static
 address 82.xxx.148.196
 netmask 255.255.255.128
 auto eth0:3
 iface eth0:3 inet static
 address 82.xxx.148.197
 netmask 255.255.255.128


 What I want to know is what is equivalent for this on Gentoo.  Let's just
 say this is VPS server with 4 IP's assigned to me as customer


 --
 Amar Ćosić
 amar.co...@gmail.com


Hi,

I am using like that in /etc/conf.d/net
-
config_eth0=( ip1 netmask 255.255.255.224
   ip2 netmask 255.255.255.255
   ip3 netmask 255.255.255.255
)

routes_eth0=( default via your_gw )
-

ifconfig doesn't show this info. I use ip command for that:

# ip addr

I hope it helps.
-- 
mv


Re: [gentoo-user] modprobe warnings

2011-01-17 Thread Marius Vaitiekunas
On Sat, Jan 15, 2011 at 8:48 PM, David Relson rel...@osagesoftware.comwrote:

 My /etc/modprobe.d directory is under configuration management using
 subversion.  Whenever modprobe runs, it reads the files in the .svn
 directory and complains about all the stuff it doesn't understand, for
 example:

 Jan 15 08:57:22 osage modprobe: WARNING: /etc/modprobe.d/.svn/entries
 line 266: ignoring bad line starting with '

 How can I turn off these warnings?


 Regards,

 David


Hi,
Give a try to mercurial.
# emerge mercurial
# vim /root/.hgrc
[ui]
Name Surname em...@example.com
# cd /etc
# hg init
# hg add
# hg status
# hg commit -m  Start!

And You are ready to go :) Good luck.

-- 
mv


Re: [gentoo-user] Eeek: many open ports

2010-12-13 Thread Marius Vaitiekunas
Hi,
Could it be torrents..?

On Mon, Dec 13, 2010 at 11:08 PM, Kevin O'Gorman kogor...@gmail.com wrote:

 Eeek!!

 Just fooling around with some software on my laptop, I found that my Gentoo
 desktop has an even dozen open inet ports with something listening to them,
 in addition to the ones I would expect (25, 80 and so on).
 They are all in the range 32768-6.

 Netstat agrees that they're open but does not disclose which process is
 listening.

 Does anybody know how to find this out?

 ++ kevin

 --
 Kevin O'Gorman, PhD




-- 
mv


Re: [gentoo-user] migrating disks (from mounts to disklabels

2010-11-19 Thread Marius Vaitiekunas
Hi,
One question about ext4. Is it possible to resize partition without
unmounting it like on reiserfs filesystem?

On Fri, Nov 19, 2010 at 11:04 AM, Alan McKinnon alan.mckin...@gmail.comwrote:

 Apparently, though unproven, at 03:44 on Friday 19 November 2010, Walter
 Dnes
 did opine thusly:

  On Wed, Nov 17, 2010 at 10:20:52PM -0600, Dale wrote
 
   This is mine and it worked when I rebooted a bit ago.
  
   LABEL=boot/bootext2noatime1 2
   LABEL=root /reiserfsdefaults0 1
   LABEL=swapnoneswapsw0 0
   LABEL=portage/usr/portageext3defaults0 1
   LABEL=home/homereiserfsdefaults1 1
   LABEL=data/datareiserfsdefaults0 1
  
   I use a variety of file systems don't I?  lol  I hope that helps.
 
I have my own weird setup that optimizes disk usage, without LVM.  It
  consists of a 256 *MEGA*byte / partition (ext2fs), some swap, and the
  rest of the drive is one big reiserfs3 partition mounted as /home.
  /opt, /var, /usr/, and /tmp physically reside on the big /home
  partition, but are bindmounted into the / partition.
 
 Device Boot  Start End  Blocks   Id  System
  /dev/sda1   1  121601   9767600015  Extended
  /dev/sda5   1  33  265009+  83  Linux
  /dev/sda6  341209 9446188+  82  Linux swap /
  Solaris /dev/sda71210  121601   967048708+  83  Linux
 
  /dev/sda5   / ext2 noatime,nodiratime,async
  0 1 /dev/sda7   /home reiserfs
  noatime,nodiratime,async,notail 0 1 /home/bindmounts/opt/opt
  auto
  bind0 0 /home/bindmounts/var/var
  auto bind0 0 /home/bindmounts/usr/usr
  auto bind0 0 /home/bindmounts/tmp
  /tmp  auto bind0 0 /dev/sda6
  none  swap   sw0 0


 Let me optimize that for you a little bit more:

 A single 1T reiser3 partition mounted at /

 This will optimize away the small performance loss introduced by that
 (empty)
 / on ext2

 Seriously dude, this looks like a dumb scheme that gives you warm and
 fuzzies
 but doesn't actually accomplish anything except increased complexity.

 Feel free to publish verifiable metrics to back up your case.


 --
 alan dot mckinnon at gmail dot com




-- 
mv


Re: [gentoo-user] how to rebuild gentoo on a somewhat different hardware

2010-11-16 Thread Marius Vaitiekunas
Hello,

I think You could try:
1) change cflags in make.conf
2) bootstrap.sh
3) emerge -e system
4) emerge -e world

In other words this is how to build a system from stage 1.

On Tue, Nov 16, 2010 at 12:06 PM, Helmut Jarausch 
jarau...@igpm.rwth-aachen.de wrote:

 On 11/16/10 10:56:29, Alan McKinnon wrote:
 
  Backup your portage related data and re-install.
 
  Seriously - you know you are looking at doing emerge -e world and
  will
  need to
  fiddle stuff to make it complete successfully.
 
  If you just reinstall, put your old world file and /etc/portage/ back
  then let
  portage have at it, that is exactly what will happen. You'll have
  30-45
  minutes of setup work and a high level of confidence it will complete
  successfully.
 
  Trying to fix the existing installation is potentially many hours of
  poking
  around to see what changed, potentially several goes at running
  emerge
  -e
  world, hair pulling, and you will probably give up and just reinstall
  anyway.
 
  I'm assuming you are looking for the easiest, fastest route to
  success
  with
  the least pain, and that your days of poking into portage to see how
  things
  work for fun are long over.
 

 Thanks Alan,

 just one more question: where are information like the
 current eselect(ions) stored?

 Helmut.




-- 
mv