Re: Why Clang?
On 17 June 2012 21:37, Thomas Mueller mueller...@insightbb.com wrote: What is the current status of Clang vs. GCC as default compiler for ports and for make buildworld and make buildkernel in HEAD and 9.0-STABLE? http://wiki.freebsd.org/PortsAndClang Now one concern is wine not working when Clang is used to make buildworld. This isn't good. Can you please follow up with more debugging information? (gdb backtrace with debugging symbols enabled) I see from reading the emailing lists that the intention is to make Clang the default (or only?) compiler suite for 10.0-RELEASE. Yes. I realize that still leaves much time to work out many of the bugs. We need your help though. Eitan Adler Now you give me incentive to try current (HEAD) with Clang, on a separate partition from my 9.0-STABLE installation, if and when I get the time. I could use the old 9.0-BETA1 partition. I went straight for the wiki link you gave (PortsAndClang). My information on wine not working with clang-compiled world came from the emailing list (freebsd-questions) rather than my own experience. These pertinent messages come when the announcement of a new Wine-fbsd64 is announced. Latest such message that I see is: From: David Naylor naylor.b.da...@gmail.com Subject: Wine-fbsd64 updated to 1.4.1 (32bit Wine for 64bit FreeBSD) Packages [1] for wine-fbsd64-1.4.1 have been uploaded to mediafire [2]. The packages for FreeBSD 10 use the pkgng* [3] format. There are many reports that wine does not work with a clang compiled world (help in fixing this problem is appreciated as it affects quite a few users). The patch [4] for nVidia users is now included in the package and is run on installation (if the relevant files are accessible). Please read the installation messages for further information. Regards, David [1] MD5 (wine-1.4.x-freebsd8/wine-fbsd64-1.4.1,1.tbz) = 63f031c996b1201b056db34e6aa5b8f3 MD5 (wine-1.4.x-freebsd9/wine-fbsd64-1.4.1,1.txz) = 86aa9c66f05c61def997076befac5ba3 MD5 (wine-1.4.x-freebsd10/wine-fbsd64-1.4.1,1.txz) = b0b19714510f278187dcf8c696cae9c0 [2] http://www.mediafire.com/wine_fbsd64 [3] http://wiki.freebsd.org/pkgng [4] The patch is located at /usr/local/share/wine/patch-nvidia.sh (end of quote from David Naylor) Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang?
On 18/06/2012 05:37, Thomas Mueller wrote: What is the current status of Clang vs. GCC as default compiler for ports and for make buildworld and make buildkernel in HEAD and 9.0-STABLE? Most ports work fine with clang -- at the last count 18252 out of 23661 ports compiled just fine. Of the failing ports, around a thousand are caused by a broken dependency, so the situation is actually better than it appears. See: http://wiki.freebsd.org/PortsAndClang Now one concern is wine not working when Clang is used to make buildworld. That's not one of the ports listed as failing in the page above (but that only tests building the port, not if it actually performs its intended function), nor are there any open PRs on the subject. Please can you open a PR showing how to reproduce the problem? I see from reading the emailing lists that the intention is to make Clang the default (or only?) compiler suite for 10.0-RELEASE. clang will be the only compiler in the base system, true. However there are a number of C/C++ compilers available from ports, and there is work going on to allow switching between those and the base system compiler more easily when compiling ports. You aren't going to be forced to use clang if you don't want to (although I can't understand why you wouldn't want to. It's an excellent compiler.) I realize that still leaves much time to work out many of the bugs. clang already compiles the system perfectly well. I'm using it by default for that on my personal machines without problems. Any remaining clang-bugs in the system would be few and far between and generally in areas which are quite hard to trigger. clang with ports is less well covered. A lot of ported code is not written to the highest quality, nor does it conform to recently (or not so recently) published standards. It's a hard task for any compiler. One point that possibly hasn't been as apparent as it might is that FreeBSD adopting clang has had a big effect on clang development, and not just the other way round. We're discovering bugs and getting fixes committed upstream pretty effectively. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: Why Clang?
Thomas Mueller wrote: Now one concern is wine not working when Clang is used to make buildworld. For me I'm just waiting on toolchain stabilization as both this one and (open|libre)office fail because of libgcc_s compiled with clang on amd64. -- Sphinx of black quartz judge my vow. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang?
clang already compiles the system perfectly well. I'm using it by default for that on my personal machines without problems. Any remaining clang-bugs in the system would be few and far between and generally in areas which are quite hard to trigger. clang with ports is less well covered. A lot of ported code is not written to the highest quality, nor does it conform to recently (or not so recently) published standards. It's a hard task for any compiler. I'm sure autotools doesn't help. I ASSume that issue doesn't exist with the system itself so yeah I would expect gnu's autotools not to get along with anything but gcc (damn them!) Ports are probably mostly written for Linux since that is the only operating system that exists as far as they know. One point that possibly hasn't been as apparent as it might is that FreeBSD adopting clang has had a big effect on clang development, and not just the other way round. We're discovering bugs and getting fixes committed upstream pretty effectively. I'm very grateful for that and I give two thumbs up to FreeBSD for doing so much to help free us from the Marxist gnu ecosystem. I meant it. I'm seriously considering ditching my long-time Linux setup for FreeBSD when you guys make clang the default and build everything with it. I've used FreeBSD on and off in the past and I'm thinking about switching back. Thank you, FreeBSD team! Hopefully all the *BSD OS will follow your lead in this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: openoffice doesn't work - any ideas?
Hello, On 20-May-2012, at 3:00 AM, User Wojtek wrote: the problem is that what i found is not this. all description i found is that deleting .openoffice* from $HOME fixes it. it doesn't. i even created new user with no leftover any config files and still same. Are your ports up to date? Also, did you apply any funky compile time flags? Thanks -- Subhro Sankha Kar System Administrator Working and Playing with FreeBSD since 2002 On Sat, 19 May 2012, lokada...@gmx.de wrote: On 05/19/12 13:24, User Wojtek wrote: [wojtek@wojtek ~/robod]$ openoffice-3.4.0 [Java framework] Error in function createSettingsDocument (elements.cxx).javaldx failed! terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException' compiled fine, installed without problems jdk 1.6 too. any ideas? thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Google find many things with javaldx failed. Is a problem with java, but different solutions (wrong xml, home permission, java- version ...). Hope you find a solution. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
Clang is consistently faster at compiling than GCC and it is very clean and modular -- not bloated. -r-xr-xr-x 3 root wheel 37025016 12 cze 21:46 /usr/bin/clang well.. hope you just left the debugging symbols in and statically linked it? standard FreeBSD built, assumed freebsd build system do the right things. test done with SSD disk so I/O time are insignificant. /usr/bin/clang: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 9.0 (900506), stripped /usr/bin/clang: libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x802b58000) libm.so.5 = /lib/libm.so.5 (0x802e68000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x803089000) libc.so.7 = /lib/libc.so.7 (0x803296000) [wojtek@wojtek ~]$ ls -l /usr/libexec/cc1* -r-xr-xr-x 1 root wheel 6265360 12 cze 21:46 /usr/libexec/cc1 -r-xr-xr-x 1 root wheel 6813856 12 cze 21:46 /usr/libexec/cc1plus [wojtek@wojtek ~]$ file /usr/libexec/cc1* /usr/libexec/cc1: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 9.0 (900506), stripped /usr/libexec/cc1plus: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 9.0 (900506), stripped [wojtek@wojtek ~]$ ls -l /usr/bin/cc -r-xr-xr-x 2 root wheel 450184 12 cze 21:46 /usr/bin/cc [wojtek@wojtek ~]$ ls -l /usr/bin/cpp -r-xr-xr-x 2 root wheel 199304 12 cze 21:46 /usr/bin/cpp that's about bloat. now about speed: compiling time of my custom kernel (just kernel, no modules, -j 2) gcc: real2m2.880s user3m35.788s sys 0m23.799s makeoptions CC=clang : real2m8.511s user3m48.025s sys 0m22.602s resulting programs (gzip as example,stripped, dynamic link): -rwxr-xr-x 1 root wheel 36792 18 cze 14:53 gzip.cc -rwxr-xr-x 1 root wheel 36728 18 cze 14:53 gzip.clang speed test (compression -9 to /dev/null of 4GB file - windows XP image in virtualbox): gzip.clang: [root@wojtek ~/NOBACKUP]# time ./gzip.clang -9c /home/wojtek/NOBACKUP/Winda.part1 /dev/null real9m17.495s user8m59.466s sys 0m5.724s gzip.cc: [root@wojtek ~/NOBACKUP]# time ./gzip.cc -9c /home/wojtek/NOBACKUP/Winda.part1 /dev/null real9m26.206s user9m2.700s sys 0m7.551s clang is slightly slower (nearly comparable) to gcc, produced similar sized code, that executes in similar speed (0.5% difference in CPU time), while clang itself is 5 times bigger. sometimes spending just a few minutes to CHECK how things are is far better than following a hype. I would say not just sometimes, but always. Don't forget that gcc is result of much over 20 years of constant patching, modifying, adding and changing the same code which MUST result in bloat and inefficiency. Clang written recently with fresh look resulted in no faster, but far more bloated program. quite strange IMHO, think what will be within 5 years. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
libc version
Hello... I upgrade the server from version 8.2 to 8.3, and rebuild all packages.. it all works... Then I installed a binary package (8.3) in an old 8.2 ... every package works... gnome, nautilus, wget about 800 of them the only one that does not work is postgesql84-server when I try to run it it I got the message: /libexec/ld-elf.so.1: /lib/libc.so.7: version FBSD_1.3 required by /usr/local/bin/postgres not found seems that only postgres is check for the libc version??? is there a compile switch to check for that??? Of course, if I compile postgres in the 8.2 or upgrade to 8.3 it works... Thanks for any help, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang?
Hi, On Monday, 18 June 2012 09:19:28 Thomas Mueller wrote: On 17 June 2012 21:37, Thomas Mueller mueller...@insightbb.com wrote: Now one concern is wine not working when Clang is used to make buildworld. This isn't good. Can you please follow up with more debugging information? (gdb backtrace with debugging symbols enabled) These pertinent messages come when the announcement of a new Wine-fbsd64 is announced. I am the one who sends these persistent messages. Some users of my packages reported that wine didn't run due to a clang compiled world. I never verified them (although I got multiple reports). With the updates to clang it may have also been corrected. I attributed the problem to clang miscompiling a library in base used by wine and Volodymyr, I think, confirms this: On Monday, 18 June 2012 13:34:18 Volodymyr Kostyrko wrote: Thomas Mueller wrote: Now one concern is wine not working when Clang is used to make buildworld. For me I'm just waiting on toolchain stabilization as both this one and (open|libre)office fail because of libgcc_s compiled with clang on amd64. Regards signature.asc Description: This is a digitally signed message part.
(Free 7.2) su -l didnt prompt password.Is it possbile?
Hello everyone. We'v noticed some strange situation. After reboot and login, system didn't ask for password while switchig with su -l. In details, there was root login from terminal and one from ssh. Terminal login was directly as root(via ip-console), and ssh was as user, then attemped switch to root with su -l, and there were NO password request,no prompt at all. At the same time login from terminal accepted root password, first I thought that means password wasn't empty, but system even with empty password should print Password:..and that time it was nothing absolultey. We even logged out and then su -l again. And It looked such way: %su -l St-serv# St-serv# exit %su -l St-serv# We'v been shocked and hurried a bit and changed root password without /etc/master.passwd backup for explorations. After chagning password we cant no reprocude such behaviour. It's also should be noticed that system was booting after unsafe power shutdown, and there was fs-check running in background(accroding to logs), corrected cleared some files(searching by inum resulted to nothing). sysctl -a gave such string: 118Starting background file system checks in 60 seconds. 118 and in /var/log/messages we could see: Jun 15 14:57:39 St-serv kernel: em0: link state changed to UP Jun 15 14:57:49 St-serv login: ROOT LOGIN (root) ON ttyv0 Jun 15 14:58:47 St-serv fsck: /dev/ad0s1e: 71 files, 11 used, 2538508 free (84 frags, 317303 blocks, 0.0% fragmentation) Jun 15 15:02:31 St-serv fsck: /dev/ad0s1f: 264646 files, 1378041 used, 60368113 free (43545 frags, 7540571 blocks, 0.1% fragmentation) Jun 15 15:03:31 St-serv su: zimmer to root on /dev/ttyp0 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT I=1931747 (897632 should be 897600) (CORRECTED) Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT I=1931748 (1865184 should be 1865120) (CORRECTED) Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT I=2284637 (4 should be 0) (CORRECTED) Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT I=2284713 (4 should be 0) (CORRECTED) Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: UNREF FILE I=23557 OWNER=root MODE=100644 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: SIZE=0 MTIME=Jun 9 18:51 2012 (CLEARED) Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: UNREF FILE I=1931319 OWNER=root MODE=100640 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: SIZE=728 MTIME=Jul 26 17:37 2011 (CLEARED) ... I'v googled and found only one thread with su didnt'asking for password, that one was abut jails, but this time we have a 100% garanty that we didnt put any virtual enviroments. So the thing that scares is, mb this is symptop of server rootkit? (We'v found nothing unusual in logs but it means nothing...) Or there is some other explanation why su could not ask password? Thanks in advance PS Duplicated question to freebsd-questions and freebsd-security because unsure which one it should be send. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (Free 7.2) su -l didnt prompt password.Is it possbile?
On 6/18/2012 9:31 AM, Budnev Vladimir wrote: And It looked such way: %su -l Before you enter this command, post the output of id ---Mike -- --- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (Free 7.2) su -l didnt prompt password.Is it possbile?
18.06.2012 18:02, Mike Tancsa написал: On 6/18/2012 9:31 AM, Budnev Vladimir wrote: And It looked such way: %su -l Before you enter this command, post the output of id Unfortunately, we can not flashback or reproduce that step now, cause we'v hurried and changed root password to avoid such strange free logins. And changing it back didnt change a thing. It was...and't went. We had only buffered console output :( But mb you can point in what case there is possibility to make su -l without any prompt. I suppose you mean that user has gid=0 or smthng like that but it hasn't. And as i mentioned changin root password to another and backwards doesn't allow to reproduce discribed behaviour. ---Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (Free 7.2) su -l didnt prompt password.Is it possbile?
On Jun 18, 2012 2:34 PM, Budnev Vladimir vladimir.bud...@gmail.com wrote: Hello everyone. We'v noticed some strange situation. After reboot and login, system didn't ask for password while switchig with su -l. In details, there was root login from terminal and one from ssh. Terminal login was directly as root(via ip-console), and ssh was as user, then attemped switch to root with su -l, and there were NO password request,no prompt at all. At the same time login from terminal accepted root password, first I thought that means password wasn't empty, but system even with empty password should print Password:..and that time it was nothing absolultey. Empty password behaviour is for no prompt, so what you are seeing is normal, and means that you did indeed have a empty password. Check your logs very carefully over the past few weeks to make sure no one has broken in. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (Free 7.2) su -l didnt prompt password.Is it possbile?
On 6/18/2012 10:24 AM, Budnev Vladimir wrote: But mb you can point in what case there is possibility to make su -l without any prompt. If the uid is 0, you wont need to enter a passwd ---Mike -- --- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (Free 7.2) su -l didnt prompt password.Is it possbile?
18.06.2012 18:32, Chris Rees ???: On Jun 18, 2012 2:34 PM, Budnev Vladimir vladimir.bud...@gmail.com mailto:vladimir.bud...@gmail.com wrote: Hello everyone. We'v noticed some strange situation. After reboot and login, system didn't ask for password while switchig with su -l. In details, there was root login from terminal and one from ssh. Terminal login was directly as root(via ip-console), and ssh was as user, then attemped switch to root with su -l, and there were NO password request,no prompt at all. At the same time login from terminal accepted root password, first I thought that means password wasn't empty, but system even with empty password should print Password:..and that time it was nothing absolultey. Empty password behaviour is for no prompt, so what you are seeing is normal, and means that you did indeed have a empty password. Interesintg could it be that master.passwd file corrupted (after power shutdown) and fsck corrected in background.. which resulted in such behaviour. The strange thing with possibly empty password is that login from ip-console accepted correct password. So dont sure about empty...It seems like su was accepting any password at that time. Check your logs very carefully over the past few weeks to make sure no one has broken in. Yeah, seems we are forced to mount disks to another system and check for changes in critical system tools. Arghand then anyway redeploy system. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (Free 7.2) su -l didnt prompt password.Is it possbile?
On Mon, Jun 18, 2012 at 05:31:54PM +0400, Budnev Vladimir wrote: Hello everyone. We'v noticed some strange situation. After reboot and login, system didn't ask for password while switchig with su -l. In details, there was root login from terminal and one from ssh. Terminal login was directly as root(via ip-console), and ssh was as user, then attemped switch to root with su -l, and there were NO password request,no prompt at all. At the same time login from terminal accepted root password, first I thought that means password wasn't empty, but system even with empty password should print Password:..and that time it was nothing absolultey. We even logged out and then su -l again. And It looked such way: %su -l St-serv# St-serv# exit %su -l St-serv# We'v been shocked and hurried a bit and changed root password without /etc/master.passwd backup for explorations. After chagning password we cant no reprocude such behaviour. It's also should be noticed that system was booting after unsafe power shutdown, and there was fs-check running in background(accroding to logs), corrected cleared some files(searching by inum resulted to nothing). sysctl -a gave such string: 118Starting background file system checks in 60 seconds. 118 and in /var/log/messages we could see: Jun 15 14:57:39 St-serv kernel: em0: link state changed to UP Jun 15 14:57:49 St-serv login: ROOT LOGIN (root) ON ttyv0 Jun 15 14:58:47 St-serv fsck: /dev/ad0s1e: 71 files, 11 used, 2538508 free (84 frags, 317303 blocks, 0.0% fragmentation) Jun 15 15:02:31 St-serv fsck: /dev/ad0s1f: 264646 files, 1378041 used, 60368113 free (43545 frags, 7540571 blocks, 0.1% fragmentation) Jun 15 15:03:31 St-serv su: zimmer to root on /dev/ttyp0 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT I=1931747 (897632 should be 897600) (CORRECTED) Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT I=1931748 (1865184 should be 1865120) (CORRECTED) Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT I=2284637 (4 should be 0) (CORRECTED) Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT I=2284713 (4 should be 0) (CORRECTED) Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: UNREF FILE I=23557 OWNER=root MODE=100644 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: SIZE=0 MTIME=Jun 9 18:51 2012 (CLEARED) Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: UNREF FILE I=1931319 OWNER=root MODE=100640 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: SIZE=728 MTIME=Jul 26 17:37 2011 (CLEARED) ... I'v googled and found only one thread with su didnt'asking for password, that one was abut jails, but this time we have a 100% garanty that we didnt put any virtual enviroments. So the thing that scares is, mb this is symptop of server rootkit? (We'v found nothing unusual in logs but it means nothing...) Or there is some other explanation why su could not ask password? The only thing I can think of ATM is .. did you recently perform and upgrade from source with this system ? mergemaster ? The reason why I ask is that when doing such things the master.passwd is compared to the default master.passwd which has no passowrd set. If a merge when wrong then there is a possibility that it was set back to defaults by accident. I also see that your system booted up and did a fsck(8). There is a chance that something wierd happened here as well. Thanks in advance PS Duplicated question to freebsd-questions and freebsd-security because unsure which one it should be send. ___ freebsd-secur...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to freebsd-security-unsubscr...@freebsd.org -- - (2^(N-1)) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (Free 7.2) su -l didnt prompt password.Is it possbile?
18.06.2012 18:37, Mike Tancsa написал: On 6/18/2012 10:24 AM, Budnev Vladimir wrote: But mb you can point in what case there is possibility to make su -l without any prompt. If the uid is 0, you wont need to enter a passwd Yeah i realized that you mean things came that way, but as I mentioned in prev mail, no gid or uid were 0, and we can not reproduce situation after password changing (we DID not changed any other system users) ---Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Fwd: Error in latest KDE4 install attempt
Hi FreeBSD - I thought someone would probably inspect the files for KDE4 so I would try to install periodically. This morning the error messages were slightly different. While attempting to install qzeitgeist-0.8.0 my machine almost immediately states that moc 4.8.2 has changed too much for these to be compatible. [During verifying qt-something] Then there is a list of items that are 'not in scope' - for instance monitoradaptor or classOrgGnomeZeitgeistDataSourceRegistryInterface. A fetch command for qzeitgeist-0.8.0 is not given so I would not know how to fetch a newer version if I knew the newer version. Which is to say are all the fetch commands from the distfiles directory? Steve --- Forwarded message --- From: Lynn Steven Killingsworth blue.seahorse.syndic...@gmail.com To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Cc: Subject: Error in latest KDE4 install attempt Date: Fri, 15 Jun 2012 07:36:20 -0400 Hi FreeBSD - I have just updated my Ports again this morning and I still have the same problem installing KDE4. When verifying libphonon.so in /multimedia/phonon [phonon-4.6.0-1][from the numbers it appears to be KDE4 4.8.4] my machine does not find library qzeitgeist.1 so it begins verifying the install of qzeitgeist-0.8.0 . The installer then determines that this version of qzeitgeist is not compatible. Since the master site seems to be unavailable much of the time how can I determine the tar.gz from the version number so that I may have an for instance //ftp1.freebsd.org/ to put in the the master site change in the make fetch command? Thanks - Steve -- Using Opera's revolutionary email client: http://www.opera.com/mail/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (Free 7.2) su -l didnt prompt password.Is it possbile?
I have only seen thuis after a source upgrade where mergemaster wants to remove the passwd. Has a source upgrade been done recently? Brian On Jun 18, 2012 7:26 AM, Budnev Vladimir vladimir.bud...@gmail.com wrote: 18.06.2012 18:02, Mike Tancsa написал: On 6/18/2012 9:31 AM, Budnev Vladimir wrote: And It looked such way: %su -l Before you enter this command, post the output of id Unfortunately, we can not flashback or reproduce that step now, cause we'v hurried and changed root password to avoid such strange free logins. And changing it back didnt change a thing. It was...and't went. We had only buffered console output :( But mb you can point in what case there is possibility to make su -l without any prompt. I suppose you mean that user has gid=0 or smthng like that but it hasn't. And as i mentioned changin root password to another and backwards doesn't allow to reproduce discribed behaviour. ---Mike __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (Free 7.2) su -l didnt prompt password.Is it possbile?
On 2012-06-18 16:41, Budnev Vladimir wrote: The strange thing with possibly empty password is that login from ip-console accepted correct password. So dont sure about empty...It seems like su was accepting any password at that time. That is the behavior with an empty password. The login would accept any password. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: openoffice doesn't work - any ideas?
all description i found is that deleting .openoffice* from $HOME fixes it. it doesn't. i even created new user with no leftover any config files and still same. Are your ports up to date? Also, did you apply any funky compile time flags? yes and no. But i found the answer. when i use xdm as login manager (my favourite) it happens. when gdm or kdm - it does not. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
On Sun, 17 Jun 2012 15:13:05 -0500, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: Clang is consistently faster at compiling than GCC and it is very clean and modular -- not bloated. -r-xr-xr-x 3 root wheel 37025016 12 cze 21:46 /usr/bin/clang well.. # ls -la /usr/local/bin/clang -rwxr-xr-x 1 root wheel 14360344 Jun 18 09:57 /usr/local/bin/clang # ls -la /usr/bin/clang -r-xr-xr-x 3 root wheel 32578976 Jun 18 09:12 /usr/bin/clang Looks like FreeBSD's current base build includes debugging/symbols even in -RELEASE. I'm sure there's a reason for this. # ls -la /usr/bin/g++ -r-xr-xr-x 3 root wheel 199208 May 22 14:26 /usr/bin/g++ # ls -la /usr/bin/clang++ -r-xr-xr-x 3 root wheel 32578976 Jun 18 09:12 /usr/bin/clang++ # ls -la /usr/local/bin/clang++ lrwxr-xr-x 1 root wheel 5 Jun 18 09:57 /usr/local/bin/clang++ - clang FreeBSD and Ports installation method of CLANG differs further here # stat -x /usr/bin/clang File: /usr/bin/clang Size: 32578976 FileType: Regular File Mode: (0555/-r-xr-xr-x) Uid: (0/root) Gid: (0/ wheel) Device: 85,3144417526 Inode: 23483Links: 3 Access: Tue May 22 14:27:20 2012 Modify: Mon Jun 18 09:12:53 2012 Change: Mon Jun 18 09:12:53 2012 # stat -x /usr/bin/clang++ File: /usr/bin/clang++ Size: 32578976 FileType: Regular File Mode: (0555/-r-xr-xr-x) Uid: (0/root) Gid: (0/ wheel) Device: 85,3144417526 Inode: 23483Links: 3 Access: Tue May 22 14:27:20 2012 Modify: Mon Jun 18 09:12:53 2012 Change: Mon Jun 18 09:12:53 2012 Yup, so Ports symlinks (without full path -- this should be fixed) and FreeBSD BASE uses a hardlink. # ldd /usr/local/bin/clang /usr/local/bin/clang: libLLVM-3.0.so = /usr/local/lib/libLLVM-3.0.so (0x80155e000) libthr.so.3 = /lib/libthr.so.3 (0x802ea) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x8030c3000) libm.so.5 = /lib/libm.so.5 (0x8033d3000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x8035f4000) libc.so.7 = /lib/libc.so.7 (0x803801000) # ldd /usr/bin/clang /usr/bin/clang: libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x80269e000) libm.so.5 = /lib/libm.so.5 (0x8029ae000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x802bcf000) libc.so.7 = /lib/libc.so.7 (0x802ddc000) # ls -la /usr/local/lib/libLLVM-3.0.so -rwxr-xr-x 1 root wheel 27543632 Jun 18 09:53 /usr/local/lib/libLLVM-3.0.so # ls -la /lib/libthr.so.3 -r--r--r-- 1 root wheel 101712 May 22 14:26 /lib/libthr.so.3 So from what I can tell LLVM is the monster here, not Clang (which is also of significant size, but it's 2012 so Clang isn't *that* big) None of this seems very relevant, but here's also lines of code via sloccount: # sloccount clang-3.0.src/ Totals grouped by language (dominant language first): cpp: 390865 (82.34%) ansic:50466 (10.63%) objc: 24970 (5.26%) python:5874 (1.24%) perl: 1951 (0.41%) lisp: 379 (0.08%) pascal: 123 (0.03%) sh: 86 (0.02%) Total Physical Source Lines of Code (SLOC)= 474,714 # sloccount llvm-3.0.src/ Totals grouped by language (dominant language first): cpp: 468021 (75.80%) asm: 109345 (17.71%) ansic:13782 (2.23%) sh: 12848 (2.08%) ml:4716 (0.76%) python:4351 (0.70%) perl: 2093 (0.34%) pascal:1566 (0.25%) exp:389 (0.06%) lisp: 187 (0.03%) csh:117 (0.02%) Total Physical Source Lines of Code (SLOC)= 617,415 # sloccount gcc-4.2.1/ Totals grouped by language (dominant language first): ansic: 1306440 (43.95%) ada: 584415 (19.66%) java:583316 (19.62%) cpp: 346603 (11.66%) asm: 37548 (1.26%) f90: 36055 (1.21%) sh: 30089 (1.01%) yacc: 15006 (0.50%) exp: 11218 (0.38%) fortran: 7139 (0.24%) objc: 6921 (0.23%) perl: 3038 (0.10%) pascal:1194 (0.04%) cs: 879 (0.03%) lex:857 (0.03%) awk:732 (0.02%) python: 582 (0.02%) tcl:271 (0.01%) haskell: 93 (0.00%) lisp:59 (0.00%) Total Physical Source Lines of Code (SLOC)= 2,972,455 So GCC 4.2.1 is nearly 3 million lines of code, but CLANG+LLVM is sitting at 1.1 million lines of code. Are you sure CLANG is the bloated project? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
Are you sure CLANG is the bloated project? already posted comparision. your seems like too much propaganda. I don't say clang is just bad, but i prefer real data over hype. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
On Mon, 18 Jun 2012 10:50:37 -0500, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: I don't say clang is just bad, but i prefer real data over hype. This is the most memorable and impacting set of graphs that I remember. I haven't followed the data much since. http://clang.llvm.org/performance-2008-10-31.html Now imagine having to rebuild projects constantly during your dev cycle. The time savings is going to add up quick. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
I don't say clang is just bad, but i prefer real data over hype. This is the most memorable and impacting set of graphs that I remember. I haven't followed the data much since. http://clang.llvm.org/performance-2008-10-31.html Now imagine having to rebuild projects constantly during your dev cycle. The time savings is going to add up quick. still not read my mail where i actually compared it in real. or don't want? I really don't care about cool graphs but at facts for me as a USER (not developer) of C compiler. And the facts are: Lots of worktime were spent to make new C compiler from scratch and this resulted with thing 5 times larger, working at similar speed and producing similar code to GCC that is already considered bloat. Not something to be proud about. That's truth. and truth is the only thing i do care about. I leave hype and propaganda and cool graphic bars that shows a really not important part of C compiler performance - code parsing and generating unoptimized code (-O0). The truth is sad. Starting from fresh and not being able to beat 25-year old bloated gcc is just funny. That's my view - as a final consumer, not developer. My view is that bloatware is replaced by another bloatware, which - because of it's young age - have greater future potential of bloat than GCC. This tens or hundreds of thousands of work-hours could be spent far better by getting latest gcc available on GPLv2 licence and start from there, just improving it. GNU communist licence for C compiler is not bad at all (contrary to other software). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
On Mon, 18 Jun 2012 11:37:55 -0500, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: This tens or hundreds of thousands of work-hours could be spent far better by getting latest gcc available on GPLv2 licence and start from there, just improving it. We already have the latest available with GPLv2, which is very far behind and it requires GCC codebase experts to make any changes at all. This is equivalent to letting any random coder make major changes to OpenSSL -- you simply cannot afford to risk it. Yes, I noticed you showed a few benchmarks where Clang was slower. It's bound to be a bit slower with some test cases at first -- they're rounding out the features before going back for major optimizations. It won't be long and it will be sufficiently on par if not exceeding GCC's capabilities. Writing a compiler is no trivial task, and they've built the right framework and have a very active community. Listen, Apple has a MAJOR investment in Clang/LLVM. They simply would not allow major across-the-board speed regressions to happen during the release of iOS or OSX. They're going to throw tons of time and money to make it destroy GCC and target any ARCH they have the slightest interest in. Clang has a very bright future, so don't be so discouraged. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
We already have the latest available with GPLv2, which is very far behind and it requires GCC codebase experts to make any changes at all. This is equivalent to letting any random coder make major changes to OpenSSL -- you simply cannot afford to risk it. so not doing anything and just spent that time drinking beer seems to be better. Anyway far behind gcc is roughly as good as leading edge clang. Actually - lots of time spend and zero gain. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
Please stop asking for instant gratification; you won't have it no matter how loud you yell. The Clang decision is far-reaching and gives numerous advantages to the FreeBSD platform. It's also not been a waste of time; you're implying that the FreeBSD devs have spent thousands of hours hacking away at Clang which is far away from the fact. We're simply building upon their work, testing Clang on the codebase (and finding bugs GCC was hiding!!), and reporting any issues upstream which get fixed very very quickly. If you want to recompile everything with lang/gcc (4.6.3) and the latest binutils go right ahead, but don't expect support when things go horribly pear-shaped. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
On Mon, Jun 18, 2012 at 6:56 PM, Mark Felder f...@feld.me wrote: Please stop asking for instant gratification; you won't have it no matter how loud you yell. The Clang decision is far-reaching and gives numerous advantages to the FreeBSD platform. It's also not been a waste of time; you're implying that the FreeBSD devs have spent thousands of hours hacking away at Clang which is far away from the fact. We're simply building upon their work, testing Clang on the codebase (and finding bugs GCC was hiding!!), and reporting any issues upstream which get fixed very very quickly. If you want to recompile everything with lang/gcc (4.6.3) and the latest binutils go right ahead, but don't expect support when things go horribly pear-shaped. Clang is a great set of compiler tools. If you are only a user, as you suggest, than you shouldn't be compiling anything, just running binaries. If you are using a compiler, than you may not be a developer, but you aren't just a user. In any case, if you're not developing, like me, you don't really get a say-- well, you do, but probably nobody is listening. http://www.drdobbs.com/cpp/240001128 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
Apple had no problem using a GPL v2 licensed compiler. It looks like they have a huge problem using a GPL v3 licensed compiler. On Mon, Jun 18, 2012 at 12:21 PM, Joe Gain joe.g...@gmail.com wrote: On Mon, Jun 18, 2012 at 6:56 PM, Mark Felder f...@feld.me wrote: Please stop asking for instant gratification; you won't have it no matter how loud you yell. The Clang decision is far-reaching and gives numerous advantages to the FreeBSD platform. It's also not been a waste of time; you're implying that the FreeBSD devs have spent thousands of hours hacking away at Clang which is far away from the fact. We're simply building upon their work, testing Clang on the codebase (and finding bugs GCC was hiding!!), and reporting any issues upstream which get fixed very very quickly. If you want to recompile everything with lang/gcc (4.6.3) and the latest binutils go right ahead, but don't expect support when things go horribly pear-shaped. Clang is a great set of compiler tools. If you are only a user, as you suggest, than you shouldn't be compiling anything, just running binaries. If you are using a compiler, than you may not be a developer, but you aren't just a user. In any case, if you're not developing, like me, you don't really get a say-- well, you do, but probably nobody is listening. http://www.drdobbs.com/cpp/240001128 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: libc version
From owner-freebsd-questi...@freebsd.org Mon Jun 18 08:21:38 2012 From: Sergio de Almeida Lenzi lenzi.ser...@gmail.com To: freebsd-questions@freebsd.org Date: Mon, 18 Jun 2012 10:20:09 -0300 Subject: libc version Hello... I upgrade the server from version 8.2 to 8.3, and rebuild all packages.. it all works... Then I installed a binary package (8.3) in an old 8.2 ... every package works... gnome, nautilus, wget about 800 of them the only one that does not work is postgesql84-server when I try to run it it I got the message: /libexec/ld-elf.so.1: /lib/libc.so.7: version FBSD_1.3 required by /usr/local/bin/postgres not found seems that only postgres is check for the libc version??? INCORRECT. Postgres is jjust the only one of those programs that _requires_ a 'minimum' version level that is newer than the one installed. is there a compile switch to check for that??? No. Of course, if I compile postgres in the 8.2 or upgrade to 8.3 it works... Naturally. do it right and it will work'. grin The required _minimum_ version of a runtime library is specified in the program source code -- because it uses features that did not exist in any version prior to that one. There is *NO* way to tell _at_compile_time_ what version of a runtome library will be present when the program is executed. The 'compiled on 8.3' Postgres binary requires a newer version of libc than exists in 8.2. Compile on 8.2 and it builds using diferent code that does not require the newer libc feature. hence the 8.2-compiled code works on 8.2. The solution to your problem, as you found, is to _not_ use 'more current' binaries in 'down-rev' environments. upward compatibility is almost always present in a package. backward compatibility is *always* a crap-shoot. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (Free 7.2) su -l didnt prompt password.Is it possbile?
From owner-freebsd-questi...@freebsd.org Mon Jun 18 09:25:32 2012 Date: Mon, 18 Jun 2012 18:24:34 +0400 From: Budnev Vladimir vladimir.bud...@gmail.com To: Mike Tancsa m...@sentex.net Cc: freebsd-questions@freebsd.org Subject: Re: (Free 7.2) su -l didnt prompt password.Is it possbile? 18.06.2012 18:02, Mike Tancsa напиÑал: On 6/18/2012 9:31 AM, Budnev Vladimir wrote: And It looked such way: %su -l Before you enter this command, post the output of id Unfortunately, we can not flashback or reproduce that step now, cause we'v hurried and changed root password to avoid such strange free logins. And changing it back didnt change a thing. It was...and't went. We had only buffered console output :( But mb you can point in what case there is possibility to make su -l without any prompt.``o This _will_ happen if one is root, does 'su' to another user. and then another 'su' to root. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
pear-shaped. Clang is a great set of compiler tools. If you are only a user, as you suggest, as i suggested - i am a user of compiler. i do compile my own programs, as well as programs from ports. and i hate just telling something is white while it is at most grey. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
Please stop asking for instant gratification; you won't have it no matter how loud you yell. gratification Seems like you ask for it. The Clang decision is far-reaching and gives numerous advantages to the FreeBSD platform. for example what? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: No surround sound with Creative SB Live! card
On 15/06/2012 13:25, Bernt Hansson wrote: On 2012-06-15 10:06, David Demelier wrote: On 15/06/2012 05:43, Edward M wrote: On 06/14/2012 09:03 AM, David Demelier wrote: I have an old SB Live! card with a 5.1 speaker set, but i can't get sound from center and rear speakers with mplayer. I'm using the snd_emu10kx driver and when I try to play a DVD I get sound only through the front speakers (and LFE) like a 2.1 Adding -channels 6 to the mplayer args does not help. Cheers, Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or DTS. So a decorder is needed. That's what mplayer says: == Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000) Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) == AO: [oss] 48000Hz 6ch s16le (2 bytes per sample) What do you mean by a decoder is needed? Have you tried vlc or xine? Seen in multimedia/mplayer/Makefile.shared: CONFIGURE_ARGS= --cc=${CC} \ [..snip..] --disable-liba52 \ That's probably why mplayer won't play surround sound, I'll try with VLC tonight. Cheers, -- David Demelier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: libc version
Ok thank you for your answer... the problem is in the postgres code and not in a compile switch or something like that... I will upgrade all my 8.2 to 8.3... systems to do this, I build an 8.3 from ground zero, and than do a rsync from this one to the others, directories: /usr/obj /usr/src than... on each target, a make installworld installkernel should do the upgrade... Any comments?? Sergio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: No surround sound with Creative SB Live! card
On 15/06/2012 13:25, Bernt Hansson wrote: On 2012-06-15 10:06, David Demelier wrote: On 15/06/2012 05:43, Edward M wrote: On 06/14/2012 09:03 AM, David Demelier wrote: I have an old SB Live! card with a 5.1 speaker set, but i can't get sound from center and rear speakers with mplayer. I'm using the snd_emu10kx driver and when I try to play a DVD I get sound only through the front speakers (and LFE) like a 2.1 Adding -channels 6 to the mplayer args does not help. Cheers, Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or DTS. So a decorder is needed. That's what mplayer says: == Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000) Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) == AO: [oss] 48000Hz 6ch s16le (2 bytes per sample) What do you mean by a decoder is needed? Have you tried vlc or xine? It does not work with VLC too, do you need to tweak some settings? Cheers, -- David Demelier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
On Mon, Jun 18, 2012 at 8:34 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: Please stop asking for instant gratification; you won't have it no matter how loud you yell. gratification Seems like you ask for it. This might be to gratuitous for most on the list, but diversity is almost reason enough. And I don't mean this is some sort of fashion-way. I think llvm and clang are interesting and serious projects. Actually, to be honest, c programming with clang is really nice, it gives me really nice error messages, which makes debugging easier. I like it for that too. From a practical point of view, the only negative thing about using clang is that some applications which have been written using gcc won't compile using it, but gcc is also ok. I'm not that interested in saving a few minutes compile time, or bytes of memory. The Clang decision is far-reaching and gives numerous advantages to the FreeBSD platform. for example what? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
On Mon, Jun 18, 2012 at 4:37 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: And the facts are: Lots of worktime were spent to make new C compiler from scratch and this resulted with thing 5 times larger, working at similar speed and producing similar code to GCC that is already considered bloat. The truth is sad. Starting from fresh and not being able to beat 25-year old bloated gcc is just funny. Another way of looking at it is after 25 years of optimization GCC is unable to beat a new compiler that's had almost none... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
GPL runs contrary to the nature and intent of the BSD style license. Free and open software benefits us all. Getting rid of GPL is a good thing, and well worth any (debatable) performance hits. -- Dave Robison Sales Solution Architect II FIS Banking Solutions 510/621-2089 (w) 530/518-5194 (c) 510/621-2020 (f) da...@vicor.com david.robi...@fisglobal.com _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
gratification Seems like you ask for it. This might be to gratuitous for most on the list, but diversity is almost reason enough. And I don't mean this is some sort of fashion-way. I think llvm and clang are interesting and serious projects. never told otherwise. i just try to do what is really needed - something like mythbusters would help greatly here. clang is very good C compiler, but JUST NOT BETTER than gcc. overall it is comparable. at most. wouldn't it be better to say - well, clang is good and OK, and we are not dependent of GNU communist licence v3 which is important. But instead we here lies about incomparably better compiler. No it is not better. it is at the same class, in some respect actually worse.___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
bloated gcc is just funny. Another way of looking at it is after 25 years of optimization GCC is unable to beat a new compiler that's had almost none... none? so why it takes so much time to optimize? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
GPL runs contrary to the nature and intent of the BSD style license. Free and open software benefits us all. True. GPL is definitely not FREE software. Freedom doesn't have different types. Something is free or it is not free. GPL software is not free as i can not do whatever i want with it. Getting rid of GPL is a good thing, and well worth any (debatable) I fully agree. So why all this lies about much higher performance and others? I don't consider CLANG to be a great success. I consider it acceptable replacement of GCC. i just hate hype and lies. ALWAYS. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
That's interesting discussion. I hit some cases where clang produced binaries were clearly faster than those made with latest gcc. But it's far from rule. Where you have found statements that clang is always faster than gcc? From my perspective, it's almost as good OR better than gcc, with potential for further improvement and nice license, errors etc. Fair enough. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Why-Clang-tp5715861p5719484.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
From owner-freebsd-questi...@freebsd.org Mon Jun 18 11:39:03 2012 Date: Mon, 18 Jun 2012 18:37:55 +0200 (CEST) From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl To: Mark Felder f...@feld.me Cc: freebsd-questions@freebsd.org Subject: Re: Why Clang I don't say clang is just bad, but i prefer real data over hype. This is the most memorable and impacting set of graphs that I remember. I haven't followed the data much since. http://clang.llvm.org/performance-2008-10-31.html Now imagine having to rebuild projects constantly during your dev cycle. The time savings is going to add up quick. still not read my mail where i actually compared it in real. or don't want? I really don't care about cool graphs but at facts for me as a USER (not developer) of C compiler. And the facts are: Lots of worktime were spent to make new C compiler from scratch and this resulted with thing 5 times larger, *YOUR* measurement of sizes was faulty. grin working at similar speed and producing similar code to GCC that is already considered bloat. The truth is sad. Starting from fresh and not being able to beat 25-year old bloated gcc is just funny. You _do_ understand that they could not use -any- of the technology implementations in GCC, that they had to redevelop everything from scratch, right? I'm sure that you _also_ are aware that a larger program size does *NOT* necessarily mean 'bloat'. That 'optimizing for speed', which can, and does, result in code that is larger than the unoptimized code, is not 'bloat'. That increasing the clarity of explanations in error messages -- which takes more words -- is not 'bloat'. That additional logic to more precisely identify -what- error occured, and provide a 'better' identification/explanation, compared to just 'parse error near {token}', is not 'bloat'. That writing code for clarity and *maintainability*, even if it incurs some 'cost' in increased size, is not 'bloat'. That doing things the 'long way', rather than the 'short way', because it is necessary for _compete_ compliance with a standard, it not 'bloat'. The fact that this _totally_new_ implementation runs roughly as fast and generates similar quality code to a package that has undergone over two-and-a-half_decades of tweaking and polishing -- well, it is little short of miraculous that it is -that- good, _that_ quickly. Feel free to demonstrate that _you_ can do it better, faster, AND smaller. *WITHOUT* lifting anything from any existing, copyrigthted, code that is.z That's my view - as a final consumer, not developer. My view is that bloatware is replaced by another bloatware, which - because of it's young age - have greater future potential of bloat than GCC. Obviously, you would then prefer to use a compiler which eliminated the text of all the information/warning/error messages and replaced all those messages with just 'Error: {number}' -- or, even shorter, just 'E{number}' -- which was done in the name of reducing that dreaded 'bloat'. (The reduction in in executable size from this approach can be _surprisingly_ large). Obviously, you would also prefer to use a compiler which 'gave up' and aborted the entire compile after reporting the first fatal error. This will eliminate all that dreaded 'bloat' involved with unwinding the parse state, and all the other 'overhead' stuff you have to do to be able to sort-of continue parsing the rest of the source file. This tens or hundreds of thousands of work-hours could be spent far better by getting latest gcc available on GPLv2 licence and start from there, That *cannot* be done. There is simply *NO* way to license anything derived from a GPLv3 product under GPLv2. The GPL itself expressly forbids it. Thus, one would have to _start_ with a GPLv2 compiler and *independently* create all the changes/improvements that have been made since that GPLv2 version was released. This is a _far_ bigger project than converting to the use of a different, but _more_standards_compliant_, compiler. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
On Mon, 18 Jun 2012 14:29:36 -0500, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: none? so why it takes so much time to optimize? I don't think you understand how compilers work or the concept that new programming methodologies have been developed over the last 25 years, so this conversation is going to get stuck in a loop. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
That's interesting discussion. I hit some cases where clang produced binaries were clearly faster than those made with latest gcc. But it's far from rule. i did few more test on common unix tools, or my programs and results are that by average there are just as fast within 1% range. by average it is just like gcc both im compiling speed and execution speed. Where you have found statements that clang is always faster than gcc? from that mailing list - mostly from mark fedler. He even showed me some nice graphs to prove it - graphs showed speed of -O0 compilation. From my perspective, it's almost as good OR better than gcc, with potential for further improvement and nice license, errors etc. Fair enough. actually good licence is for me the only adventage over gcc. But yes - it is great adventage. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
scratch and this resulted with thing 5 times larger, *YOUR* measurement of sizes was faulty. grin be more exact. old bloated gcc is just funny. You _do_ understand that they could not use -any- of the technology implementations in GCC, that they had to redevelop everything from scratch, right? even stated this. I'm sure that you _also_ are aware that a larger program size does *NOT* necessarily mean 'bloat'. of course. really i can write programs. and really - i don't understand all this fuss about better error reporting. Really i don't have problems to read gcc error messages when i compile my programs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
none? so why it takes so much time to optimize? I don't think you understand how compilers work or the concept that new programming methodologies have been developed over the last 25 years, so this conversation is going to get stuck in a loop. Right. You just behave as defender of CLANG people that will not be paid because of not really good work. but it is free project isn't it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
On Mon, Jun 18, 2012 at 10:30:23PM +0200, Wojciech Puchar wrote: scratch and this resulted with thing 5 times larger, *YOUR* measurement of sizes was faulty. grin be more exact. I believe Robert Bonomi (you didn't include attribution for the previous email, I notice) *was* more exact, in that the rest of his email explained what he thought of your glossing over the various factors that might contribute to binary size. I notice you ignored most of it in your response, too. I'm sure that you _also_ are aware that a larger program size does *NOT* necessarily mean 'bloat'. of course. really i can write programs. and really - i don't understand all this fuss about better error reporting. Really i don't have problems to read gcc error messages when i compile my programs. I can generally puzzle out what caused various GCC warning and error messages when trying to compile my own code, given comparison of what's going on in the messages with what's going on in my code and reasoning through the connections between different parts of the code. That sort of thing is required probably 70% of the time, in my experience. With Clang, by contrast, I find that's required only about 20% to 30% of the time. Otherwise, the warning and error messages tend to get me a lot closer to the actual point of failure than GCC. *That* is what all this fuss about 'better error reporting' is about. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
GNU communist licence for C compiler is not bad at all (contrary to other ..^ ..^ software). I many others _Know_ what BSD FSF licenses are. Don't wwant repeated nonsense about 'communism'. If you didn't subscribe http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain before the GCC V Clang decision was made, your views now irrelevant. If you still must emit noise about licenses subscribe http://lists.freebsd.org/mailman/listinfo/freebsd-advocacy Best subscribe follow up about communism to http://lists.freebsd.org/mailman/listinfo/freebsd-chat or /dev/null Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, indent with . Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
Sorry, my last header wrongly to Mark Felder, could give the wrong impression. I would like Wojciech Puchar (not Mark F.) to stop banging on about 'GNU communist licence' etc. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, indent with . Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
converting mpost(ed) files individually to eps
Dear folks, I am taking a plunge to learning a little bit of metapost. I have found examples page using google. http://www.tlhiv.org/MetaPost/examples/examples.html I want to convert output files individually to eps. I can only convert the first one output say file.1 to file.eps, but when there are more files, ie, file.2, ..., file.10, all the files between .2 and .10 do not get converted/saved to *.eps extension. script called mpost-eps below: === $ cat mpost-eps #!/bin/sh MPOST=/usr/local/bin/kertex/mpost GS=/usr/local/bin/gs ERROR=Too few arguments : no file name specified [ $# -eq 0 ] echo $ERROR exit # no args? ... print error and exit # check that the file exists if [ -f $1.mp ] then # if it exists then metapost it,then convert with ghostscript, then remove all the unneeded files $MPOST $1.mp $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$1.eps $1.1 # these lines can be appended to delete other files, such as *.out if [ -f $1.log ] then rm *.log fi else # otherwise give this output line with a list of available metapost files echo the file doesnt exist butthead! Choose one of these: ls *.mp fi === I run the script $ ./mpost-eps file without *.mp extension. but only one gets converted. I don't know enough shell programming to do something like for i in file.i do $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$1.eps $1.i but it does not work correctly. I can change the mpost executable[using kertex by T. Laronde (http://www.kergis.com/en/kertex.html) ] at will as I also have texlive installed by FreeBSD TeXLive Ports by Roman Tartiere(https://code.google.com/p/freebsd-texlive/) , /usr/local/bin/mpost is the executable there, or same one but in metapost executable by default teTeX. Is there a magical incantanation I can use to output all the files to eps and include them in documents either \TeX{}ed or \LaTeX{}ed? Thanks in Advance, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: converting mpost(ed) files individually to eps
From owner-freebsd-questi...@freebsd.org Mon Jun 18 19:50:45 2012 Date: Mon, 18 Jun 2012 19:50:01 -0500 From: Antonio Olivares olivares14...@gmail.com To: FreeBSD Questions freebsd-questions@freebsd.org Subject: converting mpost(ed) files individually to eps Dear folks, I am taking a plunge to learning a little bit of metapost. I have found examples page using google. http://www.tlhiv.org/MetaPost/examples/examples.html I want to convert output files individually to eps. I can only convert the first one output say file.1 to file.eps, but when there are more files, ie, file.2, ..., file.10, all the files between .2 and .10 do not get converted/saved to *.eps extension. Correct. The script you showd processes a _single_ argument only. Use a 'for loop' to handle multiple files, something like -- for thisfile in file.* do `mpost-eps $thisfile end [[ sneck -- copy of script itself ]] I run the script $ ./mpost-eps file without *.mp extension. but only one gets converted. I don't know enough shell programming to do something like for i in file.i do $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$1.eps $1.i You were *close*. what you wanted is (assuming MPOST and GS are defined: for file in {{list or wildcard}} do $MPOST $file $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$ile.eps $file.1 end ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: converting mpost(ed) files individually to eps
Date: Mon, 18 Jun 2012 19:50:01 -0500 From: Antonio Olivares olivares14...@gmail.com Subject: converting mpost(ed) files individually to eps Dear folks, I am taking a plunge to learning a little bit of metapost. I have found examples page using google. http://www.tlhiv.org/MetaPost/examples/examples.html I want to convert output files individually to eps. I can only convert the first one output say file.1 to file.eps, but when there are more files, ie, file.2, ..., file.10, all the files between .2 and .10 do not get converted/saved to *.eps extension. Correct. The script you showd processes a _single_ argument only. Use a 'for loop' to handle multiple files, something like -- for thisfile in file.* do `mpost-eps $thisfile end [[ sneck -- copy of script itself ]] I run the script $ ./mpost-eps file without *.mp extension. but only one gets converted. I don't know enough shell programming to do something like for i in file.i do $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$1.eps $1.i You were *close*. what you wanted is (assuming MPOST and GS are defined: for file in {{list or wildcard}} do $MPOST $file $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$file.eps $file.1 end I may have understood. if it is MPOST that is producing the multiple files, then you want: $MPOST for file in file.* do $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$file.eps $file end This will produce a series of files named file.1.eps, file.2.eps, etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: converting mpost(ed) files individually to eps
On Mon, Jun 18, 2012 at 8:30 PM, Robert Bonomi bon...@mail.r-bonomi.com wrote: Date: Mon, 18 Jun 2012 19:50:01 -0500 From: Antonio Olivares olivares14...@gmail.com Subject: converting mpost(ed) files individually to eps Dear folks, I am taking a plunge to learning a little bit of metapost. I have found examples page using google. http://www.tlhiv.org/MetaPost/examples/examples.html I want to convert output files individually to eps. I can only convert the first one output say file.1 to file.eps, but when there are more files, ie, file.2, ..., file.10, all the files between .2 and .10 do not get converted/saved to *.eps extension. Correct. The script you showd processes a _single_ argument only. Use a 'for loop' to handle multiple files, something like -- for thisfile in file.* do `mpost-eps $thisfile end [[ sneck -- copy of script itself ]] I run the script $ ./mpost-eps file without *.mp extension. but only one gets converted. I don't know enough shell programming to do something like for i in file.i do $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$1.eps $1.i You were *close*. what you wanted is (assuming MPOST and GS are defined: for file in {{list or wildcard}} do $MPOST $file $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$file.eps $file.1 end I may have understood. if it is MPOST that is producing the multiple files, then you want: $MPOST for file in file.* do $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$file.eps $file end This will produce a series of files named file.1.eps, file.2.eps, etc. I added this to the script: $MPOST $1.mp for file in file.* do $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$file.eps $file end But I get error in line 16: $ ./mpost-eps webfig ./mpost-eps: 16: Syntax error: word unexpected File follows here: mpost-eps: === $ cat mpost-eps #!/bin/sh MPOST=/usr/bin/kertex/mpost GS=/usr/bin/gs ERROR=Too few arguments : no file name specified [ $# -eq 0 ] echo $ERROR exit # no args? ... print error and exit # check that the file exists if [ -f $1.mp ] then # if it exists then metapost it,then convert with ghostscript, then remove all the unneeded files $MPOST $1.mp for file in file.* do $GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$file.eps $file end #$MPOST $1.mp #$GS -dNOPAUSE -dBATCH -sDEVICE=epswrite -sOutputFile=$1.eps $1.1 # these lines can be appended to delete other files, such as *.out if [ -f $1.log ] then rm *.log fi else # otherwise give this output line with a list of available metapost files echo the file doesnt exist butthead! Choose one of these: ls *.mp fi === It would probably be better if insead of file.1.eps, file.2.eps, file.3.eps , ... , fileN.eps to write to file-1.eps, file-2.eps, file-3.eps, ..., file-N.eps. Some friends tell me that the file generated by metapost is already an eps file, that I am only making things difficult :( Thanks for your help suggestions. Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
urtw0 wireless device on FreeBSD problems
Dear Folks, following an excellent guide by W. Block: http://www.wonkity.com/~wblock/docs/html/wireless.html I connected successfully to a wireless network. However, the connection works for a while then drops off. At the end I get a kernel panic and the machine presents press something to avoid shutdown. $ dmesg | grep 'urtw0' urtw0: vendor 0x0bda product 0x8187, class 0/0, rev 2.00/1.00, addr 3 on usbus3 urtw0: unknown RTL8187L type: 0x800 urtw0: rtl8187l rf rtl8225u hwrev none quadcore# tail -f /var/log/messages Jun 18 20:53:22 quadcore wpa_supplicant[515]: CTRL-EVENT-SCAN-RESULTS Jun 18 20:58:29 quadcore wpa_supplicant[515]: CTRL-EVENT-SCAN-RESULTS Jun 18 21:02:36 quadcore su: olivares to root on /dev/pts/0 I will see how I can post pictures to another website and find a way to troubleshoot this. Any ideas? Is there a place where the panics/oops are saved to retrieve them and cut + paste them here? /var/log/, /tmp/ ? Thanks, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: converting mpost(ed) files individually to eps
On Mon, 18 Jun 2012, Antonio Olivares wrote: But I get error in line 16: $ ./mpost-eps webfig ./mpost-eps: 16: Syntax error: word unexpected for file in file.* do Either put the do on the next line, or put a ; before it: for file in file.* ; do ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
be more exact. I believe Robert Bonomi (you didn't include attribution for the previous email, I notice) *was* more exact, in that the rest of his email explained what he thought of your glossing over the various factors that might contribute to binary size. I notice you ignored most of it in your response, too. or maybe missed. So please tell me finally what is wrong in measuring speed by measuring time of execution doing same things? What i should measure? time in heavens? I can generally puzzle out what caused various GCC warning and error messages when trying to compile my own code, given comparison of what's strange but i don't have a problem - and i always set -Wall when using gcc as 99% of warnings are actually errors. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why Clang
Sorry, my last header wrongly to Mark Felder, could give the wrong impression. I would like Wojciech Puchar (not Mark F.) to stop banging on about 'GNU communist licence' etc. because you don't like facts. Sorry but i like only facts. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Error in latest KDE4 install attempt
Hi FreeBSD - This note does not have the proper running commentary since I get hit from the Internet constantly. The other note on the page is from this past Friday I think. At 12a Tuesday (6/19) I decided to try installing KDE4 again. When I tried to change directory to /x11/kde4 the directory did not exist. I decided to try to install from my FreeBSD 9 disk at this point. In about 10 sec the install told me that it was unable to install 'qt4-svg-4.7.4' I then decided to update my ports collection with portsnap. When the fetch command was downloading the 4 updated metapackages I twice received this error [snapshot is corrupt gnuzip (stdin)] I then tried to change directory to /x11/kde4 thinking that since make is reported to try to fetch the latest files any kde4 would do. I succeeded and started make. The only option was for the 'better diagnostics' library. A bison file was fetched and then the installation began using only files that were found already on my computer. After a good 15 minutes this appeared: /usr/ports/devel/qt4-designer/work/qt-everywhere-opensourse-src-4.8.2/lib/QtDesignerComponents.so: undefined reference to 'QMetaObject: cast (QOject const*) const' Perhaps this helps. Thanks - Steve Hi FreeBSD - I have just updated my Ports again this morning and I still have the same problem installing KDE4. When verifying libphonon.so in /multimedia/phonon [phonon-4.6.0-1][from the numbers it appears to be KDE4 4.8.4] my machine does not find library qzeitgeist.1 so it begins verifying the install of qzeitgeist-0.8.0 . The installer then determines that this version of qzeitgeist is not compatible. Since the master site seems to be unavailable much of the time how can I determine the tar.gz from the version number so that I may have an for instance //ftp1.freebsd.org/ to put in the the master site change in the make fetch command? Thanks - Steve -- Using Opera's revolutionary email client: http://www.opera.com/mail/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error in latest KDE4 install attempt
At 12a Tuesday (6/19) I decided to try installing KDE4 again. When I tried to change directory to /x11/kde4 the directory did not exist. I decided to because it does not exist. /usr/ports/x11/kde4 exist. try to install from my FreeBSD 9 disk at this point. In about 10 sec the install told me that it was unable to install 'qt4-svg-4.7.4' what was a message? I then decided to update my ports collection with portsnap. When the fetch command was downloading the 4 updated metapackages I twice received this error [snapshot is corrupt gnuzip (stdin)] isn't something (ftp/http proxy) on route corrupting data? i NEVER got such a message. rm -rf /var/db/portsnap and portsnap fetch check if you will get corruption. if so - something must be wrong within your network enviromnent. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org