[cups.general] Someone Know The Error 127

ß10f@ ††K fabiosk at gmail.com
Wed Oct 8 12:07:50 PDT 2008


i try this way...but same error again....

thiagobraga_pre:/home/fabio/Desktop/cups-1.4svn-r7995 # patch -p0 < patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: client.c
|===================================================================
|--- client.c    (revision 8027)
|+++ client.c    (working copy)
--------------------------
File to patch: client.c
client.c: No such file or directory
Skip this patch? [y] n
File to patch: /home/fabio/Desktop/cups-1.4svn-r7995/scheduler/client.c
patching file /home/fabio/Desktop/cups-1.4svn-r7995/scheduler/client.c
patch: **** malformed patch at line 8: TLS */


2008/10/8 ß10f@ ††K <fabiosk at gmail.com>

> thiagobraga_pre:/home/fabio/Desktop/cups-1.4svn-r7995 # patch -p0 < patch
> can't find file to patch at input line 5
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |Index: client.c
> |===================================================================
> |--- client.c    (revision 8027)
> |+++ client.c    (working copy)
> --------------------------
> File to patch:
> Skip this patch? [y] n
> File to patch:
>
>
> 2008/10/8 ß10f@ ††K <fabiosk at gmail.com>
>
> o.O
>> how i use this patch?
>>
>> 2008/10/8 Michael R Sweet <msweet at apple.com>
>>
>>> ß10f@ ††K wrote:
>>>
>>> > # ./configure
>>> > ....
>>> > checking openssl/ssl.h usability... yes
>>> > checking openssl/ssl.h presence... yes
>>> > checking for openssl/ssl.h... yes
>>> > checking for SSL_new in -lssl... yes
>>> >     Using SSLLIBS="-lssl -lcrypto"
>>> >     Using SSLFLAGS="-DOPENSSL_DISABLE_OLD_DES_SUPPORT"
>>> > ....
>>> > # make
>>> > .....
>>> > client.c: In function 'encrypt_client':
>>> > client.c:3096: error: 'SSL_OP_DONTS_INSERT_EMPTY_FRAGMENTS' undeclared
>>> > (first use in this function)
>>>
>>> Sigh...  The following patch fixes this:
>>>
>>> Index: client.c
>>> ===================================================================
>>> --- client.c    (revision 8027)
>>> +++ client.c    (working copy)
>>> @@ -3093,10 +3093,9 @@
>>>
>>>    SSL_CTX_set_options(context, SSL_OP_NO_SSLv2); /* Only use SSLv3 or
>>> TLS */
>>>    if (SSLOptions & CUPSD_SSL_NOEMPTY)
>>> -    SSL_CTX_set_options(context, SSL_OP_DONTS_INSERT_EMPTY_FRAGMENTS);
>>> +    SSL_CTX_set_options(context, SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS);
>>>    SSL_CTX_use_PrivateKey_file(context, ServerKey, SSL_FILETYPE_PEM);
>>> -  SSL_CTX_use_certificate_chain_file(context, ServerCertificate,
>>> -                                     SSL_FILETYPE_PEM);
>>> +  SSL_CTX_use_certificate_chain_file(context, ServerCertificate);
>>>
>>>    bio = BIO_new(_httpBIOMethods());
>>>    BIO_ctrl(bio, BIO_C_SET_FILE_PTR, 0, (char *)HTTP(con));
>>>
>>>
>>>
>>> --
>>> ______________________________________________________________________
>>> Michael R Sweet                        Senior Printing System Engineer
>>>
>>> _______________________________________________
>>> cups mailing list
>>> cups at easysw.com
>>> http://lists.easysw.com/mailman/listinfo/cups
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cups.org/pipermail/cups/attachments/20081008/bbdc5da5/attachment-0001.html>


More information about the cups mailing list