2014年1月2日星期四

[Android] How to CUPS ported to ARM on ?

I have compiled a CUPS .
On the PC make install generates cups folder.
then copied to this folder on the SD card , the card is mounted on the board of / mnt / sdcard

then execute :
cp-R / mnt / sdcard / * /
copy the compiled files to the board

then test cups
lpstat-v
been an error : lpstat: Unable to connect to server

Check / var / log / messages, discovered the error is:
Real210 user.err telnetd: bind: Address already in use

I / etc / cups / cupsd.conf in the configuration is:
Listen 0.0.0.0:631
Listen / var / run / cups / cups.sock

View netstat-nal
did not find 631 ports occupied .

change cupsd.conf file is not the cups after transplantation can not do a simple copy ? That changed how specific transplant it?

------ Solution ------------------------------------ --------
cups service is not open ah , have to run / sbin / cupsd program , the landlord can run and I say , I have just compiled , but throwing error on the board. .
------ Solution ---------------------------------------- ----
Report : Child exited on signal 11 errors
I suspect I was not the time to compile what little steps
I was so compiled :
compiled version : cups1.4.6
compiler software : arm-linux-gcc4.3.3
steps:
1 rewrite makefile file , remove the man ( said they did not compile man folder ) .
2 / configure - host = arm-linux - prefix = / opt / cups
3 make
4 make install
not compile time error , then use u disk to / opt / cups directory copy it, paste it into tq2440 board yard, then run / sbin / cupsd, they reported Child exited on signal 11 errors , and service did it , how big God you are cross-compiling ?
------ Solution ---------------------------------------- ----
brothers Q can I add you do ?
------ Solution ---------------------------------------- ----

  
forget to cite you.  
not ah me a run on the error, did not even log file generated out of the god plus you. . I just want to see if I was not there would be any step or did not do on environmental issues ..
------ eference ------------------- --------------------


Indeed it is, I discovered a few days ago . Has somehow .

What do you wrong ?
------ eference --------------------------------------- < br> is not a configuration file is not set up :
[yourPath] / etc / cups / cupsd.conf
------ eference ------------------------- --------------
can be edited on the board .. / etc / cups / cupsd.conf
The LogLevel info
changed LogLevel debug . / var / log / cups / error_log
you can see in the detailed debug information
------ eference ---------------- -----------------------


forget to cite you.
------ eference --------------------------------------- < br>
    
forget to cite you.          
not ah me a run on the error, did not even log file generated out of the god plus you. . I just want to see if I was not a question of what steps did not do or the environment ..  

recently doing a professional comprehensive experiment, not how the .
fragmented summed up :
http://blog.sina.com.cn/s/blog_9da24f3b0101otng.html

没有评论:

发表评论