Re: Cannot boot without noapic and nolapic

2013-03-19 Thread Ralf Mardorf
On Wed, 2013-03-20 at 09:25 +0800, 葉立誠 wrote:
> My platform is intel atom n2800, 2G ram and customize motherboard 
> I install debain 6.0-amd64 on cfast card
> But I cannot boot into system without parameter noapic and nolapic,
> If i use noapic and nolapic ,cpu only has one core activated
> 
> 
> Any suggestions?

If you're using a multi-core CPU, you shouldn't disable IRQ handling for
multi-core CPUs ;).

If you need to disable it to run Linux, then you need a BIOS update. If
your BIOS should be up-to-date then I don't know what to do.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1363745558.2602.108.camel@archlinux



Cannot boot without noapic and nolapic

2013-03-19 Thread 葉立誠
My platform is intel atom n2800, 2G ram and customize motherboard
I install debain 6.0-amd64 on cfast card
But I cannot boot into system without parameter noapic and nolapic,
If i use noapic and nolapic ,cpu only has one core activated

Any suggestions?


Re: Using Sane front- and back-ends with Xsane

2013-03-19 Thread Lisi Reisz
Thanks, again, Hugo :-)

On Tuesday 19 March 2013 23:23:53 Hugo Vanwoerkom wrote:
> Lisi Reisz wrote:
> > Thanks for the correction, Gary.
> >
> > But:
> > root@Tux-II:/home/lisi# apt-get build-dep sane-frontends
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > E: Could not open
> > file
> > /var/lib/apt/lists/security.debian.org_squeeze_updates_dists_main_contrib
> >_source_Sources - open (2: No such file or directory)
> > root@Tux-II:/home/lisi#
> >
> > I am making a ridiculous meal out of this, aren't I. :-(
>
> what does your /etc/sources.list contain? It seems it needs:
>
> deb-src http:///debian/ squeeze main contrib
>
> to judge from the error message...


deb http://ftp.uk.debian.org/debian squeeze main contrib non-free
deb-src http://ftp.uk.debian.org/debian squeeze main contrib non-free

deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib non-free

deb http://security.debian.org/squeeze/updates main contrib non-free
deb-src http://security.debian.org/squeeze/updates main contrib non-free

deb http://ftp.at.debian.org/backports.org squeeze-backports main contrib 
non-free

deb http://mozilla.debian.net squeeze-backports iceweasel-esr icedove-esr

# deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu lucid main

deb http://www.deb-multimedia.org squeeze main non-free

deb http://depot-trinity.dotriver.eu/trinity-v3.5.13/debian squeeze main
deb http://depot-trinity.dotriver.eu/trinity-builddeps-v3.5.13/debian squeeze 
main

deb http://ppa.quickbuild.pearsoncomputing.net/slavek-banko/axis/ubuntu 
squeeze main


Which should be fine.  So I ran  and got the following 
errors:

Err http://security.debian.org main/contrib Sources 404  Not Found [IP: 
212.211.132.32 80]
Err http://security.debian.org main/non-free Sources 404  Not Found [IP: 
212.211.132.32 80]
Err http://security.debian.org main/contrib amd64 Packages 404  Not Found [IP: 
212.211.132.32 80]


So you have clearly hit the nail on the head, Hugo.  If this were Windows I 
would be muttering darkly about viruses.  But it isn't Windows, so I am at a 
loss.  I did Google to try and find a different mirror for security, but did 
not succeed.

Perhaps I should wait a bit and see what I get tomorrow.  It's late anyway 
here.

Thanks for all the help, Hugo.

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130322.53084.lisi.re...@gmail.com



Re: tar message

2013-03-19 Thread Dennis Wicks

Andreas Rönnquist wrote the following on 03/19/2013 06:11 PM:

On Tue, 19 Mar 2013 17:37:42 -0500,
Dennis Wicks wrote:


What does it mean when tar displays message "file changed as
we read it"? Is anything wrong? BTW All instances involved
jpg files.




Are you by any chance adding all files in a folder to a tarball
inside the same folder?

This will cause this message to be shown, since such a command will try
to add the created tarball to itself.

An example:

tar czvf mytar .

This will add all files in the folder to "mytar", but since mytar also
is created in the same folder, eventually it will come to that file,
and when does, it will try to be added to itself.

A solution is to work on the archive one folder up from the files you
want to tar:

tar czvf archive myfolder

or
tar cvzf ../archive .

-- Andreas Rönnquist
mailingli...@gusnan.se
gus...@gusnan.se




That is it! Thanks! Out-smarted myself!!




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5148f784.90...@mgssub.com



RE: Installer not reading preseed.cfg

2013-03-19 Thread keshav prabhakar

I also just did a `update-initramfs -d` followed by `initramfs -c -k 
2.6.26-2-amd64` and `update-grub`.  Anything in particular that I should be 
looking for in the output?
  

Re: Using Sane front- and back-ends with Xsane

2013-03-19 Thread Hugo Vanwoerkom

Lisi Reisz wrote:
Thanks for the correction, Gary.  


But:
root@Tux-II:/home/lisi# apt-get build-dep sane-frontends
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Could not open 
file /var/lib/apt/lists/security.debian.org_squeeze_updates_dists_main_contrib_source_Sources - 
open (2: No such file or directory)

root@Tux-II:/home/lisi#

I am making a ridiculous meal out of this, aren't I. :-(



what does your /etc/sources.list contain? It seems it needs:

deb-src http:///debian/ squeeze main contrib

to judge from the error message...

Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/kias21$t8d$1...@ger.gmane.org



Re: tar message

2013-03-19 Thread Andreas Rönnquist
On Tue, 19 Mar 2013 17:37:42 -0500,
Dennis Wicks wrote:

>What does it mean when tar displays message "file changed as 
>we read it"? Is anything wrong? BTW All instances involved 
>jpg files.
>
>

Are you by any chance adding all files in a folder to a tarball
inside the same folder?

This will cause this message to be shown, since such a command will try
to add the created tarball to itself.

An example:

tar czvf mytar .

This will add all files in the folder to "mytar", but since mytar also
is created in the same folder, eventually it will come to that file,
and when does, it will try to be added to itself.

A solution is to work on the archive one folder up from the files you
want to tar:

tar czvf archive myfolder

or
tar cvzf ../archive .

-- Andreas Rönnquist
mailingli...@gusnan.se
gus...@gusnan.se


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130320001125.5a329...@debian.lan



tar message

2013-03-19 Thread Dennis Wicks
What does it mean when tar displays message "file changed as 
we read it"? Is anything wrong? BTW All instances involved 
jpg files.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5148e8b6.60...@mgssub.com



Re: Running pae kernel on non-pae system

2013-03-19 Thread Bob Proulx
Rob McMurray wrote:
> I want to run ownCloud on a small server using a mini-itx
> motherboard.  Unfortunately the CPU, a 1GHz VIA C3 Eden Nehemiah,
> doesn't support pae so I haven't yet found anything current that
> supports it. CentOS 5.9 works but not the latest 6.x version and
> SolusOS non-pae doesn't load for some other reason I have yet to
> work out. Xubuntu failed also. The error on these non- working
> distros is typically 'you need to use a supported CPU' and lists the
> two items not supported...  pae and cx8.

You probably need to run the 486 architecture.  My Pentium machine has
these installed:

  linux-image-2.6.32-5-486
  linux-image-2.6-486
  linux-image-486

Bob


signature.asc
Description: Digital signature


RE: Installer not reading preseed.cfg

2013-03-19 Thread keshav prabhakar



>I just remembered, I'm using a linux 5 template ('Guest OS: Debian GNU/Linux 5 
>(64-bit)') to install Debian 6. not sure if that's causing the issue, somehow. 
>(I'm using ESXi 4.0 server, which is quite old and it doesn't support > 
>'Debian GNU/Linux 6' as one of the templates). Let me try with a Debian 5 ISO 
>and see if the installer can find the disk.. 
I was in fact (unknowingly) using a Debian 5 ISO over a 'Debian GNU/Linux 5 
(64-bit)' template which was causing it not to get me into the shell on root 
partition file system. Now, with a debian-6.0.7-amd64-netinst.iso, I was able 
to get to shell on the root file system in rescue mode.Then I ran 
`update-initramfs -u -v` followed by `update-grub`. They both appear to run 
fine (without showing any errors) though I didn't understand much about why 
they needed to be run.. Is there anything in the output that I should be 
looking for?I tried running the preseed file again after this but the installer 
stopped at the same place as before ("No root file system found").perhaps, I 
should try recreating a new initramfs? (`update-initramfs -d` followed by 
`update-initramfs -c`)?


  

Re: Using Sane front- and back-ends with Xsane

2013-03-19 Thread Lisi Reisz
Thanks for the correction, Gary.  

But:
root@Tux-II:/home/lisi# apt-get build-dep sane-frontends
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Could not open 
file 
/var/lib/apt/lists/security.debian.org_squeeze_updates_dists_main_contrib_source_Sources
 - 
open (2: No such file or directory)
root@Tux-II:/home/lisi#

I am making a ridiculous meal out of this, aren't I. :-(

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201303192100.23552.lisi.re...@gmail.com



Re: Debian sid, PHP cli, xdebug, set_error_handler, mysql_list_dbs, throw = Segmentation fault

2013-03-19 Thread Jerry Stuckle

On 3/19/2013 3:08 PM, Sven Uhlig wrote:

On 17.03.2013 23:40, Jerry Stuckle wrote:

On 3/17/2013 2:54 PM, Sven Uhlig wrote:

On 17.03.2013 16:01, Jerry Stuckle wrote:

On 3/17/2013 9:20 AM, Sven Uhlig wrote:

The following PHP code exits in "segmentation fault".



No segmentation fault if I do either of these things:
1) disable xdebug
2) don't set_error_handler
3) don't throw exception
4) throw exception after mysql_list_dbs but outside of error_handler

$ php -v
PHP 5.4.4-14 (cli) (built: Mar  4 2013 14:08:43)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
   with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans

# uname -a
Linux baldur 3.2.0-4-amd64 #1 SMP Debian 3.2.39-2 x86_64 GNU/Linux


Impossible to tell from the (lack of) information you supplied.


What do you need?


Well, if it happened to me, I'd get a dump of the problem, preferably
with a debug version of the binaries, and a trace leading up to the
problem.  Then I'd dig in and see where the problem lies.


Because I am no C developer, I have no idea where to look for the cause
of the problem. All I can do is to help someone else fixing the code of
xdebug/php. But I am really not the right person to do this.

Here is the backtrace of gdb after I have installed php5-dbg.

#0  _zend_mm_alloc_int (heap=0xdb92b0, size=32) at
/tmp/buildd/php5-5.4.4/Zend/zend_alloc.c:1906
#1  0x0069eeda in zend_error (type=8192, format=0xa77fdf "%s")
at /tmp/buildd/php5-5.4.4/Zend/zend.c:1105
#2  0x0063d376 in php_verror (docref=0xdb84c0
"x\255\377\377\377\177",
 params=0x1 , type=8192, format=0x1
, args=0x1)
 at /tmp/buildd/php5-5.4.4/main/main.c:853
#3  0x0063d79e in php_error_docref0 (docref=0xdb92b0 "\001",
type=32,
 format=0x1 ) at
/tmp/buildd/php5-5.4.4/main/main.c:865
#4  0x745f86e1 in ?? () from /usr/lib/php5/20100525/mysql.so
#5  0x74a2aedc in xdebug_execute_internal
(current_execute_data=0x74f26060, return_value_used=0)
 at /srv/debian_developer/xdebug/xdebug-2.2.1/build-php5/xdebug.c:1483
#6  0x00746a3e in zend_do_fcall_common_helper_SPEC
(execute_data=0x74f26060)
 at /tmp/buildd/php5-5.4.4/Zend/zend_vm_execute.h:644
#7  0x00700447 in execute (op_array=0x74f592f0) at
/tmp/buildd/php5-5.4.4/Zend/zend_vm_execute.h:410
#8  0x74a2aa81 in xdebug_execute (op_array=0x74f592f0)
 at /srv/debian_developer/xdebug/xdebug-2.2.1/build-php5/xdebug.c:1391
#9  0x006a028e in zend_execute_scripts (type=8,
retval=0x74f592b8, file_count=3)
 at /tmp/buildd/php5-5.4.4/Zend/zend.c:1279
#10 0x0063f863 in php_execute_script (primary_file=0x75b44ec0)
 at /tmp/buildd/php5-5.4.4/main/main.c:2473
#11 0x007491b3 in do_cli (argc=0, argv=0x7fffe8f1) at
/tmp/buildd/php5-5.4.4/sapi/cli/php_cli.c:988
#12 0x0043110a in main (argc=32767, argv=0xdb9210) at
/tmp/buildd/php5-5.4.4/sapi/cli/php_cli.c:1361


Sven.




Sven,

I'm not sure about anyone else on this list, but unfortunately I don't 
have the time it would take to duplicate your environment then try to 
duplicate your problem.


I understand you're not a C programmer - which is why I suggested you 
start with the developer of xdebug.  It's where I would start if I had 
this problem.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5148cd68.4040...@attglobal.net



Re: Using Sane front- and back-ends with Xsane

2013-03-19 Thread Lisi Reisz
Thanks, Hugo :-)

On Tuesday 19 March 2013 18:01:54 Hugo Vanwoerkom wrote:
> Lisi Reisz wrote:
> > On Monday 18 March 2013 15:03:47 Gary Dale wrote:
> >> On 18/03/13 10:56 AM, Lisi Reisz wrote:
> >>> Using Squeeze with TDE 3.5.13.2
[snip]
> There is a -dev library missing, but which one? You did run 'apt-get
> build-dep sane-frontends'?

No. :-(

But:

root@Tux-II:/home/lisi# aptitude install build-dep sane-frontends
Couldn't find any package matching "build-dep".  However, the following
packages contain "build-dep" in their description:
  python-old-doctools haskell-debian-utils mpe-source apt-rdepends 
mono-complete
  pbuilder-uml devscripts ladspa-sdk java-propose-classpath build-essential 
srcinst
  edos-distcheck pbuilder ubuntu-dev-tools
Couldn't find any package whose name or description matched "sane-frontends"
Couldn't find any package matching "build-dep".  However, the following
packages contain "build-dep" in their description:
  python-old-doctools haskell-debian-utils mpe-source apt-rdepends 
mono-complete
  pbuilder-uml devscripts ladspa-sdk java-propose-classpath build-essential 
srcinst
  edos-distcheck pbuilder ubuntu-dev-tools
Couldn't find any package whose name or description matched "sane-frontends"
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

root@Tux-II:/home/lisi#


Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201303192008.33156.lisi.re...@gmail.com



Re: Running pae kernel on non-pae system

2013-03-19 Thread Rob McMurray
Andrei POPESCU  gmail.com> writes:

> 
> On Ma, 26 feb 13, 09:03:55, Tixy wrote:
> > 
> > Unfortunately, the top hits for me when searching for "pentium m pae" in
> > Google is Wikipedia, which is at best misleading if not wrong. 
> 
> It's a wiki :p
> (SCNR)
> 
> Kind regards,
> Andrei

Hi,

I want to run ownCloud on a small server using a mini-itx motherboard. 
Unfortunately the CPU, a 1GHz VIA C3 Eden Nehemiah, doesn't support pae 
so I haven't yet found anything current that supports it. CentOS 5.9 works but 
not the latest 6.x version and SolusOS non-pae doesn't load for some other 
reason I have yet to work out. Xubuntu failed also. The error on these non-
working distros is typically 'you need to use a supported CPU' and lists the 
two 
items not supported...   pae and cx8.

Rob



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/loom.20130319t084537-...@post.gmane.org



Re: Debian sid, PHP cli, xdebug, set_error_handler, mysql_list_dbs, throw = Segmentation fault

2013-03-19 Thread Sven Uhlig
On 17.03.2013 23:40, Jerry Stuckle wrote:
> On 3/17/2013 2:54 PM, Sven Uhlig wrote:
>> On 17.03.2013 16:01, Jerry Stuckle wrote:
>>> On 3/17/2013 9:20 AM, Sven Uhlig wrote:
 The following PHP code exits in "segmentation fault".

 >>> function error_handler() {
 throw new Exception;
 }
 set_error_handler('error_handler');
 mysql_list_dbs();
 ?>

 No segmentation fault if I do either of these things:
 1) disable xdebug
 2) don't set_error_handler
 3) don't throw exception
 4) throw exception after mysql_list_dbs but outside of error_handler

 $ php -v
 PHP 5.4.4-14 (cli) (built: Mar  4 2013 14:08:43)
 Copyright (c) 1997-2012 The PHP Group
 Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
   with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans

 # uname -a
 Linux baldur 3.2.0-4-amd64 #1 SMP Debian 3.2.39-2 x86_64 GNU/Linux
>>>
>>> Impossible to tell from the (lack of) information you supplied.
>>
>> What do you need?
>>
> Well, if it happened to me, I'd get a dump of the problem, preferably
> with a debug version of the binaries, and a trace leading up to the
> problem.  Then I'd dig in and see where the problem lies.

Because I am no C developer, I have no idea where to look for the cause
of the problem. All I can do is to help someone else fixing the code of
xdebug/php. But I am really not the right person to do this.

Here is the backtrace of gdb after I have installed php5-dbg.

#0  _zend_mm_alloc_int (heap=0xdb92b0, size=32) at
/tmp/buildd/php5-5.4.4/Zend/zend_alloc.c:1906
#1  0x0069eeda in zend_error (type=8192, format=0xa77fdf "%s")
at /tmp/buildd/php5-5.4.4/Zend/zend.c:1105
#2  0x0063d376 in php_verror (docref=0xdb84c0
"x\255\377\377\377\177",
params=0x1 , type=8192, format=0x1
, args=0x1)
at /tmp/buildd/php5-5.4.4/main/main.c:853
#3  0x0063d79e in php_error_docref0 (docref=0xdb92b0 "\001",
type=32,
format=0x1 ) at
/tmp/buildd/php5-5.4.4/main/main.c:865
#4  0x745f86e1 in ?? () from /usr/lib/php5/20100525/mysql.so
#5  0x74a2aedc in xdebug_execute_internal
(current_execute_data=0x74f26060, return_value_used=0)
at /srv/debian_developer/xdebug/xdebug-2.2.1/build-php5/xdebug.c:1483
#6  0x00746a3e in zend_do_fcall_common_helper_SPEC
(execute_data=0x74f26060)
at /tmp/buildd/php5-5.4.4/Zend/zend_vm_execute.h:644
#7  0x00700447 in execute (op_array=0x74f592f0) at
/tmp/buildd/php5-5.4.4/Zend/zend_vm_execute.h:410
#8  0x74a2aa81 in xdebug_execute (op_array=0x74f592f0)
at /srv/debian_developer/xdebug/xdebug-2.2.1/build-php5/xdebug.c:1391
#9  0x006a028e in zend_execute_scripts (type=8,
retval=0x74f592b8, file_count=3)
at /tmp/buildd/php5-5.4.4/Zend/zend.c:1279
#10 0x0063f863 in php_execute_script (primary_file=0x75b44ec0)
at /tmp/buildd/php5-5.4.4/main/main.c:2473
#11 0x007491b3 in do_cli (argc=0, argv=0x7fffe8f1) at
/tmp/buildd/php5-5.4.4/sapi/cli/php_cli.c:988
#12 0x0043110a in main (argc=32767, argv=0xdb9210) at
/tmp/buildd/php5-5.4.4/sapi/cli/php_cli.c:1361


Sven.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5148b7a9.3010...@web.de



Re: problem with apt repository

2013-03-19 Thread Hugo Vanwoerkom

Sven Joachim wrote:

On 2013-03-18 21:54 +0100, Eugen Wintersberger wrote:


  I have a problem with one of my private apt repositories. I created
the repo using reprepro on my public www directory. 
I can access the repository with my browser (you can find it below

http://www.desy.de/~wintersb/apt/debian ). After adding some packages I
tried to add a new line to sources.list 


deb http://www.desy.de/~wintersb/apt/debian testing main

However, during 'apt-get update' I get the following error message

W: Failed to fetch 
http://www.desy.de/~wintersb/apt/debian/dists/testing/main/binary-amd64/Packages
  404  Not Found

W: Failed to fetch 
http://www.desy.de/~wintersb/apt/debian/dists/testing/main/binary-i386/Packages 
 404  Not Found

E: Some index files failed to download. They have been ignored, or old ones 
used instead.

What is more surprising is the fact that I can download the Packages
file with wget using the URLs in the error messages. Does anyone have an
idea what I did wrong. I am fairly new to this entire repository
business. 

best regards 
  Eugen


PS: the repository resides on an AFS file system - could this cause the


No, it's a misconfiguration in your webserver.  Unlike wget, apt encodes
the tilde ("~") in the URI as %7e, and the webserver returns a 404 error
on that.  This seems to be in violation of RFC 3986¹.

Cheers,
   Sven


¹ http://www.ietf.org/rfc/rfc3986.txt




Neat clue Sven!

Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/kiaae5$a4m$1...@ger.gmane.org



Re: Using Sane front- and back-ends with Xsane

2013-03-19 Thread Hugo Vanwoerkom

Lisi Reisz wrote:

On Monday 18 March 2013 15:03:47 Gary Dale wrote:

On 18/03/13 10:56 AM, Lisi Reisz wrote:

Using Squeeze with TDE 3.5.13.2




But I hit problems with sane-frontends.  I got the following errors while 
running :


[snip] much of the same as below:
/home/lisi/Downloads/sane-frontends-1.0.14/src/scanadf.c:1526: undefined 
reference to `sane_get_option_descriptor'
/home/lisi/Downloads/sane-frontends-1.0.14/src/scanadf.c:1548: undefined 
reference to `sane_close'
/home/lisi/Downloads/sane-frontends-1.0.14/src/scanadf.c:1550: undefined 
reference to `sane_get_devices'

scanadf.o: In function `sighandler':
/home/lisi/Downloads/sane-frontends-1.0.14/src/scanadf.c:153: undefined 
reference to `sane_cancel'

collect2: ld returned 1 exit status
make[1]: *** [scanadf] Error 1
make[1]: Leaving directory `/home/lisi/Downloads/sane-frontends-1.0.14/src'
make: *** [all-recursive] Error 1
root@Tux-II:/home/lisi/Downloads/sane-frontends-1.0.14





There is a -dev library missing, but which one? You did run 'apt-get 
build-dep sane-frontends'?


Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/kia96b$sdt$1...@ger.gmane.org



Re: Using Sane front- and back-ends with Xsane

2013-03-19 Thread Lisi Reisz
On Monday 18 March 2013 15:03:47 Gary Dale wrote:
> On 18/03/13 10:56 AM, Lisi Reisz wrote:
> > Using Squeeze with TDE 3.5.13.2
> >
> > I need some drivers in order to use Xsane with my scanner.  I have
> > downloaded and untarred the tarballs for sane-backends-1.0.23 and
> > sane-frontends-1.0.14, which are the ones I need, and all the files
> > appear to be there.  But I still get the error message > available>
> >
> > Clearly I have not told xsane where to look.  But I don't know how, so I
> > googled.  The best answer I got was this:
> >
> > 
> > Probably your PATH environment var is set to use /usr/local/bin before
> > /usr/bin, so you are using the scanimage binary you compiled with
> > sane-backends, but you have nothing similar for libraries using
> > LD_LIBRARY_PATH.
> >
> > you have two choices: 1. recompile sane-backends to overwrite the
> > version installed by your OS, or 2. teach binaries to load the sane
> > libs from /usr/local/lib, see man ld.so
> > 
> >
> > So how do I "recompile sane-backends to overwrite the
> > version installed by your OS"?  How do I tell it to overwrite?  Or how do
> > I "teach binaries to load the sane libs from /usr/local/lib"
> >
> > I have looked at man ld.so.
> > 
> > Currently ld.so has no means of unloading and searching for compatible or
> > newer
> > version of libraries.
> >
> > ld.so  functionality is only available for executables compiled
> > using libc ver‐
> > sion 4.4.3 or greater.
> > 
> >
> > I have:
> > Package: libc-bin
> > State: installed
> > Automatically installed: no
> > Version: 2.11.3-4
> >
> > I am stuck and this is fairly urgent.  So I am asking for help instead of
> > giving myself a day or two to breathe, before trying again.
> >
> > I would be very grateful for any pointers.
> >
> > Thanks,
> > Lisi
>
> The beauty of open source is that you have the sources and can recompile
> them. Since the problem seems to be that the current binaries don't
> include the drivers you need, download the sane sources and recompile
> them. For this you will need to get not just the sane source packages
> but also the build-essentials package.

Thanks, Gary.  Worked a treat for sane-backends (once I looked for 
build-essential without the 's').

But I hit problems with sane-frontends.  I got the following errors while 
running :

[snip] much of the same as below:
/home/lisi/Downloads/sane-frontends-1.0.14/src/scanadf.c:1526: undefined 
reference to `sane_get_option_descriptor'
/home/lisi/Downloads/sane-frontends-1.0.14/src/scanadf.c:1548: undefined 
reference to `sane_close'
/home/lisi/Downloads/sane-frontends-1.0.14/src/scanadf.c:1550: undefined 
reference to `sane_get_devices'
scanadf.o: In function `sighandler':
/home/lisi/Downloads/sane-frontends-1.0.14/src/scanadf.c:153: undefined 
reference to `sane_cancel'
collect2: ld returned 1 exit status
make[1]: *** [scanadf] Error 1
make[1]: Leaving directory `/home/lisi/Downloads/sane-frontends-1.0.14/src'
make: *** [all-recursive] Error 1
root@Tux-II:/home/lisi/Downloads/sane-frontends-1.0.14


I then ran  in the hope of being allowed to start again.


root@Tux-II:/home/lisi/Downloads/sane-frontends-1.0.14# make uninstall
making uninstall in include
make[1]: Entering directory 
`/home/lisi/Downloads/sane-frontends-1.0.14/include'
make[1]: Nothing to be done for `uninstall'.
make[1]: Leaving directory 
`/home/lisi/Downloads/sane-frontends-1.0.14/include'
making uninstall in lib
make[1]: Entering directory `/home/lisi/Downloads/sane-frontends-1.0.14/lib'
make[1]: Nothing to be done for `uninstall'.
make[1]: Leaving directory `/home/lisi/Downloads/sane-frontends-1.0.14/lib'
making uninstall in sanei
make[1]: Entering directory `/home/lisi/Downloads/sane-frontends-1.0.14/sanei'
make[1]: Nothing to be done for `uninstall'.
make[1]: Leaving directory `/home/lisi/Downloads/sane-frontends-1.0.14/sanei'
making uninstall in src
make[1]: Entering directory `/home/lisi/Downloads/sane-frontends-1.0.14/src'
removing /usr/local/bin/scanadf...
rm -f /usr/local/share/sane/sane-style.rc
make[1]: Leaving directory `/home/lisi/Downloads/sane-frontends-1.0.14/src'
making uninstall in doc
make[1]: Entering directory `/home/lisi/Downloads/sane-frontends-1.0.14/doc'
Removing xscanimage.1 in /usr/local/man/man1/xscanimage.1...
Removing xcam.1 in /usr/local/man/man1/xcam.1...
Removing scanadf.1 in /usr/local/man/man1/scanadf.1...
make[1]: Leaving directory `/home/lisi/Downloads/sane-frontends-1.0.14/doc'
root@Tux-II:/home/lisi/Downloads/sane-frontends-1.0.14#


 Googling suggests that the problem is a linking one, and that the error was 
thrown by either g++ or C++, but I am not at all clear what I need to link to 
what. :-(

Help very gratefully received - but if the advice is RTFM, could you tell me 
which FM?

Thanks
Lisi


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130319

RE: Installer not reading preseed.cfg

2013-03-19 Thread keshav prabhakar


> 
> It all looks OK except for the fact that d-i can't see your disks.
> 
> Are your disks still attached?! While at that screen, go to VT2 and
> run "fdisk -l".
yes, it looks like it.
~ # fdisk -l
Disk /dev/sda: 17.1 GB, 17179869184 bytes255 heads, 63 sectors/track, 2088 
cylindersUnits = cylinders of 16065 * 412 = 8225280 bytesDisk identifier: 
0x00071b4c
Device  Boot  Start   EndBlocksId 
System/dev/sda1*   11995 1602480683
Linux/dev/sda21996   2088 747022+5  
  Extended/dev/sda51996   2088 746991   
  82Linux swap / Solaris~ #
> The wheezy and squeeze installs that I ran with your preseed file were
> VMWare VMs.
> 
ah, good to know.. Did you use SCSI or some other type of virtual disk?I just 
remembered, I'm using a linux 5 template ('Guest OS: Debian GNU/Linux 5 
(64-bit)') to install Debian 6. not sure if that's causing the issue, somehow. 
(I'm using ESXi 4.0 server, which is quite old and it doesn't support 'Debian 
GNU/Linux 6' as one of the templates). Let me try with a Debian 5 ISO and see 
if the installer can find the disk.. 

  

Re: Decoding QR

2013-03-19 Thread Urs Thuermann
Claudius Hubig  writes:

> An example image would be helpful.

I have put some to my home page, see below.

> > I haven't installed libdecodeqr-dev since that seems to have
> > completely ill dependencies.
> 
> It’s a development library (-dev) intended for use if you want to,
> well, develop your own programmes.

Yes, I know and I wouldn't mind doing so.  But I didn't like the
dependencies on capturing, font libs, displaying on X11 etc.  IMO a
library for decoding should do exactly and only that.  It shouldn't
mess with where I get the images from or whether I want to display
them.

> zbarimg from zbar-tools was able to recognise [0], but not [1].

Ah, thanks for that hint.  I haven't found that tool before.  I tried
zbarimg on my images but (first) without success.  The images were
taken from a laptop screen and have probably to high a resolution,
showing too much detail of the screen's pixel structure instead of
solid white.  After converting to 320 x 200 pixels with ImageMagick
zbarimg found the QR codes in all images immediately.

I have put my example images on

http://thuermann.net/urs/qr 

The images eos-*.jpg on couldn't be decoded by zbarimg, but
small.eos-*.jpg were decoded successfully.

Thanks again.  That brings me close to my goal of automatically
correcting image time stamps, i.e. to compensate for the camera
clock's time drift.


urs


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/ygfppyv3axx@janus.isnogud.escape.de



Thailand Business Strategies - Last Call for Registration

2013-03-19 Thread Hadijah Sahid
** We are HRDF Approved Training Provider **

Legal Aspects of Doing Business in Thailand
Friday, 5th April 2013, 9.00am - 5.00pm, Kuala Lumpur 

This one-day seminar by Nilobon Tangprasit from Senior Partner of Siam City Law 
Offices, aims to deliver critical knowledge to leading industry experts, 
financial institutions and companies on business laws and regulations for 
foreign investment in Thailand. It will provide valuable insights on the 
foreign investment policy, tax policy developments, dispute resolution and 
other key challenges and strategies in carrying out business in the country.

Seminar Topics
An Overview: Thai Foreign Business Law (Foreign Business Act)
* Upcoming/proposed changes in key regulations
* Regulatory policy that foreign investors need to consider
* The cultural context: do's and don'ts when doing business in Thailand
* Investment priorities plan by the government

The Legal Framework
* Options for foreigners to commence business in Thailand
* Guidelines in hiring expatriates and directors
* Funding of business activities (Exchange Control)
* Relevant taxation issues
* Commercial contracts

Case Studies
* Contractual risk management strategies
* Dispute resolutions

Regular Fee: RM1200
(Fee includes documentation, lunch and refreshments)   

To receive brochure/registration form, please call Ms Kuan at (03) 78032514  or 
email to kuanyee...@fortressintelligence.com.sg. 

We look forward to the participation from your organisation at this seminar.

** To unsubscribe from our mailing list, please reply to this email with the 
subject "Unsubscribe" **

Yours sincerely,
Hadijah Sahid
Assistant Manager - Operations
Fortress Intelligence Pte Ltd
10 Anson Road
#34-11 International Plaza
Singapore 079903
Tel: (03) 78032514 / (65) 6334 8311
Fax: (03) 78032168 / (65) 6334 8511
registrat...@fortressintelligence.com.sg
www.fortressintelligence.com.sg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130319105444736.49E150FC74DB0423@HP3000-11



Re: Installer not reading preseed.cfg

2013-03-19 Thread Tom H
On Mon, Mar 18, 2013 at 3:48 PM, keshav prabhakar  wrote:
> sorry, I got distracted by some other project for the past week..


>> It's "/usr/sbin/update-initramfs". Do you have "/usr" mounted?
>
> no. it's not mounted. see below.


>> What choices did you make for rescue mode?
>
> I think I chose the correct options:
>
> 1. booted off of CD drive
>
> 2. Installer boot menu - Advanced options - Rescue mode
>
> 3. select language menu
>
> 4. country menu
>
> 5. keymap menu
>
> 6. installer loads 'additional components..'
>
> 7. network configuration
>
> 8. hostname and domain name selection
>
> 9. 'setting up the clock' and timezone selection
>
> 10. Detecting disks..
>
> and I see the following dialog:
>
> [!!] Enter rescue mode
>
> The installer could not find any partitions, so you will not be able to
> mount a root file system. This may be caused by the kernel failing to detect
> your hard disk drive or failing to read the partition table, or the disk may
> be unpartitioned. If you wish you may investigate this from a shell in the
> installer environment.
>
> No partitions found.

It all looks OK except for the fact that d-i can't see your disks.

Are your disks still attached?! While at that screen, go to VT2 and
run "fdisk -l".


> Not sure if it matters but I should mention that I'm using a vmware instance
> as the target install system. So, the hard disk is a virtual disk (16 GB in
> size) and listed as a 'SCSI (0:0) Hard disk 1'.
>
>
> Without knowing much about the hard drives and partitions, I tried with two
> different ways - once by trying on the rescue mode without any previously
> installed OS on the hard disk. A second time by installing os first (of
> course, partition creation all went well and the os was installed
> successfully) and then trying to boot into rescue mode. Again, this may not
> matter at all..
>
> but in both cases, in rescue mode, it just doesn't appear to find the
> partition at all.
>
> Could it be something related to VMs or just that I could be missing
> something? Back to the issue I have had with seeding where it stopped at
> finding the 'root file system', wonder if it was not an issue with my
> preseed.cfg but something else (VM-related, installer (?)).

The wheezy and squeeze installs that I ran with your preseed file were
VMWare VMs.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=sxby4atahijtk7nqktg0jglbjdadxudvowuqiqmu81...@mail.gmail.com



Decoding QR

2013-03-19 Thread Urs Thuermann
I have searched the Debian repository for packages to decode QR codes
but haven't found anything suitable.

I often take photos of QR codes e.g. with my SLR camera, saving them
as JPG, that I want to decode later on my Debian machine.

I'd like to have a simple command line tool that I can call with a JPG
image file as argument and that searches the image for a QR code,
decodes it and prints the decoded text to stdout.

I have tried with libdecodeqr-examples and libdecodeqr0 but that seems
to be only able to decode the example JPG file from that package.  All
of my images from the SLR were not recognized.

I haven't installed libdecodeqr-dev since that seems to have
completely ill dependencies.  It wants to install 50 new libs of 64 MB
size, ranging from font libs, to firewire communication, computer
vision (openCV), lots of X11 libs, XML, regexps, and lots of other
stuff, that haven't much to do with QR codes.  I don't want to capture
from image devices, I don't want to display QR codes, I don't want any
GUI, X11.  Just decode QR codes in JPG files.

Isn't there anything in Debian for that purpose?

urs


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/ygftxo73g09@janus.isnogud.escape.de